Xcode 10
编译出现了两个编译错误:
1. Cycle Inside xxx , building could produce unreliable results
2. EXPANDED_CODE_SIGN_IDENTITY: unbound variable
原因
Xcode 10
方案一
Xcode -> File -> WorkSpace Setting -> Build System -> Legacy Build System
Build System
方案二
方案一治标不治本
-
更新
CocoaPod 1.5.3
sudo gem update cocoapods rm -rf ~/Library/Developer/Xcode/DerivedData/* pod install
重新添加
.a
文件
在 Xcode
中 General -> Linked Framework 中重新添加 libPods-xxx.a
-
修改
.sh
文件在 Pod -> Target Support Files -> Pods-xxx - > Pods-xxx-frameworks.sh
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}"替换成if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}"