Please help, can't build and (I think) have tried everything! :)

Hello,
I can’t manage to build for the iPhone anyhow. I double checked everything, like the space in the build path, the certificate and provisionning profiles but not luck.
Several things bother me like:

  • I don’t have “Open for build” in Coronoa Simulator but only “Open” (then I can build)
  • In the build dialog window there is no way to choose the iOS version (3 or 4)… only iPhone + iPad, iPhone only, iPad only
  • I can’t choose the ad hoc profile in the “code signing Identity” because it says that it’s not availbaible with the trial version.

If I decide to build for Xcode Simulator I get the following message when trying to upload to iPhone through xCode: “This provisioning profile does not have a valid signature (or it has a valid, but untrusted signature)”
And if I build for Device I get “The application does not have a valid signature”. And inside the package content, all the png file are 4kb and blank…

Here the Terminal Log for when building for Xcode Simultor:

Using additional build settings from: /Applications/Corona.268/SampleCode/Physics/Bridge/build.settings
2011-02-08 07:54:50.831 defaults[1119:607]
There is no (ContentOrientation) default for the (/Users/sebastianloix/Desktop/Bridge.app/Info) domain.
Defaults have not been changed.
2011-02-08 07:54:50.843 defaults[1120:607]
There is no (UISupportedInterfaceOrientations) default for the (/Users/sebastianloix/Desktop/Bridge.app/Info) domain.
Defaults have not been changed.
sh: line 2: Works/iOS_SDK: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/bamboo.png to /Users/sebastianloix/Desktop/Bridge.app/bamboo.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/board.png to /Users/sebastianloix/Desktop/Bridge.app/board.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/coconut.png to /Users/sebastianloix/Desktop/Bridge.app/coconut.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/Icon.png to /Users/sebastianloix/Desktop/Bridge.app/Icon.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/Icon@2x.png to /Users/sebastianloix/Desktop/Bridge.app/Icon@2x.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/jungle_bkg.png to /Users/sebastianloix/Desktop/Bridge.app/jungle_bkg.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/rock.png to /Users/sebastianloix/Desktop/Bridge.app/rock.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
mv: rename /Users/sebastianloix/Desktop/Bridge.app/icon.png to /Users/sebastianloix/Desktop/Bridge.app/Icon.png: No such file or directory
sh: Works/iOS_SDK: No such file or directory
/Users/sebastianloix/Desktop/Bridge.app: object file format invalid or unsuitable
2011-02-08 07:54:51.281 Corona Simulator[1088:903] App Spec: specified by path /Users/sebastianloix/Desktop/Bridge.app
2011-02-08 07:54:51.286 Corona Simulator[1088:903] Version ((null)) not found. Using default root.
2011-02-08 07:54:51.287 Corona Simulator[1088:903] SDK Root: path=/Volumes/Rocstor Works/iOS_SDK/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk version=4.2 name=Simulator - iOS 4.2


Here the Terminal Log for when building for Device:
Copyright © 2009-2010 A n s c a , I n c .
Version: 2.0.0
Build: 2011.268
The file sandbox for this project is located at the following folder:
(/Users/sebastianloix/Library/Application Support/Corona Simulator/Bridge-A914CDAED9E4277700285D6526038AF9)
Using additional build settings from: /Applications/Corona.268/SampleCode/Physics/Bridge/build.settings
2011-02-08 07:59:37.311 defaults[1227:607]
There is no (ContentOrientation) default for the (/Users/sebastianloix/Desktop/Bridge.app/Info) domain.
Defaults have not been changed.
2011-02-08 07:59:37.323 defaults[1228:607]
There is no (UISupportedInterfaceOrientations) default for the (/Users/sebastianloix/Desktop/Bridge.app/Info) domain.
Defaults have not been changed.
sh: line 2: Works/iOS_SDK: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/bamboo.png to /Users/sebastianloix/Desktop/Bridge.app/bamboo.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/board.png to /Users/sebastianloix/Desktop/Bridge.app/board.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/coconut.png to /Users/sebastianloix/Desktop/Bridge.app/coconut.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/Icon.png to /Users/sebastianloix/Desktop/Bridge.app/Icon.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/Icon@2x.png to /Users/sebastianloix/Desktop/Bridge.app/Icon@2x.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/jungle_bkg.png to /Users/sebastianloix/Desktop/Bridge.app/jungle_bkg.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
Compressing/copying PNG /Applications/Corona.268/SampleCode/Physics/Bridge/rock.png to /Users/sebastianloix/Desktop/Bridge.app/rock.png
sh: line 47: /Platforms/iPhoneOS.platform/Developer/Library/Xcode/PrivatePlugIns/iPhoneOS Build System Support.xcplugin/Contents/Resources/copypng: No such file or directory
mv: rename /Users/sebastianloix/Desktop/Bridge.app/icon.png to /Users/sebastianloix/Desktop/Bridge.app/Icon.png: No such file or directory
sh: Works/iOS_SDK: No such file or directory
/Users/sebastianloix/Desktop/Bridge.app: replacing invalid existing signature
/Users/sebastianloix/Desktop/Bridge.app: cannot find code object on disk

Thanks for any help, I’m struggling here… :slight_smile:
[import]uid: 29594 topic_id: 6223 reply_id: 306223[/import]

I don’t think you can build for the device with the trial version. [import]uid: 9371 topic_id: 6223 reply_id: 21364[/import]

Ok, I got it SOLVED!
I didn’t know that the “space bug” was also related to the SDK. When I installed xCode, I decided to put the 9GB of the SDK on my external disk, and the disk had a space in its name…
So even though my Corona project folder and my building path didn’t have any space, be sure that the iOS SDK path also don’t have a space!

>dweezil : yes we can build for the device with the trial version, but there is the trial version pop up that appears when we launch the app.

Great! Let’s start enjoying Corona… :slight_smile: [import]uid: 29594 topic_id: 6223 reply_id: 21372[/import]

Yes you CAN build to iOS device in trial version using developer provision. But you will have trial version pop up that appears when we launch the app.

“You can download a free unlimited trial of Corona SDK on Mac or Windows (Beta). This is a fully featured version and will allow you to develop apps and build them on your own device.”
http://developer.anscamobile.com/forum/2010/12/13/testing-real-iphone-trial-version-corona

As conclusion, if there is a space in…

  1. the building path (which is the “Save to folder:” textbox. I wonder why people call it “building path” because it is not very consistent, anyway… )
  2. or the directory where the Corona SDK resides (in case you put it in external hdd or something).

like “/Users/name/Desktop/Corona Builds”, you will get a blank screen and crash when you run the app on device.
[import]uid: 35267 topic_id: 6223 reply_id: 21620[/import]

Just want to clarify, in my case it was not the Corona SDK path, BUT the iOS SDK (when you install XCode), that gave me trouble.
cheers…
[import]uid: 29594 topic_id: 6223 reply_id: 21660[/import]