ios – Xcode Sandbox Permission Denied Error with CocoaPods on Specific Project


I keep receiving the following errors when I run previews or builds of my App

error: Sandbox: rsync.samba(3328) deny(1) file-write-create /Users/myname/Library/Developer/Xcode/DerivedData/TESTER-hbrfsmbquzqcrpfrhpzcnelekwor/Build/Intermediates.noindex/Previews/TESTER/Products/Debug-iphonesimulator/TESTER.app/Frameworks/ScrollCounter.framework/_CodeSignature (in target 'TESTER' from project 'TESTER')

error: Sandbox: rsync.samba(3329) deny(1) file-write-create /Users/myname/Library/Developer/Xcode/DerivedData/TESTER-hbrfsmbquzqcrpfrhpzcnelekwor/Build/Intermediates.noindex/Previews/TESTER/Products/Debug-iphonesimulator/TESTER.app/Frameworks/ScrollCounter.framework/.Info.plist.dyIsUH (in target 'TESTER' from project 'TESTER')

error: Sandbox: rsync.samba(3329) deny(1) file-write-create /Users/myname/Library/Developer/Xcode/DerivedData/TESTER-hbrfsmbquzqcrpfrhpzcnelekwor/Build/Intermediates.noindex/Previews/TESTER/Products/Debug-iphonesimulator/TESTER.app/Frameworks/ScrollCounter.framework/.ScrollCounter.p9bsAO (in target 'TESTER' from project 'TESTER')

I just implemented a CocoaPods library called ScrollCounter into it, I have used it before and have it in other projects and it works fine – but now when I try and implement it and then preview my code I get the following sandbox errors.

I’ve cleaned the build folder, I’ve started another new project and reinstalled the Pods – my podfile is the same as my other working one (Yes I changed the targets). But no dice. Very confused as to why it works on another project but not in this one and any other that I try and start.

Tried this and had no luck

 chmod -R 755 /Users/myname/Documents/TESTER 

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img