Skip to content
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

Replaced all Cocoapods Dependencies with SPM Dependencies #238

Merged
merged 4 commits into from
Sep 25, 2023

Conversation

brototyp
Copy link
Member

@brototyp brototyp commented Sep 24, 2023

This PR

  • Replaces all Cocoapods Dependencies with SPM dependencies
  • Ditches the SwiftLint dependency (if SwiftLint is installed, it will still be executed, but it's not an automatic dependency anymore)
  • Ditches the Rakefile for CI
  • Fixes an issue when using Cauli via SPM

@brototyp brototyp force-pushed the switch-from-cocoapods-to-spm branch 5 times, most recently from ccdfacc to e836beb Compare September 24, 2023 11:00
Comment on lines +148 to +155
internal extension Cauli {
static var bundle: Bundle {
#if SWIFT_PACKAGE
return Bundle.module
#else
return Bundle(for: SwitchTableViewCell.self)
#endif
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the change that fixes the crash when using Cauli via SPM.

@brototyp brototyp merged commit a9b3537 into develop Sep 25, 2023
5 checks passed
@brototyp brototyp deleted the switch-from-cocoapods-to-spm branch September 25, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant