Question

I'm trying to run my app on iOS simulator; it says its loaded and running, and I see the simulator, but don't see an icon for my app.

How do I fix this?

Some background:

  • Initially, app wasn't running because of the error 'Couldn't find Info.plist file' file. So I removed this file from Build Phases -> Compile Sources

  • Also, I now see 'InfoPlist.strings' in red color under >Pages.

UPDATE

I was able to undo the Plist file deletion, but still getting error that the file InfoPlist.strings can't be found because it doesn't exist.

I think there is something fishy in code above from .xcodeproj file below.. grateful for advice.

RELEVANT CODE FROM PROJECT.XCODEPROJ FILE

/* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en;    path = en.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };

/* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = SOURCE_ROOT; };
Was it helpful?

Solution

It is because you delete .info because info plist file may content info related to your application icons and application name

This file is load application name and icons now you delete this file so it not able to load application name and icon name

if you find error "Couldn't find Info.plist file" than refer this links

can't find info.plist in xcode 4

Adding Info.plist in a XCode project

these may help you some how but don't delete info.plist

now crate new project and copy info.plist and add in you current project. or you can recreate info.plist file by refering this link How to regenerate an iPhone Xcode info.plist file hope this may help you.

OTHER TIPS

Try deleting your app from the simulator and cleaning your project and last rerun your app.

Try cleaning your project and rebuild it, and make sure that the icon is still exist in the bundle resources via the settings.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top