Lion OS X

I am a iphone developer and used to write for the iphone using xcode and made my first iphone app with corona sdk in only 1 night. I only required me to reuse a few lines of code over and over. Anyways, I was working on a app and I finished up and was ready to build it. But it wasn’t working on the build. I got a error that the iOs SDK that it is missing copying
I am on the new preview of xcode for lion [import]uid: 39840 topic_id: 12023 reply_id: 312023[/import]

Please see this thread;
http://developer.anscamobile.com/forum/2011/06/08/do-not-build-using-xcode-ios-5-beta

Also, I noticed you made this thread twice, slightly different each time. The old one is deleted. Next time, use the edit button.

Please read the forum rules and guidelines; http://developer.anscamobile.com/forum/2011/05/05/forum-rules-and-guidelines

Peach Pellen [import]uid: 52491 topic_id: 12023 reply_id: 43875[/import]

Did you try Xcode 4.1 instead of 4.2 beta?

I inadvertently jumped the gun and am running Lion GM along with Xcode 4.1 Developer Preview 7 on my MacBook Air 11.

I am having issues with anything in the build.settings file that refers to the iphone = { plist = { } } section.

This is what my build.settings file is:
[lua]settings =
{
orientation =
{
default = “landscape”,
supported =
{
“landscape”,“landscapeRight”,“landscapeLeft”
},
},
iphone =
{
plist =
{
UIApplicationExitsOnSuspend = false,
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
UIAppFonts =
{
“CustomFont1.ttf”
}
},
},[/lua]

It crashes within the first few seconds during the build process with the following messages:
Using additional build settings from: /Volumes/Personal/Projects/Apps/TopSecretGame/app/build.settings
2011-07-05 09:07:05.786 defaults[18353:f07]
There is no (ContentOrientation) default for the (/Volumes/Personal/Projects/Apps/Payload/TopSecretGame.app/Info) domain.
Defaults have not been changed.
2011-07-05 09:07:05.790 defaults[18353:f07]
There is no (ContentOrientation) default for the (/Volumes/Personal/Projects/Apps/Payload/TopSecretGame.app/Info) domain.
Defaults have not been changed.
2011-07-05 09:07:05.819 defaults[18354:f07]
There is no (UISupportedInterfaceOrientations) default for the (/Volumes/Personal/Projects/Apps/Payload/TopSecretGame.app/Info) domain.
Defaults have not been changed.
2011-07-05 09:07:05.829 defaults[18354:f07]
There is no (UISupportedInterfaceOrientations) default for the (/Volumes/Personal/Projects/Apps/Payload/TopSecretGame.app/Info) domain.
Defaults have not been changed.

If I completely remark that area, Corona builds the executable. BTW, I’m using daily build 562 and all my devices are still running 4.3.3, not 5.0. So, technically I’m not running the Xcode iOS 5 beta as Carlos warned, but I am on 4.1 Developer Preview. [import]uid: 6084 topic_id: 12023 reply_id: 43890[/import]

My builds never started. I instead installed the beta 2 and it still didn’t work so I thought I was stuck. And I am, my computer has too much important data on it that I can’t remember everything. Will corona make a new build [import]uid: 39840 topic_id: 12023 reply_id: 43925[/import]

Just re-install the old Xcode 4.0.2 and iOS SDK 4.3 [import]uid: 8366 topic_id: 12023 reply_id: 43926[/import]

I tried but it won’t install it says I need a older verison of OS X [import]uid: 39840 topic_id: 12023 reply_id: 43929[/import]

OS X Lion will only allow installations of Xcode 4.1 for iOS SDK to 4.3.3 and 4.2 beta to iOS 5.0. I thought I’d be in the clear by not using Xcode 4.2, but looks like it’s not even working for 4.1 either.

Something must have changed, so I do hope Carlos & Crew come up with something soon. [import]uid: 6084 topic_id: 12023 reply_id: 43936[/import]

Lion + Corona NO MIX

Lion official release does not work on XCODE 4.0.2 so I had to upgrade XCODE to 4.1

When I try to build any sample app in corona the ones they come with the corona app for device or xcode sim it fails with the same error:
It only works in corona sim

I’m in trial thanks god I didn’t buy this sdk

Copyright © 2009-2010 A n s c a , I n c .
Version: 2.0.0
Build: 2011.484
The file sandbox for this project is located at the following folder:
(/Users/slim-mer/Library/Application Support/Corona Simulator/Tilt-Monster-1B183DFEC6F45A93B98F0E0F3AB5992D)
WARNING: Disabling the idle timer reduces battery life on the device. Also, there is no timer on the simulator
WARNING: Accelerometer events are only available on the device.
WARNING: Accelerometer frequency on iPhone must be in the range [10,100] HzDifficulty: Medium
WARNING: Disabling the idle timer reduces battery life on the device. Also, there is no timer on the simulator
Using additional build settings from: /iOS/Tutorials/Tilt-Monster/build.settings
2011-07-23 02:35:24.842 defaults[6924:f07]
There is no (ContentOrientation) default for the (/Users/slim-mer/Desktop/Tilt-Monster.app/Info) domain.
Defaults have not been changed.
2011-07-23 02:35:24.843 defaults[6924:f07]
There is no (ContentOrientation) default for the (/Users/slim-mer/Desktop/Tilt-Monster.app/Info) domain.
Defaults have not been changed.
2011-07-23 02:35:24.853 defaults[6925:f07]
There is no (UISupportedInterfaceOrientations) default for the (/Users/slim-mer/Desktop/Tilt-Monster.app/Info) domain.
Defaults have not been changed.
2011-07-23 02:35:24.855 defaults[6925:f07]
There is no (UISupportedInterfaceOrientations) default for the (/Users/slim-mer/Desktop/Tilt-Monster.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>

[import]uid: 77022 topic_id: 12023 reply_id: 46857[/import]

Please go to this other thread:
http://developer.anscamobile.com/forum/2011/07/13/will-corona-work-os-x-lion
[import]uid: 7563 topic_id: 12023 reply_id: 46871[/import]

Hi

Thanks I did before posting my issue.

It finally worked but only after I edited the build.setting and removed the whole section of the iphone plist[… etc]

I wonder why.

[import]uid: 77022 topic_id: 12023 reply_id: 46920[/import]

You didn’t read the other thread very carefully. From the other thread:

  • The latest Daily Builds (subscribers only) work on Lion.
  • Lion requires Xcode 4.1+ with all the tools (e.g. Unix tools) installed
  • The current Corona stable (484) may fail to build for devices on Lion. Our next stable release is planned for Aug 2.
    [import]uid: 7563 topic_id: 12023 reply_id: 46975[/import]

I had this issue but downloaded the daily build as stated and it seems to run and publish fine on Lion!

:slight_smile: [import]uid: 21298 topic_id: 12023 reply_id: 47003[/import]