Game Development Community

Where the Torque.app goes when building for iOS?

by Amjad Yahya · in Torque 2D Beginner · 07/22/2013 (6:02 am) · 5 replies

I have built the iOS project on my MAC and can't seem to find the app.

When I run the project from within xcode it runs the sandbox in the iOS simulator.

In another words, how can I run my stand alone game from within the iOS simulator? In windows or OSX you simply copy torque2d to your project folder and run it from there, the case is different with iOS and I can't figure out how this is done.

#1
07/22/2013 (7:04 am)
When you run it in XCodes check the console it'll tell you where the app is usually in

~/Library/Application Support/iPhone Simulator/[version #]/Applications/[random looking name]/

Right click the app and show package contents. And I'm assuming if you start messing with this stuff you'll be able to do what you need to.
#2
07/22/2013 (7:15 am)
Somebody else asked this question a while back. Check out this thread:

www.garagegames.com/community/forums/viewthread/134362
#3
07/22/2013 (8:02 am)
That makes more sense actually otherwise you might overwrite changes and you wouldn't be able to push it to a device.

But if you wanted to test it without using Xcode you could just move stuff to the app directly and just keep the simulator open.
#4
07/23/2013 (4:42 am)
Thanks Mike & Anthony, that was very helpful indeed.

Another question: this ios thing is new to me, but, how do I submit to appStore, do I just hand them the .app package file only that resides in ~/Library/Application Support/iPhone Simulator/[version #]/Applications/[random looking name]/ ?
#5
07/23/2013 (8:11 pm)
You need to sign the app with a distribution provision (set in xcode project settings after you create one via the apple developer website) and then you can use the xcode option to archive for app store and I believe you can do all of that through xcode now, including uploading the build to the app store. You used to have to use application loader to upload it. So where its stored temporarily should not matter as far as that goes. The link you gave is for the simulator app (which is x86 based not arm based) so you need to do an iOS device build for submitting.

btw, I would highly recommend testing on device using a developer provision and not trying to use the simulator only or you may end up with a buggy app once it hits the app store.