Problem with build.settings

Hey all,

Starting last night with a new app I’ve been working on I’ve had nothing but problems with my build.settings. I wrote it once and have been using the same file fine for other releaseded apps but something about this isn’t work at all.

The error: There is no (UISupportedInterfaceOrientations) default for the REMOVED domain.
Defaults have not been changed.
Runtime error
?:0: attempt to index a nil value
stack traceback:
[C]: ?
?: in function ‘?’
?: in function ‘?’
?: in function <?:434>

The code:

[code]

settings = {
orientation =
{

},
iphone =
{
plist=
{
UIApplicationExitsOnSuspend=false,
UIPrerenderedIcon = true,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,

},
},
},
}

[code]

Any help would be very much appreciated. Thanks. [import]uid: 23649 topic_id: 15808 reply_id: 315808[/import]

I think once you include the “orientation” element in your build.settings you need to put something inside of it.

Try replacing lines 2-5 above with something like this…

 orientation =   
 {  
 default = "portrait",  
 supported =   
 {  
 "portrait",  
 },  
  
 },  

Croisened [import]uid: 48203 topic_id: 15808 reply_id: 58457[/import]

Hey Thanks!

I can’t tell what exactly the problem was other than I solved it. Heh. I appreciate it though. [import]uid: 23649 topic_id: 15808 reply_id: 58469[/import]