Dev/Flutter

Flutter - Could not build the precompiled application for the device

healthyryu 2023. 11. 10. 00:51

Could not build the precompiled application for the device.
Error (Xcode): Sandbox: rsync.samba(79798) deny(1) file-write-create /.../build/ios/Debug-iphoneos/Flutter.framework
Error (Xcode): Sandbox: dart(79778) deny(1) file-write-create /.../build/ios/Debug-iphoneos/.last_build_id
Error (Xcode): Flutter failed to write to a file at "/.../build/ios/Debug-iphoneos/.last_build_id".

 

Xcode15 이상으로 업데이트하면서 BuildOption 으로 인해서 발생하는 오류. UserScriptSandboxing  값을 No 로 설정해줘야 한다.

 

Runner -> Build Settings -> BuildOptions -> User Script Sandboxing

반응형