Tag Archives: Xcode compilation

Xcode – pbxcp Error Repair – no such file or directory

Xcode-pbxcp error fixes -No such file or directory, which is almost a common compilation error in Xcode. The reason is usually caused by an error when adding or deleting art resources. It’s a small problem, but it comes up quite frequently.

Solutions (try one after the other, and there is always one that will solve the problem) :
Methods 1. Xcode, then from the finder and into the ~/Library/Developer/Xcode/DerivedData delete all the content inside, and then restart Xcode give it a try

Method 2. The above operations can also be performed directly in The Xcode organizer, switch to projects in the organizer, and then delete derivedData
Delete the PrefixHeader values from the Target Settings and try restarting Xcode
Finally, restore the setting of the Prefix Header

Method 3:
It’s still in Xcode
Project – the targets – buildphases,
Then delete the red error resource file from copy Bundleresources