-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Swift Package in iOS #143
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi and thank you for this library!
Wanted to test it out in an actual iOS project, but when I tried to import it the usual SPM way from Xcode, I'm getting this:
and that's because to be able to import the library, SPM needs
Package.swift
and all the Swift package contents to be in the root of the repository. Being this a monorepo, one possible way to solve this is:ios
) and switch to itios
branch rootios
branchios
branchmain
branch when you want to perform an iOS release, which clones theios
branch in a separate folder, cleans its content, copies over all the contents from theswift
folder and then commits, pushes and tags (.e.g1.0.0-ios
).In that way it will be possible to import the SPM package in Xcode and other SPM packages by specifying the git repo and the ios tag.
The text was updated successfully, but these errors were encountered: