Annoying warning when building for device.

With a brand new project (from Corona’s game template), I always get these warnings:


Copyright © 2009-2011 A n s c a , I n c .
Version: 2.0.0
Build: 2011.704
The file sandbox for this project is located at the following folder:
(/Users/sdansereau/Library/Application Support/Corona Simulator/MyGame-4BE53B90D6D7B85B43DD00FCCD01D966)
Using additional build settings from: /Users/sdansereau/MyGame/build.settings
2012-03-20 11:41:34.587 defaults[7693:607]
There is no (ContentOrientation) default for the (/Users/sdansereau/MyGame.app/Info) domain.
Defaults have not been changed.
2012-03-20 11:41:34.602 defaults[7695:607]
There is no (UISupportedInterfaceOrientations) default for the (/Users/sdansereau/MyGame.app/Info) domain.
Defaults have not been changed.

The build runs fine on device but I don’t like to have noise in my logs.

How can I fix this? [import]uid: 127438 topic_id: 23625 reply_id: 323625[/import]

Are you specifying supported and default orientations in build.settings? [import]uid: 52491 topic_id: 23625 reply_id: 95068[/import]

Yes. Here’s my build.setting file:

[code]
– Supported values for orientation:
– portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {

orientation = {
default = “portrait”,
content = “portrait”,
supported = { “portrait” }
},

iphone = {
plist = {
UIStatusBarHidden = false,
UIPrerenderedIcon = true, – set to false for “shine” overlay
UIApplicationExitsOnSuspend = true,

MinimumOSVersion = “3.2”,

UIInterfaceOrientation = “UIInterfaceOrientationPortrait”,

UISupportedInterfaceOrientations =
{
“UIInterfaceOrientationPortrait”
}

}
},

–[[ For Android:

androidPermissions = {
“android.permission.INTERNET”,
},
]]–
}
[/code] [import]uid: 127438 topic_id: 23625 reply_id: 95151[/import]

Thanks for that, will bring it up in our next meeting :slight_smile: [import]uid: 52491 topic_id: 23625 reply_id: 95191[/import]