-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make Podspec working #2
Comments
Oh, thanks a lot! I actually tried making the Podspec at a stage where cocoapods was not working very well with Xcode 8 yet (the validation tool was not possible to run)… and I'm no expert in using it. However, Carpaccio should be a simple one as we don't do anything clever with build settings. I'll take a look at the iOS build I've recently added in the Xcode project and report back in a bit -> |
Oh, that Xcode based build for iOS is actually happily building now (also tests, including on travis – that CI was failing for a while because of Xcode 8 issues as well). This is the full set of source code files that should be compiled in:
|
Ah, that RAWConverter.mm was actually a remnant of our earlier RAW converter code which was based on libraw – we since moved over to CoreImage. I've dropped those source files now from the repo, altogether with libraw etc static libraries that were still in the repo and no longer necessary. |
Just be sure to use the latest (currently pre-release) version of CocoaPods. |
Thanks, that got me a bit further (progress pushed to master) – maybe you know how to finish this off?
|
Looking at your fork btw, the All in all this should really be as simple a pod as it gets – the Xcode configuration literally just compiles that handful of source files and links against AppKit / UIKit. |
I'll investigate tomorrow. As far as I understood, you need CocoaPods 1.1.0.rc.2 for Swift 3.0 |
Yep, it seems to all work now – pod install / update works with the Swift compiler version set in the containing target. Tested with this tiny Podfile hooked to a made up Foobar Xcode macOS app target:
(iOS should be fine too) What I wasn't able to work out yet successfully is how to get |
Yep, a few more tweaks were still necessary, now up – the Swift compiler version can now be hinted for |
Please reopen if you hit any issues with building Carpaccio as a cocoapod. |
Hi,
I was trying to update your Podspec, unfortunately it's still not working (see my branch), but I think together we can figure out this problem.
Currently, I have the following problems:
The text was updated successfully, but these errors were encountered: