importing one Xcode project into another

2020-02-13 06:12发布

问题:

I am trying to import one of my xcode projects into another, and I was just wondering if there were some best practices for this task, or if anyone has any advice how to make this happen?

Thanks.

回答1:

Not sure exactly what you mean by import.

If you want to do a framework then you'll want this.

Framework Docs

If you want to do a shared library then you'll want this.

Shared Libs



回答2:

Just click on .xcodeproj file and it will be automatically opened in whatever version of xcode installed in your system and if the project was created in an older version just click on "Modernise Project" which you can find at the bottom of your xcode and xcode will take care of the rest.