Sorry for cross-posting, but this is really holding me up…
I think this is the one phase of development that needs a clear step-by-step somewhere on the site.
For a company (Apple) that strives to make things easy, they sure seem intent on making developing for the iPhone as complicated as it can possibly be.
I’ve built my app, it runs fine on my device, so I’m satisfied that it’s ready for the AppStore.
So I “Build for iOS” and then I’m told it’s good to go to the AppStore. So I start the process and I get the following errors:
Users/(me)/Desktop/(appname).app is not a valid location for the app. It must be at the top level of the archive.
The CodeResources file must be a symbolic link to _CodeSignature/CodeResources. Make certain that the bundle is on a locally-mounted volume (not a re… (the rest is cut off)
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate.
I tried to take care of #1 by moving the app to the root of my hard drive, but that didn’t work…not that I expected to. But I don’t really get what it’s complaining about here. If it wanted the app to be in a certain place, why didn’t it just put it there???
With the latest daily build, Corona now runs Apple’s validation tool. Does the build pass the validation tests and present you the Upload to App Store button?
Are you uploading the .zip file we create for you and pass to Application Loader? You might try completely deleting both the .app and .zip and try a clean build.
Have you opened up the zip or .app bundle and checked if the contents are okay? Did you look for the symlink its complaining about? Perhaps you could also try zipping up the bundle yourself in case something broke when we tried zipping it for you.
Did open the zip, and I’m not sure exactly what it’s supposed to look like…I’m a PC guy normally, and have never done an App Store submission, so this is new material for me.
I *did* notice that the full path to the archive was stored in the zip…so you open the zip, click “users”, then me, then “desktop”, and then you see appname.app … probably the first thing it was complaining about.
So the last thing I tried just now was building using the distribution provision, but not running App Loader when prompted. I then delete the zip it created and archive the app myself. This looked pretty promising, but then I got this error message:
“This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK.”
!@!!^$^%@!!@$
Good thing I’m bald already…I would have already pulled my hair out!
Did you install a beta version of Xcode at some point? In Terminal.app, please run the command:
xcode-select -print-path
The path should match to the stable version of Xcode 3.2.5 with the 4.2 SDK. If it doesn’t you need to fix this.
Are you building a Universal iPhone/iPad binary?
If you try creating a simple HelloWorld and uploading it to the App Store as your app (then reject the binary so Apple won’t review it), will the binary submit?
I didn’t install beta Xcode…I just recently updated my MacBook to the latest OS so I could install Corona, and then this weekend I installed the latest Xcode. The Help->About box says 3.2.5.
Running the xcode-select -print-path shows:
\Developer
Is this where Xcode normally lives?
But you may be on to something here…all my old stuff from OS 10.5 is still in there.
I was building just for iPhone.
So should I nuke Xcode and re-install, or would you take less drastic measures?
/Developer is the default case for Xcode 3.2.5 so that looks right.
Since you installed Xcode over the weekend, I’m going to speculate that your Xcode is installed correctly. You could try reinstalling it (there is a remove script inside the Xcode directory…see Apple’s notes on that), but I don’t expect any change. However, if you have time to kill, it probably won’t make things worse.
I think you should try uploading a simple hello world like example just to see if it will take.
Finally, I think maybe you should file a bug with us and attach the .zip we create, zip up the .app yourself and attach that, and send us your entire project so we can try to build it and reproduce it. When you do this, please post the bug number here so I can track it.
I have submitted the bug, and attached my entire project (which isn’t much…it was more about seeing the process in action than actually doing something big.)
Also, building “hello world” has the same behavior.
And I checked, it doesn’t look like I have any other version of the SDK even installed. I built this iOS app from the OpenGL template just after installing Xcode.
I’m wondering now if the SDK message isn’t a red herring…maybe the true problem is still with the archive, not the SDK.
Would you try Corona build 268 (current stable)? We just got a report about sqllite being broken in the current daily’s. It seems a large chunk of data is missing from the binary in iPhone-only builds. I’m wondering if its related to your problem. 268 doesn’t seem to exhibit this problem.
[import]uid: 7563 topic_id: 6516 reply_id: 22831[/import]
I seem to get the same exact problem on build 300.
I still get this message with 268
Users/Leo/Desktop/BeatTheWorldRecordC.app is not a valid location for the app. It must be at the top level of the archive [import]uid: 8192 topic_id: 6516 reply_id: 24402[/import]
I’m getting this same error. I’m trying to upload my iPad-only app and I get the same two error messages. I have Xcode 3.2.5, never installed a beta.
I’m using Corona SDK 2011.318 (2011.1.20
During build in Corona, the last message I see is:
2011-03-25 12:01:19.480 Validation[68900:903] *** Warning: Defaulting to the standard codesign tool
I tried throwing away the .zip file that Corona created and zipped it myself and submitting through the Application Loader. It worked!!
So, is there some problem with the way you’re zipping it? [import]uid: 9905 topic_id: 6516 reply_id: 29515[/import]