๏ฃฟ Sign in with Apple Example App ![](https://camo.githubusercontent.com/0c86dc1c4039ecb0fdab9974abcfd751ac962c0b44f93d8f02a2de07c3b3a1bd/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c3f75726c3d68747470732533412532462532466769746875622e636f6d25324647657453747265616d2532467369676e2d696e2d776974682d6170706c652d73776966742d6578616d706c65)
This repository contains the completed iOS and Node.js projects following the Adding Sign in with Apple to your iOS App tutorial. You should read it before trying to run this project as it contains it may contain useful information not present in this README.
This repository is built on top of this iMessage Clone repository. By cloning that repository and following the tutorial, you will arrive at a similar state to this one.
You should place your Stream Chat and Apple Developer credentials in backend/index.js
. Make sure to also change the IP address in iMessageClone/Authentication.swift
with the IP and port where the backend is running.
For more information on the Apple Developer credentials you need and how to get them, see the SETUP.md for apple-auth
.
Dependencies are included, but if you need to make any changes, use CocoaPods in the root folder:
$ pod install --repo-update
And for the backend, use Yarn or NPM in the backend
folder:
$ yarn install
or
$ npm install
To run the backend, you need Node.js 10+, and execute the command node index.js
in the backend
folder.
To run the iOS project, you need Xcode 11+ and a real iOS 13 device signed in with an Apple ID and Two-Factor Authentication enabled. Sign in with Apple does not work on simulators!
- Build an iMessage Clone with The Stream Chat iOS SDK
- Stream Chat iOS Tutorial
- Stream Chat iOS Repo
- Stream Chat iOS Docs
You forgot to add the Sign in with Apple capability.
Sign in with Apple won't work on a simulator. You must use a real device.