I finally paid for a developer account so I can start testing my app on my iphone, after many months just using the simulator, and I'm having trouble getting something to work.
My app uses code from
this demo to display a map, and the problem seems to arise from the
three20 files. When I build the app for the simulator, everything works fine. When I build it for "device" it fails with the error code:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
Clicking on the more info button, it says it can't find the libThree20Network.a and libThree20Core.a files... it's looking for them in the directory:
[my projects folder]/three20/Build/Products/Debug-iphoneos/libThree20Core.a
Looking in the three20 folder, the two missing files are in "Debug-iphonesimulator" instead of "Debug-iphoneos" folder. I tried switching the name of the folder, but that resulted in many more errors. No simple fix there.
Sigh... And just using the simulator seemed so simple!
Can anybody lend their expertise to help me figure out what I'm doing wrong?