Introducing Xcode build for simulators

Do you need to create a demo version of your app? No problem! Build an .app file with a new step on Bitrise and upload it to a simulator.

Do you need to create a demo version of your app? No problem! Build an .app file with a new step on Bitrise and upload it to a simulator.

We've rolled out the beta version of a new step: Xcode build for simulators. This step will run the xcodebuild command with an iOS simulator destination and generate an .app file, which then can be run on a simulator.

.app files can be uploaded to for demo, testing etc.

In the workflow

Right after running Xcode build for simulator, you can add deploy. Read more about Appetize integration here.

Inputs and outputs

Required inputs for the step:

  • project_path: Project (or Workspace) path
  • configuration: The configuration to use.
  • scheme: The Scheme to use.
  • simulator_device: Simulator name. (e.g: iPhone 6s Plus)
  • simulator_os_version: OS version. (latest, 11.4 etc...)
  • simulator_platform: iOS Simulator / tvOS Simulator

Step outputs:

  • BITRISE_APP_DIR_PATH: The generated (and copied) app directory
  • BITRISE_APP_DIR_PATH_LIST:  This output will include the main target app's path + every dependent target's app path.

The paths are separated with `|` character, eg: /deploy109787178/|/deploy109787178/

  • BITRISE_XCODE_BUILD_RAW_RESULT_TEXT_PATH: This is the path of the raw build results log file.

If output_tool=xcpretty and the build fails this log will contain the build output.

Why you'll love this

The positive side of building an iOS to a simulator: You DON’T need to codesign the project (no certificate / no provisioning profile). 😎

Let us know how it works, we appreciate all feedback. Happy building!

No items found.
The Mobile DevOps Newsletter

Explore more topics

App Development

Learn how to optimize your mobile app deployment processes for iOS, Android, Flutter, ReactNative, and more

Bitrise & Community

Check out the latest from Bitrise and the community. Learn about the upcoming mobile events, employee spotlights, women in tech, and more

Mobile App Releases

Learn how to release faster, better apps on the App Store, Google Play Store, Huawei AppGallery, and other app stores

Mobile DevOps

Learn Mobile DevOps best practices such as DevOps for iOS, Android, and industry-specific DevOps tips for mobile engineers

Mobile Testing & Security

Learn how to optimize mobile testing and security — from automated security checks to robust mobile testing and more.

Product Updates

Check out the latest product updates from Bitrise — Build Insights updates, product news, and more.

The Mobile DevOps Newsletter

Join 1000s of your peers. Sign up to receive Mobile DevOps tips, news, and best practice guides once every two weeks.