c3-pro-ios-framework
c3-pro-ios-framework copied to clipboard
Unable to add framework using Carthage
Hi, I am trying to integrate C3-PRO-iOS-Framework using carthage. github "C3-PRO/c3-pro-ios-framework.git" Above line is in Cartfile
On running below command I am getting error which is attached below. carthage update --platform "iOS"
*** Fetching c3-pro-ios-framework *** Fetching SQLite.swift *** Fetching CryptoSwift *** Fetching ResearchKit *** Fetching Swift-SMART *** Checking out CryptoSwift at "0.6.9" *** Checking out ResearchKit at "2efdb9d56f72b75655fc536daced38bcf49951f7" *** Checking out SQLite.swift at "d7974d37a5a7108f38e3bc45067351dd8c09ef5b" *** Checking out Swift-SMART at "2.8.1" *** Checking out c3-pro-ios-framework at "1.8.0" *** xcodebuild output can be found in /var/folders/wh/8976_lrs5tg5p6s80nxjvgvh0000gp/T/carthage-xcodebuild.RDtFs8.log *** Building scheme "CryptoSwift" in CryptoSwift.xcworkspace *** Building scheme "ResearchKit" in RKWorkspace.xcworkspace *** Building scheme "SQLite iOS" in SQLite.xcodeproj *** Building scheme "SwiftSMART-iOS" in SwiftSMART.xcodeproj *** Building scheme "C3PRO" in C3PRO.xcworkspace 2017-05-12 12:15:12.402 xcodebuild[39549:6957180] +dataWithFirstBytes:1024 ofFile:"/Users/yogendras/Desktop/C3POC/Carthage/Checkouts/c3-pro-ios-framework/examples/enc/public.crt" failed, errno = 3 ** BUILD FAILED **
The following build commands failed: CompileSwift normal arm64 CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (2 failures)
Carthage may not work since you'll need to add your own public key for the server backend. I'm afraid you'll have to wrestle with git and Xcode a bit to get it going.
The C3PRO framework seems to only be available on carthage in version 1.8.0 not in the current 2.0 version supporting FHIR STU3.