trevordevore / levure

Application development framework for LiveCode
MIT License
32 stars 14 forks source link

Packager for iOS not including levure.livecodescript #35

Closed spencerlearning closed 7 years ago

spencerlearning commented 7 years ago

I built for ios using tdk-mobile-packager and it worked well except it did not appear to include levure.livecodescript in the bundle. The result was the standalone loaded and ran on my iPad but the application did not load. Here are the contents of the bundle built from the starter app:

tdk-mobile-packager-1

The good news is the bundle was built without errors, the bundle loaded and ran on an iPad via Xcode, and the helpers and ui folders in the bundle have the correct contents. The missing levure.livecodescript seems like the only problem.

  1. Follow the wiki instructions to create a new project from master.

  2. Update levure.livecodescript and packager.livecodescript with the versions from tdk-mobile-packager.

  3. Open standalone.livecode in a new instance of Livecode.

  4. In Standalone Application Settings accept defaults except iOS is the only platform selected.

  5. In message box, run levurePackageApplication "beta". It builds successfully!

  6. Drag the ios build to Xcode Devices and then run it on iPad.

spencerlearning commented 7 years ago

Android seems to have a similar problem: levure.livecodescript is not in the build. Windows and Mac do not have the problem.

trevordevore commented 7 years ago

Looks like the mobile standalone builder doesn't pick up the behavior. I just pushed some updates. Can you try again and let me know how it goes?

spencerlearning commented 7 years ago

It runs the starter app on my iPad! I built for ios with no inclusions checked...success. I built with ALL cross-platform (Mac, Windows, Linux, iOS, and Android) inclusions checked except for Geometry...success.

The only error I got was with the Geometry inclusion. The build was successful but when I ran it on the iPad it gave an error dialog:

219,29,21,REVTargetStack
81,29,21
198,29,21
252,29,21
252,29,21
241,29,1,resizeStack
353,0,0,stack "revgeometrylibrary"

Since none of the other inclusions generated an error, this seems to be a Geometry problem, not a Levure problem.

I'll test on Android next and post the results shortly.

spencerlearning commented 7 years ago

I've tested on an Android tablet and levure.livecodescript is in the apk bundle in the correct location. Since levure.livecodescript is now properly included on all platforms, this issue can be closed.