正常真機(jī)調(diào)試運(yùn)行沒問題瀑志,選擇Archive打包后谐宙,編譯過(guò)程中出現(xiàn)以下錯(cuò)誤
linker command failed with exit code 1 (use -v to see invocation)
解決辦法:
1.在Build Settings中搜索Custom Compiler掰邢,輸入以下內(nèi)容:-fembed-bitcode
2.搜索Enable Bitcode毒费,設(shè)置為No;