-
Notifications
You must be signed in to change notification settings - Fork 25
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
Convert example project to Carthage #14
Comments
Feel free to assign this to me, added this ticket to track progress as noted in #12 . |
Sounds like a good suggestion. As long as we still support CocoaPods for the main sReto framework, I am happy :-) Feel free to create a PR. I would like to create another CocoaPod release in the next days as well. I will then wait until you have fixed this issue. |
I updated the title and description, I kept typing Cocoapods when I meant Carthage 🤦♂️ |
Alright :-) I think we should look to Alamofire for guidance as I did this in the past as well (a long time ago when Carthage was not so popular). They have CocoaPods and Carthage support and they also have an example project. We might also be able to support Swift packages in the future. |
In relation to the partial add of Carthage in PR #12
Carthage support is partial since Carthage tries to use the XCode project to build the frameworks when included as a dependency in another project.
The current XCode project only builds after a executing
pod install
Current workaround is to
In order to fix this issue, the example project would need to be fixed to build successfully without executing any additional commands.
This could be done in 2 ways,
pod setup
by modifying the.gitignore
rules to include the checked out source.Cartfile
, checkout and build and create proper symlinks to the shared checkout after resolving version mappings.I suggest solution 2, which would still maintain Cocoapods support side by side to Carthage support.
The text was updated successfully, but these errors were encountered: