-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[msbuild] Validate entitlements in CompileEntitlements.
A very common problem customers run into is when they build for release, and don't update the entitlements their app requests correctly. In particular this happens often with the `aps-environment` entitlement, which must be "development" for local development, and "production" when publishing to the App Store. Fortunately the error the App Store is fairly actionable, but the reverse isn't true: using "production" for local development will just fail with a generic error about not being able to install the app on the device. So add validation for the entitlements. We currently only validate the `aps-environment` entitlement, but this can easily be expanded to more entitlements in the future. Additionally we now log all the entitlements a provisioning profile grants, which will help with debugging customer problems.
- Loading branch information
1 parent
874ee22
commit 4c870a9
Showing
10 changed files
with
297 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+12.1 KB
.../Xamarin.MacDev.Tasks.Tests/Resources/APS_Development_Environment_Profile.mobileprovision
Binary file not shown.
Oops, something went wrong.