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

Building IPA files for the simulator #3189

Closed
fastlanebot opened this issue Sep 22, 2015 · 3 comments
Closed

Building IPA files for the simulator #3189

fastlanebot opened this issue Sep 22, 2015 · 3 comments

Comments

@fastlanebot
Copy link

Original issue by @ide - Imported from fastlane/gym#98

One of our use cases for fastlane is to build IPA files for the simulator. We currently do this from the command line and it is quite simple, but we weren't able to use gym.

If this is something you'd like to support in gym, here are the main things that are different for a simulator build:

  • We didn't need to sign the IPA (this worked fine by leaving out provisioning_profile_path)
  • We needed to pass the -arch i386 option and ONLY_ACTIVE_ARCH=NO (this worked fine via xcargs)
  • Needed to exclude the -destination and -archivePath options
  • The xcodebuild action should be build instead of archive
@fastlanebot
Copy link
Author

@KrauseFx commented

Correct me if I'm wrong, but building for the simulator is just one xcodebuild command and doesn't involve any workarounds to get everything working with Swift, etc.

What's the benefit of using gym then?

@fastlanebot
Copy link
Author

@ide commented

Yeah. It's just one command. If you think it complicates gym we'll use exec instead.

@fastlanebot
Copy link
Author

@KrauseFx commented

Okay cool 👍 You can easily just use your own local action using fastlane new_action and when everything works submit a pull request with the new action 🚀

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

No branches or pull requests

1 participant