Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

appsinacup/godot-apple-login

Repository files navigation

DISCONTINUED IN FAVOUR OF: GodotApplePlugins

banner

A Godot Swift extension that adds Apple Sign In functionality for both iOS and macOS.

Discord | Guide

Install

From Godot Assets

Download from Godot Asset Library.

From GitHub

The automated actions should also export binaries. Download latest.## Install

Copy the addons folder in order to install.

Configure

For iOS, set at Project -> Export -> iOS -> entitlements/additional:

<key>com.apple.developer.applesignin</key>
<array>
    <string>Default</string>
</array>

For macOS, set the same entitlements as above (eg. when running codesign):

codesign --force --options=runtime --verbose --timestamp \
  --entitlements entitlements.plist --sign "<SIGN_ENTITY>" \
  "MyApp.app/Contents/MacOS/MyApp"

where entitlements.plist contains again:

<key>com.apple.developer.applesignin</key>
<array>
    <string>Default</string>
</array>

Test

Now you can do in GDScript:

var apple_sign_in:= AppleSignIn.new()

func _ready() -> void:
	apple_sign_in.apple_output_signal.connect(apple_output_signal)
	apple_sign_in.sign_in()

func apple_output_signal(id, email, name, error):
	if error:
		print("Error: ", error)
	else:
		print("Success: ", id, email, name)

Build

Build locally after installing XCode:

./build.sh release

Notes

About

Apple Sign In working on iOS and mac

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors