As I wrote on the Beta 7 release thread, my game (built with Corona Beta 7) doesn't work in the iPhone simulator.
Is it possible that since I'm using Xcode with iOS 4, the build doesn't work for compatibility reasons?
Xcode 3.2.3 (64 Bit)
iPhone Simulator 4.0 (211.1)
Last lines in terminal:
1 2 3 4 | /Users/xxx/Desktop/xxx.app: object file format invalid or unsuitable 2010-07-30 16:41:39.306 Corona Simulator[29317:903] App Spec: <DTiPhoneSimulatorApplicationSpecifier 0x510de0> specified by path /Users/xxx/Desktop/xxx.app 2010-07-30 16:41:39.307 Corona Simulator[29317:903] Version ((null)) not found. Using default root. 2010-07-30 16:41:39.307 Corona Simulator[29317:903] SDK Root: <DTiPhoneSimulatorSystemRoot 0x563690> path=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk version=4.0 name=Simulator - iPhone OS 4.0 |
Eric you said that Xcode simulator build doesn't work for Xcode 3.2.3 with iOS 4, and I have it as most of us. ;)
Can you make it compatible with iOS 4 (in simulator)?
EDIT: My report and specs are the same OderWat wrote.
Eric,
I think all of us are obligated to be on Xcode 3.2.3 with iOS 4.0 according to Apple updating rules, so you should provide CORONA SDK according to that, shouldn´t you?
Flavio.
Well I think eric just made that observation.. not telling that this is the reason.
Obviously every developer was and is forced to upgrade to the newest versions of the developer environment.
If they did not test that... I am really disappointed :)
Oh! Okay... So I misunderstood.
Dunno... I really hope that they did not miss to test their stuff with the current Xcode... That would be very short sighted :)
i'm building an iPad app, not iPhone so its not 4.0
Well it is documented that it does not yet works for iPad currently!
oh, where do you see documentation for beta 7? i couldnt find any included with my download (the PDFs that were in the older versions are missing)
You find the releasenotes here... at the "bottom" it also lists some of the more important things about the new memory management:
http://developer.anscamobile.com/downloads/beta
Building for the Xcode Simulator only works for iPhone (3.0) builds. It does not yet work for iPad.
BTW: Still no style for "< quote>" ... tell it the forum admins!
Release notes. Under "Known Issues":
Building for the Xcode Simulator only works for iPhone (3.0) builds. It does not yet work for iPad.
;)
The issue with building for Xcode simulator for iPhone OS 4.0 is fixed. Note that this does indeed require Xcode 3.2.3, it will not work on 3.2.2 or before. This was a server change so you don't need to re-download. Please try again and let us know what you find out!
Perfectly working... thanks!
Am I missing something ?
My app doesn't launch and always return to the home screen in the xcode simulator...
I'm new to this tool, so maybe the error is obvious. Can somebody tell me please ?
The last lines in the terminal are :
2010-08-02 11:18:09.378 Corona Simulator[4381:903] SDK Root: path=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk version=3.0 name=Simulator - iPhone OS 3.0
Thanks in advance
@dklikinteractiv, what version of Xcode are you using? You need to use 3.2.3.
Hi
I try to build an Ipad Application for XCode Simulator with beta 7 but it quit immediatly when i try to lunch it on the simulator
this is my configuration
Version: 3.2 (10M2262)
Location: /Developer
Applications:
Xcode: 3.2.3 (1688)
Interface Builder: 3.2.3 (788)
Instruments: 2.7 (2529)
Dashcode: 3.0.1 (330)
SDKs:
Mac OS X:
10.5: (9L31a)
10.6: (10M2262)
iPhone OS:
3.2: (7B367)
4.0: (8A293)
iPhone Simulator:
3.2: (7W367a)
4.0: (8A293)
iPad apps don't work in Xcode simulator yet! Guys, you should always read the release notes when you download a new beta! ;)
ops.. I miss it .... thanks
You're welcome! :)
Does this also mean that you can't build for device (iPad) without the app crashing?
Unfortunately, I can't. Crashes on startup.
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
Tom - I did a bit more digging and it seems to relate to this issue I've posted as #1643
Cheers! :-)
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
@fdi777, do you mean that any app you build won't work, or a specific one? Can you send sample code to support@?
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?
Is there anything in the system Console?
I opened an internal case #636 to investigate, btw.
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.
Thanks for the catch. We will make sure to document this
Thanks
Carlos
I logged case #448, Xcode simulator build doesn't work for Xcode 3.2.3 with OS 4.0.
If you are having a problem with the simulator, please report:
- Xcode version (from about)
- Xcode Simulator version (from about)
- Any output in Corona Terminal
Thanks!