Xcode 15 beta build issues


Sandbox: rsync.samba(12698) deny(1) file-write-create /Users/shrek/Library/Developer/Xcode/DerivedData/PhotoPC-dejmlgrmwbxazrgvfwpxvhadwsuy/Build/Products/Debug-iphonesimulator/PhotoPC.app/Frameworks/Alamofire.framework/.Alamofire.ihLdr1

Sandbox: rsync.samba(12698) deny(1) file-write-create /Users/shrek/Library/Developer/Xcode/DerivedData/PhotoPC-dejmlgrmwbxazrgvfwpxvhadwsuy/Build/Products/Debug-iphonesimulator/PhotoPC.app/Frameworks/Alamofire.framework/.Info.plist.vn2fty
![]("https://developer.apple.com/forums/content/attachment/fb5c4e33-9603-4c87-9f39-aab81475dbf9" "title=Screenshot 2023-06-07 at 00.48.08.png;width=1429;height=232")

Please help me.

Post not yet marked as solved Up vote post of codans Down vote post of codans
25k views
  • Here are detail video https://youtu.be/sY2ppjU_PM8

  • Worked for me. Check that ENABLE_USER_SCRIPT_SANDBOXING is disabled in the project's build settings.

Add a Comment

Replies

This way worked for me as well.

  • I can't see any solution on this page, What was the solution?

Add a Comment

Works great! Thanks for the save :)

This doesn't seem to work for me. When I do that I get "Command PhaseScriptExecution failed with a nonzero exit code"

In my case I needed to update homebrew 'brew update'

Updated Ruby to a version >= 2.7.0 'brew install ruby'

Homebrew Ruby to PATH. Find the directory with 'which ruby' and replace the file names to your .zshrc or ~/.bash_profile OR ~/.bashrc file. (export PATH="/usr/local/opt/ruby/bin:$PATH")

Reload your SHELL config 'source ~/.bash_profile'

Be sure to have the right gem 'sudo gem install cocoapods' I used 'gem update --system 3.5.1'

Navigate to the ios/ directory and 'pod install'

Move back to the root directory then run watchman watch-del-all rm -rf $TMPDIR/react-* npx react-native start --reset-cache

Here are full guidance how fix this error in xcode 15 https://youtu.be/sY2ppjU_PM8

if you get these errors its very simple just go to project and "Build Settings" then set "User Script Sandboxing" and set to NO then product **=> Clean build Project ** Then run the project.