ReSwiftThunk icon indicating copy to clipboard operation
ReSwiftThunk copied to clipboard

Carthage platforms: macOS & watchOS

Open DivineDominion opened this issue 9 years ago • 1 comments

Add support for macOS and watchOS build targets. I'm no CocoaPods specialist, but to test-drive building the library targets, I had to modify the Podfile to build ReSwift for different platforms, too. Maybe this can be simplified? 🤔

DivineDominion avatar Dec 04 '16 08:12 DivineDominion

@DivineDominion thanks for taking a shot at this! I'm actually not 100% on this part of Cocoapods, but I would expect that the ReSwiftThunk.podspec file would be a minimum for building against other targets. I believe the podspec is already up-to-date in that respect. I'll check out your branch this evening if I can find some time and we'll get it merged.

In the meantime, cocoapods allows you to point directly at your branch so you can use it until it does get merged. In your Podfile, just use pod 'ReSwiftThunk', :git => 'https://github.com/DivineDominion/ReSwiftThunk.git', :branch => 'carthage-platforms'.

mikecole20 avatar Dec 05 '16 14:12 mikecole20