[Resolved] Many Build errors related to the build.settings

hi all, i got this error while i try to build my App on the device…

[bash]
Using additional build settings from: /Users/Andrea/Desktop/lua projects/takethattomato-0.4 copia/build.settings
2012-03-21 12:04:53.111 defaults[640:f07]
There is no (ContentOrientation) default for the (/Users/Andrea/Desktop/lua projects/takethattomato-0.4copia.app/Info) domain.
Defaults have not been changed.
2012-03-21 12:04:53.112 defaults[640:f07]
There is no (ContentOrientation) default for the (/Users/Andrea/Desktop/lua projects/takethattomato-0.4copia.app/Info) domain.
Defaults have not been changed.
2012-03-21 12:04:53.127 defaults[641:f07]
There is no (UISupportedInterfaceOrientations) default for the (/Users/Andrea/Desktop/lua projects/takethattomato-0.4copia.app/Info) domain.
Defaults have not been changed.
2012-03-21 12:04:53.129 defaults[641:f07]
There is no (UISupportedInterfaceOrientations) default for the (/Users/Andrea/Desktop/lua projects/takethattomato-0.4copia.app/Info) domain.
Defaults have not been changed.
Runtime error
?:0: attempt to index global ‘NSDictionary’ (a nil value)
stack traceback:
[C]: ?
?: in function ‘?’
?: in function ‘?’
?: in function <?:419>
[/bash]

This is my build.settings:

settings =  
{  
 orientation =  
 {  
 default = "landscapeRight",  
 supported =  
 {  
 "landscapeLeft", "landscapeRight",  
 },  
 },  
 iphone =  
 {  
 plist =  
 {  
 UIAppFonts =   
 {  
 "actionj.ttf"  
 }  
 },  
 },  
}  

Thanks for your support! :slight_smile: [import]uid: 70929 topic_id: 23679 reply_id: 323679[/import]

What version of Corona are you using, what OS X and what version of Xcode is installed, please?

Also, have you built successfully before? If so, what has changed in that time? Any of the above? (Corona, OSX, Xcode) or your build.settings file?

Peach :slight_smile: [import]uid: 52491 topic_id: 23679 reply_id: 95115[/import]

Solved… just update Corona SDK… sorry for the useless post. [import]uid: 70929 topic_id: 23679 reply_id: 95117[/import]

Not a problem, others may see this and realize they have to update.

Glad you got it solved!

Peach :slight_smile: [import]uid: 52491 topic_id: 23679 reply_id: 95120[/import]

Hi again Peach, this is the first attempt to build something… i solved that issue updating corona but now i have some treble with the icon… i mean i need to put all the 2 icon or i can put just the retina one? And then i got this error to:


warning: iPhone/iPod Touch: Icon.png: icon dimensions (0 x 0) don’t meet the size requirements. The icon file must be 57x57 pixels, in .png format (-19014)
warning: iPad: Icon.png: icon dimensions (0 x 0) don’t meet the size requirements. The icon file must be 72x72 pixels, in .png format (-19014)
failed to extract requirements data: 1
/Users/Andrea/Desktop/Tomato.app: invalid signature (code or signature have been modified)
failed to extract entitlements: 1
AssertMacros: entitlements_requested, At least need an application-identifier entitlements file: codesign_wrapper.c, line: 880
- (null)

warning: Unable to extract codesigning entitlements from your application. Please make sure Tomato is a valid Mach executable that’s properly codesigned. (-19050)
/Users/Andrea/Desktop/Tomato.app/Tomato: invalid signature (code or signature have been modified)
- (null)

[import]uid: 70929 topic_id: 23679 reply_id: 95121[/import]

The first warning should be solved by updating Application Loader (we have a thread on that already).

The second one appears to be a codesigning error; are you certificates and provisioning profiles correctly set up and installed?

Peach :slight_smile: [import]uid: 52491 topic_id: 23679 reply_id: 95141[/import]

How to update the Application Loader?

Certificate and provisioning are ok. The provisioning profile is in the right folder. The only doubt i have is duing his creation i set “team id” because i didn’t had the “generate new” choice… Now i am waiting mu turn in hospital for sone analysys but when i came back i check all! [import]uid: 70929 topic_id: 23679 reply_id: 95162[/import]

Have you dealt with provisioning before? It can sometimes be a bit tricky. We do have a thread on the subject in the Device Builds sub-forum if you need it. (We also offer one on one help via Premium Support.)

For Application Loader, you must log in to iTC here; https://itunesconnect.apple.com/

Then click “Manage My Applications”.

At the bottom of that page will be a link to Application Loader - use that to download the latest version :slight_smile:

I hope your analysis goes well, hospitals can be crummy places. [import]uid: 52491 topic_id: 23679 reply_id: 95197[/import]

Peach,

I am seeing this original issue as well. I am using Corona .833, XCode 4.3.2. I have run in successfully in the past but can no longer make running builds. My build.settings file has entries for all of the error message but no luck. Any thoughts? [import]uid: 69863 topic_id: 23679 reply_id: 112046[/import]

Hey Christian - what build did you upgrade to 833 from and have you consistently had issues with 833, or have you had some working builds as well at any point? [import]uid: 52491 topic_id: 23679 reply_id: 112135[/import]