New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catch Xcode 8.3 legacy API while patching Xcode PackageApplication script #8717
Conversation
KrauseFx
commented
Mar 30, 2017
- This will show an appropriate error message for Xcode 8.3 users that still have the legacy build API enabled. We want to migrate 100% of the users away from it, as it was now officially removed from Xcode
- Also link to the release that contains the migration information
…ript This will show an appropriate error message for Xcode 8.3 users that still have the legacy build API enabled. We want to migrate 100% of the users away from it, as it was now officially removed from Xcode
Hey @KrauseFx 👋 Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉 Please let us know if this change requires an immediate release by adding a comment here 👍 |
Congratulations! 🎉 This was released as part of fastlane 2.25.0 🚀 |
Any clarification on what 'export_type' is? As referenced here |
def self.legacy_api_note!
UI.important "Unfortunately the legacy build API was removed with Xcode 8.3."
UI.important "Please make sure to remove use_legacy_build_api from your ./fastlane/Fastfile"
UI.important "and update the gym call to include the export method like this:"
UI.important "== App Store Builds =="
UI.error ' gym(scheme: "MyScheme", export_method: "app-store")'
UI.important "== Ad Hoc Builds =="
UI.error ' gym(scheme: "MyScheme", export_method: "ad-hoc")'
UI.important "== Development Builds =="
UI.error ' gym(scheme: "MyScheme", export_method: "development")'
UI.important "== In-House Enterprise Builds =="
UI.error ' gym(scheme: "MyScheme", export_method: "enterprise")'
UI.important "If you run into a code signing error, please check out our troubleshooting guide for more information on how to solve the most common issues"
UI.error " https://docs.fastlane.tools/codesigning/troubleshooting/ 🚀"
UI.important ""
UI.user_error! "legacy_build_api removed!"
end |