Skip to content
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

Unable to add framework using Carthage #4

Open
YogendraShelke opened this issue May 12, 2017 · 2 comments
Open

Unable to add framework using Carthage #4

YogendraShelke opened this issue May 12, 2017 · 2 comments

Comments

@YogendraShelke
Copy link

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)

@p2
Copy link
Member

p2 commented May 15, 2017

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.

@KsgFellow
Copy link

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.

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

No branches or pull requests

3 participants