lost all my targets in my xcode project
Newbie error: I erased all all the stuff under targets in my project. How can I rebuild/recover them? I can't compile or do anything and it also says I its missing the base SDK. Hel开发者_JAVA技巧p
You may well be better off creating a new project with the same name, and copying over all of your classes back into that. It shouldn't take long.
To add a target, right-click the Targets icon in the "Groups and Files" pane, and click Add...
To set the Base SDK, go to the Projects menu, and click Edit Project Settings. In the window that pops up, click the "Build" tab. In the "Architectures" section, set the "Base SDK" to "Latest iOS..."
Good luck!
精彩评论