Unity 发布IOS /clang:-1: linker command failed with exit code 1 (use -v to see invocation)

发布IOS遇到了/clang:-1: linker command failed with exit code 1 (use -v to see invocation)问题

相关链接:

https://www.jianshu.com/p/03aec7c4867d

http://www.cnblogs.com/xsyl/p/6085844.html

最后解决方案

1. ”Build Settings”->”Enable Bitcode”设置为NO ,因为有些SDK不支持Bitcode (好像只需要修改这个即可其他方式大家也可以进行参考)

2. 把Other Linker Flags下的属性全删除了。(删除之后打包会很慢。)

3. 设置打包模式为Release  "product"->"scheme"->"Edit Scheme" 

检查 Run下的 Build Configuration 是否为Release 

检查Archive下的 Build Configuration 是否为Release 

发布了36 篇原创文章 · 获赞 4 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/qq_39342142/article/details/86476778