Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Add Support for Swift Package Manager (Minor Update) #34

Merged
merged 3 commits into from
Jul 29, 2019
Merged

Add Support for Swift Package Manager (Minor Update) #34

merged 3 commits into from
Jul 29, 2019

Conversation

robfeldmann
Copy link
Contributor

This PR includes the previous pull request from @Tkhp and adds the following minor modifications:

  • adds the other supported platforms (tvOS and watchOS) to the Package.swift file (these are listed as being supporting in the .podspec)
  • adds .swiftpm to the .gitignore file (pretty sure these should be ignored)

As a refresher, @Tkhp submitted #33:

As of Xcode 11, Xcode has Swift packages integration so we can now install R.swift.Library in Xcode by Swift Package Manager.
I wrote a basic Package.swift and a manual to install R.swift.Library with Xcode's Swift packages integration.
I've tested it and migrated from Carthage in my private projects, and everything works well.

I can also confirm this works great. Hopefully these will be accepted soon.

Thanks!

@tomlokhorst
Copy link
Collaborator

Thanks for this update!

Have you by any change gotten R.swift to work with SPM on watchOS?
I can't get it to import on watchOS, but it does work with tvOS, so I'm assuming it's some Xcode beta thing.

@kylebrowning
Copy link

@tomlokhorst Thanks for merging this, but FYI 5.1.0.alpha.1 is not a valid semantic version, and cannot be resolved by SPM.

@kylebrowning
Copy link

Screen Shot 2019-10-04 at 9 59 58 AM

And the project currently doesn't resolve on latest 5.0.1 because it does not have Package.swift in it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants