iOS/tvOS/macOS Repo Migration Guide
We renamed the iOS/macOS/tvOS repo from ios-sdk
to statsig-kit
Motivation
The Statsig Swift SDK repo used to live on statsig-io/ios-sdk
. Since Xcode uses the repository name as the package name, it would use ios-sdk
.
This same repo name is used by other packages, like Spotify's, which caused a conflict for apps trying to import both SDKs.
Given that this issue was blocking some customers from using Statsig, we decided to rename the repo. Thank you to everyone that reported the issue.
Migration Guide
Apps using Xcode
Optional Migration: The existing repo will continue working thanks to GitHub's redirect.
- In Xcode, click on your project on the sidebar. That's usually the item on the root of the tree view.
- Choose your project under the "Project" section of the second sidebar
- Choose the "Package Dependencies" tab on the top
- Find Statsig's SDK row
- On the Location column, replace
https://github.com/statsig-io/ios-sdk.git
withhttps://github.com/statsig-io/statsig-kit.git
Packages using Package.swift
Required Migration: GitHub's repo redirect doesn't work for packages using Package.swift
- Open your Package.swift file
- Replace
https://github.com/statsig-io/ios-sdk.git
withhttps://github.com/statsig-io/statsig-kit.git
- Replace
ios-sdk
withstatsig-kit
- Build your project. If you get an error, build again at least once.