Post

Replies

Boosts

Views

Activity

Persistent 'Sandbox: mkdir deny(1)' Error in Xcode 15 on macOS Sonoma 14.3—Anyone Solved This?
Hello developers, I'm reaching out to see if anyone else has encountered and resolved the following error in Xcode 15 on macOS Sonoma: Sandbox: mkdir deny(1) file-write-create /Users/olawaleabosede/Library/Developer/Xcode/DerivedData/My750hrstracker-erjbkgyqqlopoegusonsambuhznx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-rncore.build/DerivedSources/generated This error is preventing me from building my app due to restrictions on directory creation in DerivedData. I've tried the following solutions without success: Disabled ENABLE_USER_SCRIPT_SANDBOXING in Build Settings. Cleared and reset permissions on the Derived Data folder using chmod -R 777. Set a custom Derived Data location outside the default ~/Library/Developer folder. Reinstalled dependencies and cleared CocoaPods cache by running pod deintegrate and pod install. Granted Xcode full disk access in System Preferences > Security & Privacy. Despite these efforts, the issue persists. I've read that this may be related to stricter sandbox policies introduced in Sonoma and Xcode 15, but I’m wondering if there are any additional workarounds that have worked for others. If anyone has experienced and resolved this issue—or has any new insights on managing this with external dependencies like React Native and CocoaPods—I’d greatly appreciate your advice. Thank you in advance for any help or guidance you can provide! Best regards,
2
2
785
3w