Xcode 11.0 Beta 4 Builds and Runs, but can't Archive Xcode 11.0 Beta 4 Builds and Runs, but can't Archive xcode xcode

Xcode 11.0 Beta 4 Builds and Runs, but can't Archive


I've been running into the same issue, and it looks to be caused by the known bitcode issue in the Xcode beta release notes:

Targets that contain Swift code with the Enable Bitcode build setting set to Yes fail to link correctly when built with theArchive action. (52804818)

Workaround: Add a custom build setting withthe name LD_VERIFY_BITCODE, and set it to NO. Make a note to yourselfto delete this custom build setting once this issue is resolved.

You will need to add a User-Defined Build Setting since it doesn't show up as a normal Build Setting. Click the + In your Build Settings to add one:

Where To Add User-Defined Setting

After Adding A User-Defined Setting, scroll all the way to the bottom of your build settings to find the one you just added, then modify it like so.

Final User-Defined Setting