Page 1 of 2

iOS-Deployment done easy :-)

Posted: Wed Jan 11, 2017 7:01 am
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 ios@greatcompany.com

2. Get your Team ID here:
https://developer.apple.com/account/

Image

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.

Image

4. I installed the JDK from here: http://www.oracle.com/technetwork/java/ ... 33151.html

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

Image

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

Image

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.

Image

9. Now on for deployment of the App to the App Stores...

Re: iOS-Deployment done easy :-)

Posted: Wed Jan 11, 2017 2:21 pm
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

Re: iOS-Deployment done easy :-)

Posted: Thu Jan 12, 2017 6:04 pm
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!

Cheers
Jörg

Re: iOS-Deployment done easy :-)

Posted: Thu Nov 22, 2018 6:48 pm
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]

Re: iOS-Deployment done easy :-)

Posted: Wed Mar 23, 2022 6:31 pm
by bembulak
As of today:

Apple now seems to allow average users to have provisioning profiles & dev-certificates for normal iTunes Accounts as well.
https://developer.apple.com/support/com ... 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!

Re: iOS-Deployment done easy :-)

Posted: Fri Dec 16, 2022 8:58 pm
by dibor
Hello.
Have some troubles with "create App".
Got Error "Cordova needs to be installed............"
But Cordova is installed manually, if I try to run the XCode + Cordova check - got error ""install-cordova.sh" can't be opened because (null) is not allowed to open documents in terminal.
So, I run this script manually in the terminal and cardova is installed.
I do not know why SB does not see the Cardova installation.

Here MacOS 13.1 on M1 processor and x86 SB compiler.

Any ideas?

Thank you.

Re: iOS-Deployment done easy :-)

Posted: Fri Dec 30, 2022 4:19 am
by AZJIO
I can't install Cordova. I get a list of files, download archives without the Linux and Windows prefix, it's just an archive with a bunch of files that I don't know what to do with.
I'm using a VmWare image of Mac OS X 10.9.5

Re: iOS-Deployment done easy :-)

Posted: Thu Feb 02, 2023 10:22 am
by bembulak
AZJIO wrote: Fri Dec 30, 2022 4:19 am I'm using a VmWare image of Mac OS X 10.9.5
That might be the cause(s).
A virtual version of OSX (which is per Apples Terms of Use more or less prohibited), that will not behave as a 'real running OS'
AND
10.9.5 - that's quite outdated.

All the before mentioned procedures (having a recent OS with correct OS X version, also necessary Certificates from Apple and Provisioning Profiles) work well. I've just did a reset of my OS X a few weeks ago and the described steps still work.

Re: iOS-Deployment done easy :-)

Posted: Wed Feb 08, 2023 6:01 am
by dibor
Hello guys.
Still have a problem.
Anybody can help with this issue??

Thank U!

Re: iOS-Deployment done easy :-)

Posted: Sun Feb 12, 2023 7:35 pm
by bembulak
dibor wrote: Wed Feb 08, 2023 6:01 am Hello guys.
Still have a problem.
Anybody can help with this issue??

Thank U!
As this thread is for the How to setup iOS Deployment, do you want to open a new thread with detailed descriptions of each step you do?