Search code examples
fastlanefastlane-gym

Compare fastlane/gym with xcode build


I have an ionic 3 application that behaves differently when built via fastlane-gym vs. Xcode.

When built with fastlane-gym, the ionic app exhibits some readily reproducible UI refresh issues, that promptly disappear when the app is built with XCode. It does not appear to be a race condition. There are no runtime errors of any kind visible in either builds of the app.

What is a way to even begin troubleshooting this? My initial thought was look at the build parameters that XCode uses and compare them. However, I am not sure how to accomplish this. What other ways are there to identify differences between the two builds? Thank you for your help!


Solution

  • An app is just a zipped folder. So rename it to .zip, unzip it, then compare the contents of the folders. They should be pretty much identical. If not, find out if this could lead to the behavior you are describing.

    Also: https://github.com/ionic-zone/fastlane-plugin-ionic exists as a way to build an Ionic app via Fastlane using the ionic (and cordova) CLIs. Maybe this gives you a better result than building with gym directly.