Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
Description
Since CB-11854, my builds fail. Specifically, xcodebuild fails to find the Entitlements-Release.plist file in the resources directory. This is the error message I am getting:
CopyPlistFile Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app/Entitlements-Release.plist App/Resources/Entitlements-Release.plist cd platforms/ios builtin-copyPlist --convert binary1 --outdir /Users/buijs/Library/Developer/Xcode/DerivedData/App-gkrrnbcilhcownetcuuhlwrvlwwd/Build/Intermediates/ArchiveIntermediates/App/InstallationBuildProductsLocation/Applications/App.app -- App/Resources/Entitlements-Release.plist App/Resources/Entitlements-Release.plist:0: error: reading data: The file “Entitlements-Release.plist” couldn’t be opened because there is no such file.
Is there a copy step missing from the build proces?
The entitlements file is correctly generated at $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist, but xcodebuild expects it's path to be: $(PROJECT_DIR)/$(PROJECT_NAME)/Resources/Entitlements-$(CONFIGURATION).plist