在 MacOS 14,Xcode15 以上的版本創(chuàng)建項目以后新娜,如果通過系統(tǒng)自動生成了文件(比如Swift的橋接文件)赵辕, 在pod install 以后會出現(xiàn)以下錯誤:
解決辦法:
這里改為NO
User Script Sandboxing
In Xcode, the "User Script Sandboxing" setting is designed to control the level of access that user scripts have to system resources and user data. This setting is part of Xcode's security features to ensure that scripts run within a controlled environment, which helps prevent unintended or malicious modifications to system files or sensitive data. By enabling sandboxing, you can restrict a script’s ability to access the filesystem, network, and other system resources, thereby reducing the risk associated with running custom scripts during the development process.
用戶腳本沙盒設置:用途是控制用戶腳本對系統(tǒng)資源和用戶數(shù)據(jù)的訪問級別, 設置為NO就不會去校驗權(quán)限問題了