iOS--Archive打包报错:linker command failed with exit code 1 (use -v to see invocation)

正常真机调试运行没问题,选择Archive打包后,编译过程中出现以下错误

linker command failed with exit code 1 (use -v to see invocation)   

解决办法:
1.在Build Settings中搜索Custom Compiler,输入以下内容:-fembed-bitcode

2.搜索Enable Bitcode,设置为No;

你可能感兴趣的:(iOS--Archive打包报错:linker command failed with exit code 1 (use -v to see invocation))