trevordevore / levure

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

Packager iOS error on LC 8.1.6 #80

Closed spencerlearning closed 6 years ago

spencerlearning commented 7 years ago

I recently made the jump from LC 8.1.3 to 8.1.6 and am now getting an error when packaging for iOS. Basically, the packager builds successfully the first time and then fails on subsequent builds with this error:

packager-ios-error

However if the standalone settings are changed, such as changing the iOS Internal App ID, the packager will again build successfully the first time and then fail on subsequent builds.

Here is an example:

  1. Create a Levure application.

  2. Accept the standalone settings defaults except:

    • On General pane, Select inclusions for the standalone application.
    • Uncheck all platforms except iOS.
    • On iOS pane, build for iPod, iPhone and iPad.
    • For profile, I used Wildcard
  3. Run levurePackageApplication "beta" in the LC message box. The packager builds for iOS successfully.

  4. Quit LC, re-run the standalone and levurePackageApplication "beta" in the message box. The packager fails with the error shown above.

  5. Now change the Internal App ID (I changed it from com.yourcompany.yourapp to com.levure.test) and try it again. The patterns repeats where the packager builds successfully the first time and then fails on subsequent attempts. Change the App ID again and the pattern repeats again.

This error does not occur when building for Mac or Android (I haven't tried Windows yet).

spencerlearning commented 6 years ago

I have built for iOS many times since opening this issue and not run into this error again so I am closing this issue. The problem may have been that I switch back and forth between two computers and my iOS development certificate was not set up correctly on one of the computers.