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!
Related
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
I have two projects, one is in the Documents / Android Studio / Project folder, the other project is in the Documents / XCode / Project folder. That is, in both cases the folder is called "Project". I added the Android Studio project from the Android Studio to Github and successfully tested it. The versioning system works as it should. Next, I decided to add a project from Xcode to GitHub. I added a GitHub account in the Xcode settings. Xcode showed the projects available for my account. Next, I try to add a project to Github by clicking Source Control - Create Git Repositories. Xcode reports that all projects are already under the control of the versioning system. If I click Source Control - Commit, it looks like Xcode offers to commit for all project files to the same online repository called Project, which stores the project from Android Studio. I don’t understand what to do, because it is not recommended to rename the Xcode project. How to resolve this conflict?
Just create a new github repo at github (browser) by some other name. Then follow the instructions for pushing your project to it in the Terminal using the command line. Do not use Xcode for this or any other git related stuff.
Since upgrading to Unity 5.2 javascript (unityscript) files are not showing in the Monodevelop Solution explorer (see image below). Does anyone know how to resolve this issue?
I have fixed these same issues with the following steps.
Create Backup
Make a copy of your project folder in case something is mistakenly deleted.
Delete Scripting Files
In the root of your project folder, delete only the following files:
Files beginning with Assembly-
Files beginning with your project name, i.e. kickoff3d01
Sync Scripts
In the Unity Editor, go to Assets -> Sync MonoDevelop Project.
Locate in MonoDevelop
In MonoDevelop, they should be listed under Assembly-UnityScript.
I "checked out" an SVN repo. The repo contains a few Xcode projects and a workspace. I can open the workspace, build everything, run the app etc. If I make changes to any existing file they will be taken into account when building the app.
Now I want to add two new files to the workspace/project. I want to modify these files and when ready "commit" and "push" (I normally use git) the files to the repo. I added MyClass.h and MyClass.m to the Xcode project via right clicking on the appropriate group in Xcode and selecting "Add file to MyProject...".
The project won't build because MyClass.h can't be found. I also see a warning from the workspace that "MyClass.h is missing from the working copy".
How can I add files to an Xcode project under SVN version control?
I tried the suggestions here Xcode adding new files to existing project in svn but nothing works yet. For example when the files I just added to Xcode are selected the menu option "Add Selected Files" in the Source Control menu is greyed out.
I'm using Xcode 5.
As a work around, you can use smartsvn which has options for adding and removing files in Modify top menu
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