issue with info.plist file on iPhone
issue with info.plist file on iPhone
- Subject: issue with info.plist file on iPhone
- From: Dennis Christopher <email@hidden>
- Date: Thu, 18 Feb 2010 14:45:32 -0500
I'm working with Xcode 3.1.4 and iPhone3.1.3 device SDK (but I had the
same trouble with 3.1.2 and earlier SDK.)
I'm building an app that responds to a custom url, e.g. myurl://. I've
never got the url behaviour to work on the device but it works in the
simulator.
The first symptom was a build for device error of "object file format
invalid or unsuitable". If I simply press Build again, it succeeds.
But then it won't run (Info.plist specifies "a bundle executable that
doesn't exist")
Looking at the built binary on my mac I see that the contents contain
"Info.plist" but this file doesn't have the URL types entry!--
which accounts for why it doesnt work on the device, probably. (I
double-checked the info.plist entry in the Build settings - this is
the right file)
So I took the LaunchMe sample project, and built it ok. It's URL type
does appear in its build binary, and it works on the device.
I conclude from this that my certificates are ok - the same cert, a
wildcard, is used for both apps.
I've tried cleaning the target, restarting Xcode, removing the
info.plist from the project and re-including it, etc.
Finally, I tried including the info.plist file from LaunchMe in the
first project, editing just the URL type entry.
Still doesn't build and run.
Any suggestions would be most welcome..
Dennis Christopher
_______________________________________________
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