HomeiOS DevelopmentXcode 26.1.1 React Native construct fails: “Couldn't delete ios/construct” & “Operation not...

Xcode 26.1.1 React Native construct fails: “Couldn’t delete ios/construct” & “Operation not permitted”


I’m constructing a React Native 0.72.10 iOS app and hitting construct errors.

Surroundings:

Errors:

  1. Couldn't delete /Customers/.../ios/construct as a result of it was not created by the construct system

  2. Unable to jot down file '/Customers/.../ios/construct/Pods.construct/Debug-iphonesimulator/...': Operation not permitted
    (A number of Pods / React Native framework headers affected)

What I’ve tried:

rm -rf ios/construct
rm -rf ~/Library/Developer/Xcode/DerivedData
xattr -w com.apple.xcode.CreatedByBuildSystem true ios/construct
pod deintegrate && pod set up
sudo chown -R $(whoami) ios/construct

Observations:

  1. Why does Xcode fail to delete / write to ios/construct despite the fact that it’s recreated routinely by the construct system?

  2. Is that this attributable to Xcode itself, macOS permissions, or a React Native / Pod subject?

  3. Any advisable repair or workaround for these “Operation not permitted” errors?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments