You’re welcome!
[import]uid: 7022 topic_id: 1537 reply_id: 4485[/import]
Does this also mean that you can’t build for device (iPad) without the app crashing?
Unfortunately, I can’t. Crashes on startup. [import]uid: 4661 topic_id: 1537 reply_id: 4704[/import]
Currently, the Xcode iPad simulator is not supported in Beta 7. You should be able to build for the actual iPad device without any problems.
Are you having problems with the iPad build?
-Tom [import]uid: 7559 topic_id: 1537 reply_id: 4763[/import]
Tom - I did a bit more digging and it seems to relate to this issue I’ve posted as #1643
Cheers!
[import]uid: 4661 topic_id: 1537 reply_id: 4787[/import]
App Built for iPhone Refusing to Start in Xcode simulator and the iPhone 3GS.
App works only in Corona Simulator
Details
Beta 7 Corona
Xcode 3.2.3 iOS4.0.1 SDK
iPhone 3GS iOS4.0.1
Build for Xcode Simulator, 3.0
Compile Details for Simulator in Terminal
2010-08-11 23:13:30.438 Corona Simulator[23173:903] App Spec: specified by path /Users/kori/Desktop/TestGame.app
2010-08-11 23:13:30.442 Corona Simulator[23173:903] Version ((null)) not found. Using default root.
2010-08-11 23:13:30.442 Corona Simulator[23173:903] SDK Root: path=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk version=4.0 name=Simulator - iPhone OS 4.0
Compile Details for Device
[import]uid: 6066 topic_id: 1537 reply_id: 4794[/import]
@fdi777, do you mean that any app you build won’t work, or a specific one? Can you send sample code to support@? [import]uid: 54 topic_id: 1537 reply_id: 4795[/import]
I will do a bit more tests tonight and get back with some code. I think any code won’t work. It is not giving any crash bugs in the organizer console log either.
But it works in Corona Simulator. So maybe it is my phone. I will test it on another phone and see.
My phone has 4.0.1 maybe that is the issue? [import]uid: 6066 topic_id: 1537 reply_id: 4801[/import]
Is there anything in the system Console? [import]uid: 54 topic_id: 1537 reply_id: 4804[/import]
I opened an internal case #636 to investigate, btw. [import]uid: 54 topic_id: 1537 reply_id: 4805[/import]
Please disregard the bug.
I have realised what the issue is.
When “require” an external file, the file name needs to be the same.
Hence, if the file is gamescreen.lua, then you must require “gamescreen”. If you put “GameScreen”, it would work in Corona, but not anywhere else.
Would be good if the require becomes more explicit in the pre compile check. [import]uid: 6066 topic_id: 1537 reply_id: 4825[/import]
Thanks for the catch. We will make sure to document this
Thanks
Carlos [import]uid: 24 topic_id: 1537 reply_id: 4837[/import]