mobileStandaloneSaved

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
mobileStandaloneSaved <pTargetType>, <pAppBundle>
Associationsstack
Summary

Sent to the mainstack after it has been saved as a mobile standalone application or the simulation was started.

Introduced5.5.3
OSios, android
Platformsdesktop, server
Parameters
NameTypeDescription
pTargetType"simulator":
"device":
pAppBundle

A string variable containing the folder that the mobile standalone application was saved in. This is empty if the build failed.

Example
on mobileStandaloneSaved pTarget, pFolder
  get shell("hdiutil create -fs HFS+ -volname MyApp"&\
      " -size 100m ~/Desktop/MyApp.dmg")
  get shell("hdiutil mount ~/Desktop/MyApp.dmg")
  get shell("ditto -rsrc -V "&pFolder&" /Volumes/MyApp"&\
      " >>  /Volumes/Backup/MyApp.log")
  get shell("hdiutil unmount /Volumes/MyApp")
  get shell("hdiutil burn ~/Desktop/MyApp.dmg"& \
      " -noverifyburn -noeject")
end mobileStandaloneSaved
RelatedMessage: savingStandalone, standaloneSaved, savingMobileStandalone
Description

After a mobile stack has been saved as a standalone application it is reopened. This message is then sent to the mainstack to allow custom build time automation.