I am using Xcode 10.1. Everytime I build my project I get this error:
/Users/{username}/Library/Developer/Xcode/DerivedData/{random_name}/Build/Intermediates.noindex/.... line 2: /Users/{username}/path_to_app/Pods/Target Support Files/pod_name/... Permission denied
I already tried the accepted answer here. I also tried doing the sudo chown
but those did not fix the error. These are the actual steps I did, multiple times:
- Remove all files in the DerivedData
- Do the sudo chown in both paths: DerivedData and path_to_app
- Clean
- Build
What am I missing?