How to open existing flutter project from Xcode? - xcode

I have an existing flutter project, which coded with VS Code. Now I want to open it from Xcode to do some configurations in Runner.xcworkspace. But it was unable to open the project from Xcode and it shows the above warning. So, how can I open my existing project from Xcode now?

If you want to make changes in the Runner.xcworkspace and you are using VSCode, I would suggest you open the project in VSCode and Right-Click on the ios folder.
Here you will see an option: Open in Xcode.
Select that option and the iOS project of the Flutter project will open in Xcode and you can carry on with the changes as you want
One thing to note is that like Android Studio, Xcode is not supported for Flutter Development as of now so if you try to open the whole project it will not let you.

Note! Unlike Android studio, flutter isn't supported to XCode yet, you have to open iOS folder of Flutter project only and solely.
1- Open XCode
2- Select 'Open existing Projects'
3- Search your project through search bar in window or search manually through directory.
4- From your Flutter Project, open the iOS folder.
And here we go! You have opened it.

I successfully open the AppFrameworkInfo.plist file with Xcode as follows.
Open the project with Android Studio
Select the iOS > Runner folder
Navigate to Tools > Flutter > Open iOS Module in Xcode

Related

How to reload the project in xcode

I am using a CLI tool to add new folders and files in a Xcode Project but even though I am able to see it in finder, its not reflecting in Xcode.
And this image is the Xcode project view
As you can see the folder that I made using the CLI tool is not reflected in Xcode. How can I fix this?
Thanks in advance!

Xamarin Android Archieve is showing Empty

I want to create apk file using Xamarin in Visual Studio. I change build type to Release and I open the Archieve but I cant see anything in this screen. Help me please. Error Image
You need to archive your app fist then you can see those archive in the Archive Manager.
There are detailed steps about how to archive the app in the document:
Right-click the project in Solution Explorer and select the Archive... context menu item:

How to create .ipa file in visual studio 2017?

I am working on a Xamarin.Forms app. I can create the .apk file for Android by right-clicking on project and then click on Archive. I wonder how to generate the .ipa file for iOS using Visual Studio. If I right click on my iOS project, the Archive option is present, but it is disabled. I followed a few articles on this issue in few I found that connect to macOS on the remote. I don't want to run my project, only I need to generate the .ipa file which I will install on my iPhone. Please help me
There are detailed steps in Official document about how to create a .ipa file in Visual Studio 2017:
Read this document will help: creating-an-ipa
And here are documents about app-distribution: app-distribution
By assuming you've done all provisioning and mac connection(if don't see this article).
Set project configuration to Ad-Hoc or AppStore
Select iOS project as Startup Project
Right click and Build iOS project
At the end you'll have .ipa file in build folder({project location}/{project}.iOS/bin/Ad-Hoc/yourAppName.ipa)

View titanium code in xcode format

Is there a way to view the code typed in titanium in the xCode format? If so, which file should I check out under ProjectName/ProjectName.xcodeproj
This is the beauty of titanium that it uses the native code and you could run its project in xcode too.Double click on the ProjectName.xcodeproj and it would open your project in xcode and then you can run code from there
Thanks
In the build/iphone directory, you'll find an xcodeproj file.
Double-click it to open the project in Xcode. However, you might not
want to do your final build in Xcode. You'll lose internationalization
and perhaps other Titanium features that way. You can do you final
packaging in Studio. If they're not already installed into Xcode,
Studio will prompt you for your distribution certificate and
provisioning file. It will build your final IPA using the Build &
Archive equivalent of Xcode. You can use the Xcode Organizer then to
validate and upload the IPA. Or, use the
Developer/Applications/Application Loader tool to upload your IPA to
iTunes Connect
Reference : http://developer.appcelerator.com/question/122926/open-appcelerator-project-in-xcode

Cannot be open a Xcode project which is created by CMake

I have a C++ project which created in Visual Studio 2010 IDE. Now I want to continue my development in Xcode IDE with GCC in Mac Platform. So I created an Xcode project using CMake to continue my development.
But after I created Xcode project, I tried to open my project (by double-clicking .xcodeproj file), then It's saying an error message that is "Project /Users/../Desktop/MyProj/Build/MyProj.xcodeproj cannot be opened because the project file cannot be parsed".
What could I do to solve this problem? If anybody having some idea regarding this, please reply on this thread.
Xcode version: 4.6.3 CMake Version: 2.8-11
Problem could be in your CMakeLists.txt. Once you generated, you can open the .xcodeproj in a text editor and check for the incompatibility.
If you can generate the project files for other IDEs like Visual Studio, it must work.

Resources