Skip to content
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

Merged
merged 2 commits into from Mar 30, 2017

Conversation

KrauseFx
Copy link
Member

  • 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
@KrauseFx KrauseFx changed the title Link to docs Catch Xcode 8.3 legacy API while patching Xcode PackageApplication script Mar 30, 2017
@KrauseFx KrauseFx merged commit 6ffd13f into master Mar 30, 2017
@KrauseFx KrauseFx deleted the link-to-docs branch March 30, 2017 23:06
@fastlane-bot
Copy link

Hey @KrauseFx 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a week, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀

@fastlane-bot
Copy link

Congratulations! 🎉 This was released as part of fastlane 2.25.0 🚀

@ChrisAJS
Copy link

ChrisAJS commented Apr 7, 2017

Any clarification on what 'export_type' is? As referenced here

@KrauseFx
Copy link
Member Author

KrauseFx commented Apr 7, 2017

    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

@fastlane fastlane locked and limited conversation to collaborators Jul 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants