Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

CI builds may fail if no entitlements file exists #331

Closed
EddyVerbruggen opened this issue Mar 23, 2017 · 4 comments
Closed

CI builds may fail if no entitlements file exists #331

EddyVerbruggen opened this issue Mar 23, 2017 · 4 comments
Assignees
Milestone

Comments

@EddyVerbruggen
Copy link
Owner

This line doesn't play nice with the empty reject here - so let's not do an empty reject.

@spike1292
Copy link

good find, will also implement this in our nativescript-custom-entitlements plugin

@RaphaelJenni
Copy link
Contributor

Since this "fix" our CI build fails because our provisioning profile isn't configured for this entitlements.
@EddyVerbruggen Do you know how to fix that?

@EddyVerbruggen EddyVerbruggen changed the title CI builds may file if no entitlements file exists CI builds may fail if no entitlements file exists Apr 13, 2017
@EddyVerbruggen
Copy link
Owner Author

@RaphaelJenni Can you elaborate? I'm not entirely sure what you mean. Code may help.

@RaphaelJenni
Copy link
Contributor

Always get this error. But only if I build for release.

18-Apr-2017 10:00:01	Check dependencies
18-Apr-2017 10:00:01	The file "/PATH/nativescript/platforms/ios/PROJECT_NAME/PROJECT_NAME.entitlements" could not be opened. Verify the value of the CODE_SIGN_ENTITLEMENTS build setting for target "nativescript" and build configuraiton "Release" is correct and that the file exists on disk.
18-Apr-2017 10:00:01	Code signing is required for product type 'Application' in SDK 'iOS 10.2'
18-Apr-2017 10:00:01	Code signing is required for product type 'Application' in SDK 'iOS 10.2'
18-Apr-2017 10:00:01	
18-Apr-2017 10:00:01	** BUILD FAILED **
18-Apr-2017 10:00:01	
18-Apr-2017 10:00:01	
18-Apr-2017 10:00:01	The following build commands failed:
18-Apr-2017 10:00:01	        Check dependencies
18-Apr-2017 10:00:01	(1 failure)
18-Apr-2017 10:00:01	Command xcodebuild failed with exit code 65
18-Apr-2017 10:00:01	# build ios

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants