Creating an iOS Swift Project Manually
If you prefer not to use forceios or CocoaPods, you can create Mobile SDK apps manually in Xcode.
Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.
The following tutorial shows two ways to create a native iOS Swift project:
- Borrowing source files from the Mobile SDK Swift template app
- Using Swift Package Manager.
Instructions fall into four sections that must be performed in the sequence shown:
- Create an Xcode Swift Project
- Add Mobile SDK Libraries to Your Project
- Configure Your Project’s Build Settings
- Choose an option:
All sections support Xcode 12.4 and Xcode 13.