xcode 5 archive build fail, but normal build successfully

后端 未结 3 1610
萌比男神i
萌比男神i 2020-12-30 03:06

I can build and run my app on my device, but when I tried to build archive, I got many errors. The errors are about my 3rd library - google protobuf. It showed that #error H

3条回答
  •  孤城傲影
    2020-12-30 03:35

    For me the problem was that the scheme for "Archive" was different than the scheme for "Run". When i switched "Archive" to use DEBUG instead of RELEASE it worked.

提交回复
热议问题