1 . 錯(cuò)誤: The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile 。
解決:刪除Build Settings里面的Code Signing Entitlements的值
2.選擇默認(rèn)的xcode (多個(gè)版本)
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
3.Undefined symbols for architecture arm64 (POD 里面一直就是在真機(jī)環(huán)境編譯不過(guò)去)
解決: 進(jìn)入 /Users/apple/Library/Developer/Xcode/DerivedData,刪除對(duì)應(yīng)的文件
3.Xcode 抽風(fēng)沒(méi)有提示
在 Run => Arguments=> Environment Variables => 添加 name: OS_ACTIVITY_MODE value: Disable