Error Received when Building iOS app...

Hi @dev606,

Oops, you’re correct… I was thinking something else with the XCode/iPhone5 version compatibility.

But, is there a reason you’re using Build 1053 and not 1076? And why are you unable to use XCode 4.6 at this time?

Regards,

Brent

Yes, I can upgrade to 1076, still use 4.5, do you mean this can fix the problem?

Thanks. 

Hi @dev606,

I’m not 100% positive it will fix the problem, but please try using 1076 and report back if the issue persists.

Thanks,

Brent

hi, I tried to install 1100 and build again, still it showed: 

warning: The CodeResources file is missing and it must be a symbolic link to _CodeSignature/CodeResources.  Make certain that the bundle is on a locally-mounted volume (not a remote SMB volume), and be certain to use the Mac OS X Finder to compress it (-19062)

warning: iPhone/iPod Touch: application executable is missing a required architecture.  At least one of the following architecture(s) must be present: armv6 (-19033)

So what can I do?

Hi @dev606,

Just curious, are you trying to build to an external drive or something? If you open up the basic Corona sample “Hello World”, can you build that directly to your Desktop or not?

Also, what version of OS X are you using?

Brent

I am just building it to the Desktop path, not external drive. I can build the Hello World to Desktop without problem. 

Again, I did build the same project with the same setting without problem before… I don’t know what is changed in the build process that generated those errors…

Also, I am using OSX 10.7.5, thanks. 

Hi @dev606,

Just so I’m clear on this: you can build “Hello World” to the Desktop using the exact same App ID and provisioning profile, Corona build #, etc.? But with the app you’re having trouble with, it throws those errors?

Can you try creating a new provisioning profile with Apple? Perhaps an Ad Hoc one instead of Development? I personally don’t have any problems with either type, but there seem to be isolated issues reported occasionally.

Are you using a “wildcard” App ID, or an explicit one?

Brent

I think what you are telling is not useful… why don’t you look at the warning message?

Where does Corona store the temporary files while building?

How can I set the architecture for iOS device?

Hello @dev606,

Of course I read the warning message. I’m trying to figure this out by eliminating the “nots” and focusing on the “could be(s)”.

So here is the next approach. If you can build “HelloWorld” and not get the error, but you get the error with another project using the same exact provisioning profile, you should check the build.settings file. The message you’re getting is a cryptic message from Apple’s App Verifier. In previous testing, plist errors or illegal characters in any of the plist fields will generate errors that seem totally unrelated to the problem.

So, please check the build settings carefully. I suggest you even copy the build.settings file from “HelloWorld” into your project and see if the issue goes away. If so, you can troubleshoot what’s causing the problem in the file.

Brent

Finally I managed to fix this, I found there are 2 info.plist files in the output binary, this is due to the .app file is added back to the project directory, so when Corona build it, it also include this .app file and so there are 2 info.plist files, this caused this error message. 

Thanks for your help!!