iOS-Deployment done easy :-)

Share your advanced knowledge/code with the community.
Posts: 37
Joined: Fri Sep 25, 2015 12:00 pm

iOS-Deployment done easy :-)

Post by jamirokwai »

Short history of deploying to iOS - Additional information to the original documentation of SpiderBasic.

1. Make sure you created a payed account at Apple (for 99 €/Year), and installed Xcode correctly. The Address may be

2. Get your Team ID here:


3. In XCode download all certificates for the Apple-ID you created for 1. This can be done in Preferences -> Accounts. Open the details. You can just "download all". Eventually, you may have to create the certificates. You must have at least created the iOS Distribution, and iOS Development.


4. I installed the JDK from here: ... 33151.html

5. In SpiderBasic add the AppleTeam ID from 2 into this field. Set the path to JDK as well.


6. In SpiderBasic, use Compiler -> Create App. On first run, this should have installed. The Package ID would be com.greatcompany.testapp


7. If you did not use "Automatically upload on USB connected device", drag test.ipa to iTunes, sync it somehow, and run the App on your Phone!

8. The 2ddrawing-example from SpiderBasic would be an App of about 5mb. And it works.


9. Now on for deployment of the App to the App Stores...
Last edited by jamirokwai on Fri Jan 13, 2017 4:21 am, edited 1 time in total.
Site Admin
Posts: 1328
Joined: Mon Feb 24, 2014 10:51 am

Re: iOS-Deployment done easy :-)

Post by Fred »

Thanks for the very point by point tutorial ! I think you can completely skip the JDK stuff as it's only for Android for now (you can test by removing it from pref, it should still work). May be I should remove the field from the pref on Linux/OSX so it won't be confusing. Can I borrow your images to put them in the official doc ?

ps: made it sticky so it won't get lost
Posts: 37
Joined: Fri Sep 25, 2015 12:00 pm

Re: iOS-Deployment done easy :-)

Post by jamirokwai »

Hey Fred,

You're welcome!

I installed Java because the installer of Node.js liked it to be installed.

Yes, take the shots, of course!

User avatar
Posts: 80
Joined: Sat Jun 16, 2018 10:30 pm

Re: iOS-Deployment done easy :-)

Post by Niffo »

I always get a "App signing failed. Please check your AppleTeam ID, ..." (seen on MacOS Sierra 10.12.1)
Of course, my AppleTeam ID is right entered.
Is there a log somewhere where i could have a look to see what is blocking ?

[Edit] Finally, if i launch SB from the terminal, i get exactly the same errors as reported here : viewtopic.php?f=11&t=1591#p5692 [/Edit]
Posts: 17
Joined: Wed Feb 26, 2014 9:53 am

Re: iOS-Deployment done easy :-)

Post by bembulak »

As of today:

Apple now seems to allow average users to have provisioning profiles & dev-certificates for normal iTunes Accounts as well. ... mberships/
This enables testing on real devices - you just have to set them up once in XCode.
No need to have a fully enrolled developer account (99,- per Year in USD/EUR).

That is good. :)

Now for SpiderBasic:

I've started XCode a few days ago. Under preferences I've entered my normal Apple ID. XCode fetches some basic information then -> Team ID!
Once you create an empty XCode project, go to project preferences and make sure that "automatic signing" is enabled.

Connect your dev-device (via USB or Wifi).

Got to SB,
go to preferences / compiler and enter the Team ID.
open a basic program,
set compiler options,
if not done yet, run the XCode + Cordova check.
If this fails: download node.js and run the check again. It will fetch all the necessary stuff for you (and it's not as much of a download as I thought it would be).
If the check is successful:
Select an Icon, set names, etc. and hit "create App".
It takes little while and I really would like to see which commands are used, but in the End: magic!

The app appears on the phone!
Here in iOS 15.3.1 I get an error on first start -> The Developer is not trusted.
Got to your iOS settings:
settings / general / VPN and devices -> you should see the Developer there (in fact: it will be you :) ).
Set the option to Trust the developer and kaboom: you're ready to go!

The app runs fine here (just a test so far).

I guess the dev-certificate expires after one week - but that's fine for now.

Thank you SpiderBasic - well done!
That's by far the easiest process of getting a self-coded IPA to an iOS device so far (tested with Beeware/Python, AppGameKit (without AGK-player/bridge), Godot, LiveCode, ...).

So: go ahead and bring some news on SpiderBasic, Fred!
Post Reply