Skip to content

☂️ Supporting Xcode 10 and the new Xcode build system #19573

Closed
@hramos

Description

@hramos

For Discussion

This task tracks issues with Xcode 10 as well as the new Xcode build system. This modern build system was originally introduced in Xcode 9, and it is now used by default in Xcode 10.

Troubleshooting

Please take a look at the list of known issues below. If your issue does not match any of these, please try the following:

  • Clean up your project.
  • Remove any build artifacts.
  • Re-build the app.

If that does not work, please do the following to help us keep track of any remaining issues that need to be solved:

  1. File a new issue.
  2. Add a link back to this issue, ☂️ Supporting Xcode 10 and the new Xcode build system #19573

A maintainer will then update this post with a reference to your issue as needed.

Known Issues

Fixed Issues

Opting out of the new Xcode build system

For issues related to the new Xcode build system, you may be able to unblock yourself by switching to the legacy build system.

Using Xcode:

  1. Go to File, then Project Settings or Workspace Settings.
  2. Select Legacy Build System from the Build System dropdown.

screen shot 2018-09-25 at 1 48 03 pm

Using xcodebuild:

You may use the -UseModernBuildSystem=NO flag to opt out of the new Xcode build system.

Mitigating issues in future Xcode updates

Currently, our CI runs tests on the latest stable Xcode release. We could have caught many of these issues by doing two things:

  • Opting into the new build system in CI
  • Using the Xcode 10.0 beta in CI when it was introduced this summer

PRs that add support for either of these are welcome. For the latter, we'd look for Xcode 11 beta support once it's presumably announced next summer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    PartnerPlatform: iOSiOS applications.Resolution: LockedThis issue was locked by the bot.Type: DiscussionLong running discussion.p: FacebookPartner: Facebook📮Known IssuesThis indicates an issue that refers to a bug or limitation of RN that is not currently being handled🔩Test InfrastructureTest infrastructure and continuous integration.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions