by Clokio » Sat Mar 03, 2012 2:06 pm
Here is the same on xcode 4.2
I dint got it to work until I created a apps ID with the name geapp.
You need a mac with intel processor that run show + 1 gig or ram, a mac mini will do (you can get a used one), you need to register for the dev program at apple. Pay the 99$. Download the xcode and install it. You will need a test device to sync with your iTune.
Go to your IOS dev center. On the right click IOS PROVISIONING portal.
On left Apps ID in the first box enter: geapp
the other one com.yourwebsite
Click submit.
That will be usefull later. Cause the geapp will force you to have geapp at the end of the Targer - summary - identifier.
Next
Click provisionning.
New profile.
Profile name: geapp
check.
AppID: choose geapp
Choose your device, ( if your device don't show up, click on device on the left, new device, you need your SN - device ID- found on the iTune when you plug your device)
Click submit.
Click provisioning again.
Your geapp should be there. Press F5 and you should see a download button appear.
Click download
In your mac see the download folder. you will find a icon with a wheel
- geapp.mobileprovision
click on it.
- Plug your device.
You should see under device a green dot on your device (can have another name you have choose) saying it's plugged.
You need to export your game file.
Rename it geapp.dat or game1.dat
start you geapp.xcodeproj application.
Xcode start.
In xcode
Drag your geapp.dat on the ressources folder there
a window open.
Click create folder reference, finish.
Click on the blue icon on left. geapp
On top left, choose your device. - Simulator won't work.
Click in the middle window - under the target - game editor...
Summary tab
Change identifier to com.yourwebsite - it's the same in your apps ID you created.
- Note the geapp stay there. Don't try to erase it.
Click build setting tab.
In the search window (in xcode on right) type code.
You will see code signing identity.
Change all those to your geapp
If it's grayed, something went wrong. Sometime you need to reinstall your geapp.xcodeproj and redownload your sertificate.
Click project - geapp (blue) (middle screen)
Build setting.
Search code
You will see code signing identity.
Change all those to your geapp
Press play.
It's not that different than the original tutorial, but they changed layout on xcode, making it difficult to know what is where. Also to create the right apps ID, help.
Hope it help someone.