------------------------------
Message: 11
Date: Thu, 18 Feb 2010 14:45:32 -0500
From: Dennis Christopher <email@hidden>
Subject: issue with info.plist file on iPhone
To: XCode Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
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
------------------------------
_______________________________________________
Xcode-users mailing list
email@hidden
http://lists.apple.com/mailman/listinfo/xcode-users
End of Xcode-users Digest, Vol 7, Issue 88
******************************************