Xcode 4: My iPhone projects have become Mac OS projects.. and I can't change this

蹲街弑〆低调 提交于 2019-12-03 11:53:46

You need to change your build settings. Fortunately, this is really easy to do.

Start by clicking on your project's name in the Project Navigator.

Now, click on your Project Name as it comes up in the list. (You may need to do this for your build as well.)

Next, click on Build Settings. Finally, you should be able to change your Base SDK to the appropriate one.

Note that you might need to repeat steps 3 and 4 after selecting your Target in the screen shown below.

Have you restarted Xcode since the upgrade? Often times Xcode 4 seems to need to be restarted after SDK changes.

I didn't face any issues opening the projects in Xcode 4 which are built in Xcode 3. However there can be wired issue with the Xcode 4 you are using. Try resetting the architecture to armv6 or armv7 and base SDK to latest iOS SDK using the build settings. Also set the deployment target properly. This should allow you to run the application in Xcode 4.

Also, try uninstalling the xcode and install Xcode 4 again. This should fix the wired issue you have with your xcode 4.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!