Reputation: 6760
I'm using UI-Screen-Shooter to compile my app for screenshots. After I added a Today Extension the compilation won't finish due to not finding the AppExtension.appex directory. The directory is there but under a different name than xcodebuild is expecting. It is called app.appex and Xcode is looking for PhotoMind Upcoming.appex.
It fails with this PBXCp error:
/tmp/screen_shooter/PhotoMind Upcoming.appex: No such file or directory
How would tell xcodebuild that it is called app.appex instead of the name it is looking for?
Upvotes: 1
Views: 2599
Reputation: 299
Select "Extension" Target ----> Build Settings;
Search "name" or "Product Name",
Setting the "Product Name" (of "Extension" Target) to "app".
Upvotes: 0
Reputation: 6760
I didn't find how to change the path of the Extension in Xcode build, but I was able to get UI-Screen-Shooter to build and run my app by checking the Copy only when installing box in the Build Phases settings.
Upvotes: 4