Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassKit entitlement support for Xcode 9.4 #3911

Closed
dalexsoto opened this issue Apr 10, 2018 · 2 comments
Closed

ClassKit entitlement support for Xcode 9.4 #3911

dalexsoto opened this issue Apr 10, 2018 · 2 comments
Assignees
Labels
enhancement The issue or pull request is an enhancement iOS Issues affecting iOS
Milestone

Comments

@dalexsoto
Copy link
Member

Steps to Reproduce

Xcode 9.4 introduced ClassKit entitlement

From Entitlements.plist:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.developer.ClassKit-environment</key>
	<string>development</string>
</dict>
</plist>

According to documentation (see Optionally Test in Production Mode section) it has two possible values:

  • development
  • production

Expected Behavior

Have support for com.apple.developer.ClassKit-environment entitlement.

Workaround

  1. Manually add com.apple.developer.ClassKit-environment entitlement to your Entitlements.plist file manually as shown above in the xml code section.
  2. Enable the automatic provisioning profiles as explained here https://blog.xamarin.com/even-easier-ios-app-provisioning-visual-studio-mac/
  3. Go to Apple developer portal and head to Certificates, Identifiers & Profiles section.
  4. Inside the portal click on Identifiers > Apps IDs section.

step4

5. Look for your App bundle Id, it should be prefixed with **VS** plus the bundle identifier inside your info.plist (In our example it is `VS com xamarin GreatPlays`) and click the edit button in the lower right.

step5

6. Enable `ClassKit` and hit `Done`.

step6

7. Now you should be able to go back to VS4Mac and deploy to your device.
@dalexsoto dalexsoto added the iOS Issues affecting iOS label Apr 10, 2018
@dalexsoto dalexsoto added this to the Future milestone Apr 10, 2018
@spouliot spouliot modified the milestones: Future, xcode9.4 Apr 10, 2018
@olegoid
Copy link
Contributor

olegoid commented May 1, 2018

@olegoid
Copy link
Contributor

olegoid commented May 1, 2018

The widget will be released with the next stable release of Visual Studio Mac. Closing the issue for now. All further related progress will be tracked in this VSTS task:

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/604982

@olegoid olegoid closed this as completed May 1, 2018
@rolfbjarne rolfbjarne added the enhancement The issue or pull request is an enhancement label Sep 3, 2018
@ghost ghost locked as resolved and limited conversation to collaborators May 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement The issue or pull request is an enhancement iOS Issues affecting iOS
Projects
None yet
Development

No branches or pull requests

4 participants