Sideloading on iOS now Possible

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
adams161
Posts: 495
Joined: Sun May 13, 2007 7:55 pm
Location: Tacoma, WA USA

Sideloading on iOS now Possible

Post by adams161 » Fri May 17, 2019 9:47 am

A common complaint i heard is on iOS people cant side load. They need to get apps only from app store and cant install apps from their computer it is said. This used to be true.

As of Xcode 9 from around 2016 if the user has the project of the app, say it's open source or they made the code, anyone with a Mac, a copy of Xcode(free download from Mac App Store from Apple), and an iTunes ID(also free), can compile the code and side load onto their device via the standard cable used to normally synch with the computer(synching not required to do this).

https://blog.ionicframework.com/deployi ... r-account/

I'm not sure if it's considered a test build, in which case it would be good for 90 days, but after 90 days they could load it again after incrementing the build number.

mar
Posts: 1960
Joined: Fri Nov 26, 2010 1:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Sideloading on iOS now Possible

Post by mar » Fri May 17, 2019 10:38 am

I have a few complaints:

iOS:
- you can't spawn processes on iOS => loading external engines is a no-go (this is not about safety because the app already runs sandboxed)
- you can't allocate executable pages so no JITting for you (again this is not about safety because the app already runs sandboxed)

iOS + OSX:
- Apple deprecated OpenGL ES and OpenGL on desktop (goodbye portable rendering backends - what a shame!)

so this is what the devs get for their $99 - a very restricted environment where Apple forces the devs into their own tech in favor of portability

this reminds me of the arrogance of Microsoft in the 90ies, but hey Apple it's 2019 now
Martin Sedlak

adams161
Posts: 495
Joined: Sun May 13, 2007 7:55 pm
Location: Tacoma, WA USA

Re: Sideloading on iOS now Possible

Post by adams161 » Fri May 17, 2019 10:44 am

mar wrote:
Fri May 17, 2019 10:38 am
so this is what the devs get for their $99 - a very restricted environment where Apple forces the devs into their own tech in favor of portability
I'm not sure if you're trying to be on topic or not and if you're not and just want to vent on Apple that is fine. But related to the topic of this post, no 99 dollar memberships are needed. One can use the same iTunes ID they use in the app store on the device they want to side load on. These ID's are free.

Mike Adams

purechess
Posts: 7
Joined: Wed Nov 28, 2018 12:28 pm
Full name: John Pulliter

Re: Sideloading on iOS now Possible

Post by purechess » Fri May 17, 2019 11:11 am

But thanks for sharing!

I totally misunderstood the post at first. The term "sideloading" is misleading !

I though you talk about running an UCI engine binary like on Android thru loading this binary. But that's not the case.

Of course you can do your own iOS app and run any GPL software. Not necessary to go thru the Appstore. That a free Apple Developer license exists is common sense. :D

adams161
Posts: 495
Joined: Sun May 13, 2007 7:55 pm
Location: Tacoma, WA USA

Re: Sideloading on iOS now Possible

Post by adams161 » Fri May 17, 2019 11:28 am

purechess wrote:
Fri May 17, 2019 11:11 am
I totally misunderstood the post at first. The term "sideloading" is misleading !
From wikipedia https://en.wikipedia.org/wiki/Sideloading
Sideloading is a term used mostly on the Internet, similar to "upload" and "download", but in reference to the process of transferring files between two local devices, in particular between a computer and a mobile device such as a mobile phone, smartphone, PDA, tablet, portable media player or e-reader.
It has not been thought to side load apps as you can in Android.
purechess wrote:
Fri May 17, 2019 11:11 am
I though you talk about running an UCI engine binary like on Android thru loading this binary. But that's not the case.
This has important implications for using GPL engines like Stockfish in iOS apps. It is another way they can comply with GPL.
purechess wrote:
Fri May 17, 2019 11:11 am
Of course you can do your own iOS app and run any GPL software. Not necessary to go thru the Appstore. That a free Apple Developer license exists is common sense. :D
It was not possible on iOS for nearly a decade to do this without paying 99 bucks.

mar
Posts: 1960
Joined: Fri Nov 26, 2010 1:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Sideloading on iOS now Possible

Post by mar » Fri May 17, 2019 11:37 am

Simply sharing some frustrations I had when developing for iOS.
I also forgot the pain to generate zillions of icon sizes for various devices, I guess automatic image resampling would be too much to ask.
(my points are perfectly valid though - even if you bury your fanboy head deep in the sand :)
Martin Sedlak

adams161
Posts: 495
Joined: Sun May 13, 2007 7:55 pm
Location: Tacoma, WA USA

Re: Sideloading on iOS now Possible

Post by adams161 » Fri May 17, 2019 11:41 am

mar wrote:
Fri May 17, 2019 11:37 am
I also forgot the pain to generate zillions of icon sizes for various devices, I guess automatic image resampling would be too much to ask.
You can find web sites that can take one 1024 - 1024 icon image and give you all the icon sizes you need for both iOS and Android.

Mike Adams

adams161
Posts: 495
Joined: Sun May 13, 2007 7:55 pm
Location: Tacoma, WA USA

Re: Sideloading on iOS now Possible

Post by adams161 » Fri May 17, 2019 12:01 pm

mar wrote:
Fri May 17, 2019 11:37 am
Simply sharing some frustrations I had when developing for iOS.
I dont know if you're a millennial or gen-z but i feel i get static with the younger generation on talkchess.

Yea it's possible to develop for ios without great difficulty beyond 99 a year. Though you can side load on your own device for free.

Android is no walk in the park. Any development is a sort of commitment.

Mike Adams

mar
Posts: 1960
Joined: Fri Nov 26, 2010 1:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Sideloading on iOS now Possible

Post by mar » Fri May 17, 2019 12:24 pm

adams161 wrote:
Fri May 17, 2019 12:01 pm
I dont know if you're a millennial or gen-z but i feel i get static with the younger generation on talkchess.

Yea it's possible to develop for ios without great difficulty beyond 99 a year. Though you can side load on your own device for free.

Android is no walk in the park. Any development is a sort of commitment.

Mike Adams
I'm certainly not a millennial. Would be nice to shave off 10-20 years though.

Ok, so you can test iOS apps now on your device without dev account. That's certainly nice. But if you want to go to AppStore/do AdHoc distribution, you'll still need the dev account if I'm not mistaken.
I personally don't care much about the price itself ($99), I simply feel that I don't get much in return.
Well - except the deprecation of OpenGL, which is a big problem for me because all my apps were portable, OpenGL-based.

I don't know which language you use for development, but I use C++, so the idea is to have portable C++ backend with Objective-C <=> C++ glue.

I never finished anything serious for Android except for compiling my engine to work with Chess for Android so I can't really compare.

May I ask how you deal with the portability of your applications and which language(s) you use?
Do you use Swift/ObjC for iOS and Java for Android, perhaps interfacing with C/C++ code to do common tasks?
I can imagine that maintaining multiple independent applications for each platform would be difficult.
Martin Sedlak

adams161
Posts: 495
Joined: Sun May 13, 2007 7:55 pm
Location: Tacoma, WA USA

Re: Sideloading on iOS now Possible

Post by adams161 » Fri May 17, 2019 12:30 pm

mar wrote:
Fri May 17, 2019 12:24 pm
I'm certainly not a millennial. Would be nice to shave off 10-20 years though.

Ok, so you can test iOS apps now on your device without dev account. That's certainly nice. But if you want to go to AppStore/do AdHoc distribution, you'll still need the dev account if I'm not mistaken.
The point of this post is you can side load on iOS. this is important for such things as if iOS can comply with GPL.

mar wrote:
Fri May 17, 2019 12:24 pm
May I ask how you deal with the portability of your applications and which language(s) you use?
I"m not sure how this post is related to the topic. People do portability for example by using C++ libraries which i've used on both Android and iOS.

Mike Adams

Post Reply