SDK does not contain ‘libarclite’ at the path…
解決方法:去pod里面搜索iOS Deployment Target,全部替換成最低支持iOS 12.0
dyld: Library not loaded: : @rpath/AFNetworking.framework/AFNetworking
解決方法:執(zhí)行 pod install
Sandbox: rsync.samba (13105) deny(1) file-write-create
Xcode 15 Build 項(xiàng)目報(bào)錯(cuò):
error while build iOS app in Xcode : Sandbox: rsync.samba (13105) deny(1) file-write-create, Flutter failed to write to a file
ENABLE_USER_SCRIPT_SANDBOXING是Xcode 15中引入的新選項(xiàng),用于控制用戶腳本在Sandbox環(huán)境下的運(yùn)行。當(dāng)該選項(xiàng)開(kāi)啟時(shí),用戶腳本將被運(yùn)行在一個(gè)限制性的環(huán)境中,無(wú)法訪問(wèn)系統(tǒng)敏感信息或文件。這可以顯著增加X(jué)code的安全性。
另:在Xcode的Project和Targets中,找到“Build Settings”內(nèi)的“ENABLE_USER_SCRIPT_SANDBOXING”選項(xiàng),將其設(shè)置為“YES”,即可開(kāi)啟此選項(xiàng)。
Xcode 14 中 Realse Note 說(shuō)明了新增 ENABLE_USER_SCRIPT_SANDBOXING
You can now enable sandboxing for shell script build phases using the ENABLE_USER_SCRIPT_SANDBOXING build setting. Sandboxing blocks access to files inside the source root of the project as well as the Derived Data directory unless you list those files as inputs or outputs. When enabled, the build fails with a sandbox violation if a script phase attempts to read from or write to an undeclared dependency, preventing incorrect builds. (90506067)
Sandboxing 會(huì)阻止項(xiàng)目根目錄和 Devried Data 文件夾,除非通過(guò)設(shè)置 Input Files 和 Output Files 指定要訪問(wèn)哪些資源

解決方法
設(shè)置 Build Settings 中的 ENABLE_USER_SCRIPT_SANDBOXING 為 No
