Thursday, October 01, 2009

The most annoying Xcode error ever: The Info.plist for application at (null) specifies a CFBundleExecutable of (null), which does not exist.

If you're developing an iPhone application in XCode and getting the error:
“The Info.plist for application at (null) specifies a CFBundleExecutable of (null), which does not exist.”
here's how to fix it:

In Xcode, choose "Executables" from the project hierarchy. Click your project executable then press Command-I. Choose the General tab and set the working directory to "Build Products directory".

This fixed the problem. The advisory from Apple did not help much, but did mention the Build Products directory. Under SDK release notes for iPhone OS 3.1, XCode/Developer Tools:

"Changing an iPhone Executable's working directory from “Build Products directory” may cause the application not to install properly with the error message “The Info.plist for application at (null) specifies a CFBundleExecutable of (null), which does not exist.”"
Hope this saves you a little time. It frustrated me for a while.

14 comments:

Anonymous said...

Thanks for the tip! I was getting frustrated.

Anonymous said...

this can also occur from dodgy values in your pbxuser file left over from old versions of the iphone sdk / xcode.. deleting it can also fix it.

I have had both types of this error and they have both wasted me a lot of time.

Thanks for the info on this one, it stopped me from completely pulling my hair out.

gh0nax heaVen said...

Thanks mate.
Your tip worked for me :)

Anonymous said...

this tip is golden. you saved me days of frustration. and i was not prepared to re install a new project. thanks.

Unknown said...

Omg thank you sooo much.

Rajeev singh said...

Thanks guys, This is good trick

Anonymous said...

Was about to throw the computer out of the window!

Anonymous said...

Thank you very much. Hopefully this blog entry gets moved to the top of the google search results for the next people! This is the correct fix!

Uli Kunkel said...

It always happens at the worst time too! So glad I found your post and was able to fix it straight away - thanks.

Anonymous said...

Opulently I agree but I about the brief should acquire more info then it has.

Anonymous said...

Thanks for the step-by-step - huge help!

Unknown said...

Thanks a lot for the help :)

Ibrahim said...

Thanks!!

Architek Mobile said...

Thanks, I think this has saved me hours of hunting around and hair pulling!