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

Build failure #21

Closed
aschuch opened this issue Apr 6, 2015 · 5 comments
Closed

Build failure #21

aschuch opened this issue Apr 6, 2015 · 5 comments

Comments

@aschuch
Copy link

aschuch commented Apr 6, 2015

I am getting a build error when installing Result via Carthage (Xcode 6.3b4 for swift 1.2).

➜ carhage update --platform iOS
*** Fetching Result
*** Fetching Either
*** Fetching Box
*** Fetching Prelude
*** Checking out Box at "18d05a56845837eea90a36854c67de2520983bf8"
*** Checking out Result at "fdb2f9b7023647db606879119b09f4c732214592"
*** Checking out Prelude at "180e9ae5e60ec47abd8f3e0fa68cafbbbd160abe"
*** Checking out Either at "026d3471bca7c9573fdec46bab3d8f265d2ec001"
*** xcodebuild output can be found in /var/folders/80/316467jj2czbnz4cmvt0nw800000gn/T/carthage-xcodebuild.rOohbK.log
*** Building scheme "Box-iOS" in Box.xcodeproj
*** Building scheme "Prelude-iOS" in Prelude.xcodeproj
*** Building scheme "Either-iOS" in Either.xcworkspace
** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)

Running carthage build --no-skip-current yields

➜ carthage build --no-skip-current
*** xcodebuild output can be found in /var/folders/80/316467jj2czbnz4cmvt0nw800000gn/T/carthage-xcodebuild.1WaA9F.log
*** Building scheme "Result-iOS" in Result.xcworkspace
** BUILD FAILED **


The following build commands failed:
    CompileSwift normal x86_64 /Users/aschuch/Downloads/Result-master/Result/Result.swift
    CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
@robrix
Copy link
Contributor

robrix commented Apr 6, 2015

Could you please include the build output from the path it mentions? It may also be worth building with --verbose.

@rnapier
Copy link
Member

rnapier commented Apr 8, 2015

I think it's a codesigning issue. It only impacts iOS, and you get this message:

CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.3'

(BTW, do you know if there's a way to mark a Cartfile as Mac only?)

@robrix
Copy link
Contributor

robrix commented Apr 8, 2015

Not yet.

@aschuch
Copy link
Author

aschuch commented Apr 9, 2015

The build log shows the same codesigning error for me.

@robrix
Copy link
Contributor

robrix commented Apr 9, 2015

Pretty sure this is the issue: Carthage/Carthage#418

Going to close this out and track it further there. Radars to be filed, etc 😞

@robrix robrix closed this as completed Apr 9, 2015
jspahrsummers added a commit to jspahrsummers/Box that referenced this issue May 5, 2015
I think this is a real workaround for issues like antitypical/Result#21
and antitypical/Result#25.

I don’t think this will work around issues like robrix#21.
jspahrsummers added a commit that referenced this issue May 5, 2015
I think this is a real workaround for issues like #21 and #25.

See also robrix/Box#24.
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