-
Notifications
You must be signed in to change notification settings - Fork 13
Conversation
I'm ok with supporting Carthage, but removing Podfile and Podfile.lock makes compiling Gaikan with Cocoapods impossible. From what I see, we should do the following to get everything working:
What do you think about that? |
I have tested both Carthage and Cocoapods with my changes and they both seem to work. The KVOController is not the problem, it already supports both Cocoapods and Carthage. |
Relevant video: https://realm.io/news/tryswift-jeff-hui-creating-a-swift-library/ |
|
Correct, you would have to use Carthage for that.
|
Ok I'll take a look ASAP. |
@siemensikkema I can't get A shell task (/usr/bin/xcrun xcodebuild
-project /Users/pjechris/projects/akane/Gaikan/Carthage/Checkouts/Nimble/Nimble.xcodeproj
-scheme Nimble-tvOS
-configuration Release
-sdk appletvos
ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES
clean build) failed with exit code 65 ld: '/Applications/Xcode-7.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks/XCTest.framework/XCTest' does not contain bitcode.
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE) or obtain an updated library from the vendor for architecture arm64 |
@pjechris have you used the |
@siemensikkema I got everything working, thanks! |
I don't want to start a flamewar with Cocoapods supporters but this way I was able to support both Carthage and Cocoapods for including Gaikan in a project.
Quick and Nimble are installed using
Cartfile.private
meaning they won't be compiled for users of the framework but they remain available for testing.see #6