-
Trouble getting started
To export to test in xcode, is it as simple as:
1. Set build type to ios xcode project
2. build
3. put zip file on the mac
4. extract
5. open in xcode
6. In xcode, goto Product -> Run
7. IOS simulator appears showing your game/application
This is what I've done and the ios simulator shows a blank screen. Xcode shows no errors or any indication anythings wrong. Ive tried another application, unistalling and reinstalling MM2 Dev, and also tried building in MMF2 from another pc.
What am I doing wrong??
-
Which version of xCode are you using and what iOS version are you building for?
-
xcode 4.6.1, im testing with the ios simulator 6.1.
-
Try setting your project to Xcode FINAL project if you aren't already.
-
OK cool, I done that, now I'm getting the following message:
"Thread 1: EXC_BAD_ACCESS (Code=2, address=0x0)" on xcode. Does anyone know what this means?
-
Can you post the console log? It's the bottom right frame in this example screenshot which says "All Output" - http://bencollier.net/wp-content/upl...t-22.36.27.png
-
-
Can you try installing the latest release of the iOS exporter? You will need to go to settings on these forums (up the top right of your screen next to log out), scroll down to add products and enter your iOS serial and save.
Then go to this thread and download and install the latest iOS exporter - http://community.clickteam.com/threads/79713-Build-257-9
-
ok, done that, no difference (https://dl.dropbox.com/u/53463002/xcodescrn.jpg). Has anyone ever seen this before?
-
Hmm, I'm not sure sorry :( Someone from Clickteam will probably know more. If you are using any frame transitions or shaders I'd try removing those. Even if you make a simple application with just a single active object, no extensions or anything, and see if that works.
-
so ive created an simple app wih just an active object bouncing around the screen.
I've built it as an xcode final as advised previously, and now with testing this one, the simulator shows nothing, just a blank screen. I noticed on xcode's status up the top says "Finished running <app name> on iPad Simulator". I'm really startin hate on this eh, should be so much easier..
Can you please do the same thing and see if it works for you..?
-
Do you have a device you can test it on? Also, if you can try a Build -> Clean in xCode. And also, in the simulator before building again go to the home screen (Command+Shift+H) and hold your mouse down on the app icon until it starts shaking and click the X to delete it from the simulator. Then rebuild again so it's doing a fresh install.
What type of mac are you running? Is it updated with all the latest graphic drivers etc.? If there are any sample xcode projects that come with xcode, maybe you can open one of those and see if you still get the blank screen. If it is still blank, then we can rule out MMF having problems.
-
There are a few things you can try:
1. Which version of the simulator are you using and is it compatible with the minimum iOS for your app?
2. Try changing the name of the bundle ID from com.clickteam.runtime to something else, eg com.clickteam.test and re-export from MMF2 with a different .zip name, eg myTest.zip - XCode can sometimes get a bit confused when trying to run an app that has the same bundle ID as something else on your device/simulator but a different app name (I assume you've already tried some other example on the simulator?), it will tend to overwrite the old one and then get confused.
3. Try deleting the app from the simulator, cleaning the build and deleting the derived data for that project in the Organiser and running it again
Good luck!
-
I yet again created a new one from scratch, and seemed to have worked. There must be something weird goin on with some of the apps ive made. if anyone can suss this out one day thatll be awesome (note: i have no sound in this game)
https://dl.dropbox.com/u/53463002/xcodescrn.jpg
-
Try removing the underscore from your app name, it could be something there. Also try step 2 from AyreGuitars suggestions.