How to make a physical iPhone to appear as a target
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
How to make a physical iPhone to appear as a target
Hi guys, since I started developing with LC I was hoping to have the possibility to download an APP to a physical iPhone as easy as it is with an Android device, meaning selecting the device in the Test Target dropdown, clicking the Test button and viola!!!
Until now I was under the impression this was not possible and in order to download the APP to the physical iOS device one had to go through Xcode or Apple Configurator 2.
Surprise: my dear friend @trevix is able to do it, we just don't know how
I have tried to reproduce his setup (Catalina + LC 9.6.6 RC2 + Xcode 12.4 ) with mine (Big Sur + LC 9.6.6 RC2 + Xcode 12.4 + Xcode 13.2.1) but for some reason in my case LC doesn't see my iPhone.
Any suggestions? Are other readers able to do as @trevix?
I guess we all would agree that having this option would be a great productivity gain.
Thanks
Until now I was under the impression this was not possible and in order to download the APP to the physical iOS device one had to go through Xcode or Apple Configurator 2.
Surprise: my dear friend @trevix is able to do it, we just don't know how
I have tried to reproduce his setup (Catalina + LC 9.6.6 RC2 + Xcode 12.4 ) with mine (Big Sur + LC 9.6.6 RC2 + Xcode 12.4 + Xcode 13.2.1) but for some reason in my case LC doesn't see my iPhone.
Any suggestions? Are other readers able to do as @trevix?
I guess we all would agree that having this option would be a great productivity gain.
Thanks
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- Livecode Opensource Backer
- Posts: 9455
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to make a physical iPhone to appear as a target
Read it and gnash your teeth:
https://www.macrumors.com/2021/11/11/io ... -answered/
And here (2016) are a few "dirty" tricks that may work:
https://osxdaily.com/2016/01/12/howto-s ... pad-xcode/
https://www.macrumors.com/2021/11/11/io ... -answered/
And here (2016) are a few "dirty" tricks that may work:
https://osxdaily.com/2016/01/12/howto-s ... pad-xcode/
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: How to make a physical iPhone to appear as a target
Sideloading would be a great option to have, allowing bespoke apps used internally within an organization to enjoy significant time savings (translating to cost savings) with streamlined rapid, iterative deployments.
Apple does offer a program for such deployments, but the installation method still requires cumbersome paperwork and setup, far more onerous than simply turning on sideloading and then turning it off again as Android offers.
If you want a custom app for your restaurant's wait staff, or your retail staff's inventory, or any other of the thousands of vertical opportunities for internal apps, Apple's requirements suggest you use a competing platform, with the additional benefit of lower hardware costs and greater variety of hardware options.
For public deployments many segments are migrating to the web. While Apple's storage limitations for browsers impose some unnecessary constraints, progressive web apps are increasingly a go-to for devs looking for streamlined rapid deployment.
If a project absolutely requires a native app, and requires support for that one brand of smart phone, the best recommendation at this time would be to do whatever they tell you to do. Their ToS gives them absolute control over what a user may be allowed to do with the device they purchased, and the OS vendor has the means to disable even third-party apps remotely if they choose.
Any app not conformant with what they describe as their security model is at risk.
I would not recommend any installation method outside the ones offered by the OS vendor.
Apple does offer a program for such deployments, but the installation method still requires cumbersome paperwork and setup, far more onerous than simply turning on sideloading and then turning it off again as Android offers.
If you want a custom app for your restaurant's wait staff, or your retail staff's inventory, or any other of the thousands of vertical opportunities for internal apps, Apple's requirements suggest you use a competing platform, with the additional benefit of lower hardware costs and greater variety of hardware options.
For public deployments many segments are migrating to the web. While Apple's storage limitations for browsers impose some unnecessary constraints, progressive web apps are increasingly a go-to for devs looking for streamlined rapid deployment.
If a project absolutely requires a native app, and requires support for that one brand of smart phone, the best recommendation at this time would be to do whatever they tell you to do. Their ToS gives them absolute control over what a user may be allowed to do with the device they purchased, and the OS vendor has the means to disable even third-party apps remotely if they choose.
Any app not conformant with what they describe as their security model is at risk.
I would not recommend any installation method outside the ones offered by the OS vendor.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 9455
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: How to make a physical iPhone to appear as a target
Richard Stallman was right, and Apple, despite producing products we know and love, does suffer from seriously overwheening dictatorial tendencies.
I own my Macintosh computers, and having either paid for them or been given them, dislike being told what to do with them, or forced to conform to what the ghost of Steve Jobs and his spiritual heirs say I have to do.
I own my Macintosh computers, and having either paid for them or been given them, dislike being told what to do with them, or forced to conform to what the ghost of Steve Jobs and his spiritual heirs say I have to do.
Last edited by richmond62 on Wed Jan 12, 2022 8:40 pm, edited 2 times in total.
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: How to make a physical iPhone to appear as a target
Hi guys, many thanks for your replies which confirm my initial understanding that there is no way to download an App from LC to the iOS Device with just one click.
But (there is always a but) my Italian friend (@trevix) has a setup that seems to contradicts the above...he does have a working setup...
Will wait for him to show us his magic.
But (there is always a but) my Italian friend (@trevix) has a setup that seems to contradicts the above...he does have a working setup...
Will wait for him to show us his magic.
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: How to make a physical iPhone to appear as a target
What is possible is always a superset of what is permissible.simon.schvartzman wrote: ↑Wed Jan 12, 2022 8:09 pmBut (there is always a but) my Italian friend (@trevix) has a setup that seems to contradicts the above...he does have a working setup...
Will wait for him to show us his magic.
Learn what you can, evaluate the risks, choose wisely.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: How to make a physical iPhone to appear as a target
Don't ask me why (it wasn't doing it before) but this works on OSX10.15.7. Xcode 12.4, iOS 14.4.2, LC 9.6.6Rc2
It even works over WiFi!
https://youtu.be/ONBQrlKWTIk
It even works over WiFi!
https://youtu.be/ONBQrlKWTIk
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
-
- VIP Livecode Opensource Backer
- Posts: 265
- Joined: Sat Aug 16, 2008 9:48 am
- Location: Stockholm, Sweden
- Contact:
Re: How to make a physical iPhone to appear as a target
On the contrary, it works very well! Like in Trevix' video. I do it all the time. I can't remember if I did anything special to set it up. It's definitely no "hack" and it certainly permissible. If you can deploy to the simulator you should be able to deploy to your cabled iPhone too, if you have an LC Business/Pro license.simon.schvartzman wrote: ↑Wed Jan 12, 2022 8:09 pmHi guys, many thanks for your replies which confirm my initial understanding that there is no way to download an App from LC to the iOS Device with just one click.
But first you'll also need to add the device's Unique Device Identifier (UDID) in your Apple Dev account (section Certificates, Identifiers & Profiles).
I'm currently on macOS 12.1 (Monterey), Xcode 13.2.1, LC 9.6.6Rc1 (Pro), but I've used this possibility for several years on earlier systems.
Andreas Bergendal
Independent app and system developer
Free LC dev tools: https://github.com/wheninspace
WhenInSpace: https://wheninspace.se/en
Independent app and system developer
Free LC dev tools: https://github.com/wheninspace
WhenInSpace: https://wheninspace.se/en
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: How to make a physical iPhone to appear as a target
Hi Andreas, I'm afraid the answer to my issue is when you say:
About
I can deploy to the simulator but I own "just" an Indy license. Could it be the reason?If you can deploy to the simulator you should be able to deploy to your cabled iPhone too, if you have an LC Business/Pro license.
About
My device UDID is already included in my Apple account...It's possible that adding the device's Unique Device Identifier (UDID) in your Apple Dev account (section Certificates, Identifiers & Profiles) is also necessary, but I'm not sure.
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: How to make a physical iPhone to appear as a target
I have an Indy licence with the Pro-Pack. Could be this?
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>
-
- VIP Livecode Opensource Backer
- Posts: 265
- Joined: Sat Aug 16, 2008 9:48 am
- Location: Stockholm, Sweden
- Contact:
Re: How to make a physical iPhone to appear as a target
Indeed, I believe the Pro pack is the key to this. It seems connected to the Remote Debugger feature, where the LC website describes the ability to deploy straight to device as "a huge bonus" when using remote debugging.
Well yeah, I use that "bonus" much more often than I use the remote debugging feature, so maybe LC should highlight this as a feature of it's own, to promote the Pro pack.
Andreas Bergendal
Independent app and system developer
Free LC dev tools: https://github.com/wheninspace
WhenInSpace: https://wheninspace.se/en
Independent app and system developer
Free LC dev tools: https://github.com/wheninspace
WhenInSpace: https://wheninspace.se/en
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: How to make a physical iPhone to appear as a target
Makes sense, anyone from the mothership can clarify if this is the case?
Thanks
Thanks
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question