iOS simulator: copy a standalone inside a standalone

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
trevix
Posts: 387
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

iOS simulator: copy a standalone inside a standalone

Post by trevix » Sat May 05, 2018 10:15 pm

OSX 10.12.6 LC 8.1.10
I tried to copy a standalone (.app) inside a main standalone, using the Copy Files in the Standalone Application Settings, but when I test for the simulator I got the message:
Unable to start simulation: This app could not be installed at this time
If I copy a text file, the simulator runs Ok.
Since on desktop there is not a problem like this, is this something that cannot be done on iOS?

Thanks
Trevix
Trevix

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2220
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: iOS simulator: copy a standalone inside a standalone

Post by jmburnod » Sun May 06, 2018 12:07 am

Hi Trevix
I never thougt that was possible to add a standalone on copy file pane
I'm curious to know what you try to do.
Best regards
Jean-Mard

trevix
Posts: 387
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: iOS simulator: copy a standalone inside a standalone

Post by trevix » Sun May 06, 2018 10:33 am

I guess it doesn't work because of how iOS works (sandboxing? Apple will not allow an app to run from inside another app?).

I have been searching for a way to interact (on OSX and iOS) with the default calendar.

Having excluded AppleScript, costly online subscriptions or the google calendar API (clients wouldn't understand the need to create a google calendar in order to write to iCal), I noticed that the Apple "Script Editor" can run Javascript code and create a standalone with that.
That was my idea: a javascript app, that creates/delete events in the default calendar, launched from LC.

Sound bizarre? How bizarre is that LC does not interact with the calendar on iOS and OSX (most common languages do).

As for OSX, copying a standalone inside a standalone, works fine: I used for my calendar "tCal", in order to have the alarms always running. An "alarm.app" get launched on OS login and is there, hidden in background, ready to talk to the main app and run scheduled alarms, no matter if the main app is open.

Regards
Trevix
Trevix

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2220
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: iOS simulator: copy a standalone inside a standalone

Post by jmburnod » Sun May 06, 2018 10:43 pm

Hi Trevix
Thanks for explanations
I haven't useful idea. I hope some one in this forum will can help you
Jean-Marc

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”