build - Building for iOS with Corona SDK: multiple binaries are created, causing "Invalid Bundle Structure" error from Apple -


i building app called 'toybox.

when build ios, toybox.app directory contains toybox executable , other typical ios-related files (info.plist, pkg.info, etc.), in addition app icons, assets , source code directories.

however directory contains toybox.app sub-directory, contains toybox executable , ios-related files , assets directory.

it looks corona recursively compiling app. happens whether build device or xcode ios simulator. there no problem running resulting executable on device (ipad4) or simulating in xcode when tried submit app app store rejected following error:

"invalid bundle structure - binary file 'toybox.app/toybox.app/toybox' not permitted. app may contain 1 executable file."

the error valid - there 2 executables!

(at risk of confusing issue, have another, seemingly related, issue: if build app (either device or xcode simulator) later build app different name, in same directory, second build include first build , build process take long time complete. if build app again third name, both previous app builds wold included , build take (very) long time).

i can work around issue deleting files, seems hack , i'd know what's going on.

i using corona version 2013.1087 (2013.4.17).

make sure not saving built app folder source code. cannot put output building app same folder source or error.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -