Google iOS SDK fails to archive (use of undeclared identifier errors)

て烟熏妆下的殇ゞ 提交于 2019-12-04 15:25:14

Your issue has something to do with the configuration of archiving in combination with your Release settings. If you change the scheme settings Command + < to use the Debug configuration for archiving, you may be able to successfully archive your app. This means that somewhere you are probably not matching the Debug and Release configurations.

See the following screenshot for example project Build Settings that are missing the Swift bridging header in release:

Add bridge.h to the release configuration and you will be able to build with the Release schema and you will be able to archive under release configuration.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!