Reputation: 743
So I am trying to Archive my Xcode project to upload to the app store however I am getting the following error;
PBXp Error
error: /Users/User/Library/Developer/Xcode/DerivedData/APPNAME-aurgdfrsdgrsdgwzxglhhaw/Build/Intermediates/ArchiveIntermediates/APPNAME/BuildProductsPath/Release-iphoneos/MyBundle.bundle: No such file or directory
I have tried;
Does anybody have any ideas why this is happening & how to resolve ?
UPDATE
The files are shown as missing when dragging and dropping the project into my project;
I am unable to run the project without the PBXp error until I run each target individually. Then the project runs fine.
However It is still an issue when archiving.
Upvotes: 3
Views: 3314
Reputation: 3592
The problem is probably that the Ensembles.bundle
is not being built in your Release build for archiving.
Add Ensembles Resources iOS as a dependency of your own app. That will ensure it builds before your app, including the Release build. You set that in the Build Phases tab of your app's target.
Upvotes: 4