Fastlane for iOS 路 Challenge: Using Gym | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/1259223-fastlane-for-ios/lessons/21

Had to use first

lane :beta do
build_app(export_xcargs: "-allowProvisioningUpdates")
end

and then

lane :build_appstore do
# sync team appstore creds
gym(
  output_directory: "build_appstore",
  export_method: "app-store"
)

end

other wise it would not work, any ideas?

Interesting. I鈥檝e never encountered this personally, but it鈥檚 not uncommon to have to make a few tweaks to fastlane workflows given XCode / project / Apple Dev Center / App Store Connect specifics. And your solution certainly makes sense, given fastlane鈥檚 documentation at Xcode Project - fastlane docs.

Nice work tracking this down! :]