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

Enable capability without Xcode (and additionally for developer accounts) #280

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions packages/sign_in_with_apple/sign_in_with_apple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,22 @@ The setup for macOS is mostly similar to iOS. As usual for Flutter development f
- Ensure that "Sign in with Apple" is listed under the capabilities (if not, add it via the `+`)
- Additionally there should be no warning on that screen. (For example your Mac must be registered for local development. (If not, you'll see a "one click fix" button to do so.))
- In the terminal navigate back to the root of the `example` folder and `flutter run` on your test device

### Enable Without Xcode (And Additionally For Developer Accounts)

If you want to enable capability without using Xcode (or for an Apple developer account), you need to add or create a `com.apple.developer.applesignin` entitlement - either through Xcode (see below) or by editing (or creating and adding to Xcode) `ios/Runner/Runner.entitlements` file.

```xml
<?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>
<!-- ... other keys -->
<key>com.apple.developer.applesignin</key>
<array>
<string>Default</string>
</array>
<!-- ... other keys -->
</dict>
</plist>
```