Re: XCode 5 New Project Woes
Re: XCode 5 New Project Woes
- Subject: Re: XCode 5 New Project Woes
- From: Dave <email@hidden>
- Date: Thu, 03 Oct 2013 17:47:50 +0100
On 2 Oct 2013, at 20:46, Fritz Anderson <email@hidden> wrote:
> On 2 Oct 2013, at 4:45 AM, Dave <email@hidden> wrote:
>
>> I created a new project in XCode yesterday. All was fine until I added a couple of source files, now I get a lot of very weird seemingly non-related errors:
>>
>> Test1-Prefix.pch' file not found
>>
>> The file “InfoPlist.strings” couldn’t be opened because there is no such file.
>>
>> Base.lproj/Main.storyboard: Interface Builder could not open the document "Main.storyboard" because it does not exist.
>>
>> Images.xcassets: None of the input catalogs contained a matching app icon set named "AppIcon".
>>
>> The app complied ok yesterday, but now I get these weird errors. All the files mentioned above are in the project and in the file system. I can open then from XCode without problems.
>>
>> Any ideas how to fix this would be appreciated!
>
> If I were dealing with this, I'd be curious to know what the File inspector (open the Utility area on the right, first tab in the upper portion) thinks is the location of those files. This probably won't help, but it's due diligence. If the paths relative to the main project directory are not simple, try using the Location popup and the file-folder button next to it to reinforce the correct location.
>
> The next thing I'd try is the equivalent of unplugging it and plugging it back in: Close the project and use the Projects organizer (sh-cmd-2, second tab) to delete the derived-data directory. Reopen the project, build, and see if the problem persists. The derived data gets more write, create, etc. action than the project file, and is the likelier candidate for corruption. Next, I hope you have a recent backup of the project file.
In the end I created a new project, added all the files again and all is now well! I'm wondering if it is something to do with the Mac going to sleep with XCode 5 open. I did notice that I'd left it open from the day before. I've done this loads of times with XCode 4, but maybe there's something different in that area in 5?
Cheers
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden