Xcode 11.2.1 error: Command CompileSwiftSources failed with a nonzero exit code

后端 未结 1 1639
时光说笑
时光说笑 2021-01-18 23:26

I\'ve downloaded the latest Xcode 11.2.1. When I build I\'m getting this error.

:0: error: using bridging headers with module interface

相关标签:
1条回答
  • 2021-01-19 00:06

    I solved this build error by setting Build Options -> Build Libraries for Distribution in the targets Build Settings to No.

    I stumbled upon this config change that worked for me so I don't have any evidence/research to back up why it works. And I have only tried this for debug builds, will update my answer if anything changes. Your milage may vary.

    My project specs below:

    Xcode 11.1 (11A1027)

    Brownfield React Native iOS app

    0 讨论(0)
提交回复
热议问题