How to change an Xcode 4 project as machine independent like Visual Studio or Eclipse

I am very surprised that I can not open my Xcode project on another Mac, I have never had such a problem with Visual Studio or Eclipse. I tried this Info.plist file and no such file. a mistake , but this is not enough.

I have other errors, such as MyAppViewController files, that are not found in any folder, while I checked that the files are actually there.

So, how do I change the Xcode 4 project so that it can be opened on any Mac?

Update: contrary to what is stated here, Duplicating / importing Xcode projects from one Mac to another is not enough copying [/ p>

Update 2: Should I buy such tools for this? http://itunes.apple.com/fr/app/project-duplicator-for-xcode/id467950482?mt=12

0
source share
3 answers

It is enough to copy files, if you copy all files and files from the project file do not refer to absolute paths.

Please note that you do not need to choose absolute paths. I'm not sure about the details, but I ended up with absolute paths in the projects without doing this explicitly.

For example, here is a project with a missing file:

Missing file in project

When I select the missing file, I see that it uses the absolute path:

Oops, absolute path!

At this point you have two options:

  • , , . , ; , Xcode DetailViewController.m SomeUnrelatedFile.m, . , , : ( ), .
  • , , . , , , , : . .
+6

, , , ; git, . , .

0

, Xcode , .

, .

... , bitbucket, .

0

Source: https://habr.com/ru/post/1755113/


All Articles