Project Initialization
After downloading SwiftyLaunch, open it and press on Create a New Project.
Base App Information
- Enter your App Name.
- Enter your Organization Name (usually your last name, or your company name)
- Select the minimum iOS Deployment Version.
- Select the Path where you want your project to install.
Framework Selection
Select all the built-in functionality that you want your App to have. This will install all the needed dependencies and generate all the necessary boilerplate code.
To read more about individual built-in Frameworks, see Frameworks.
Project Created
Now that the Project has been initialized, press on Open in Xcode.
Select your Signing Team
Select your desired developer account to sign your Application.
If you don't see your account, make sure that you have an active Apple Developer Membership and that you're logged into you Apple ID in Xcode.
Only for NotifKit: Select the Signing Team
If you selected NotifKit as a Framework, you must also select the signing team for the OneSignalNotificationExtension Target.
Uncomment following code
Uncomment following code (located in App.swift
), depending on the frameworks that you've selected (or didn't select):
This code will initialize RevenueCat and connect all the different providers together, so every users shares the same User ID (source of truth it Firebase UID).
Build the Project
Build the Xcode Project by pressing ⌘+B. It might take a while.
Only for AuthKit & DBKit: After building, you will probably see an error message saying that Firebase needs initialization. This is normal, and will resolve itself when you're done setting up Firebase in the next step.