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

Support Swift 3 #7

Closed
johndpope opened this issue Nov 24, 2016 · 5 comments
Closed

Support Swift 3 #7

johndpope opened this issue Nov 24, 2016 · 5 comments

Comments

@johndpope
Copy link

➜ ReactiveJSON-master carthage build
*** xcodebuild output can be found in /var/folders/2b/v6zs40nx0vs6_rs6xsb897000000gp/T/carthage-xcodebuild.KMewGi.log
*** Building scheme "Nimble-iOS" in Nimble.xcodeproj
*** Building scheme "Nimble-OSX" in Nimble.xcodeproj
*** Building scheme "Nimble-tvOS" in Nimble.xcodeproj
*** Building scheme "Quick-OSX" in Quick.xcworkspace
*** Building scheme "Quick-tvOS" in Quick.xcworkspace
*** Building scheme "Quick-iOS" in Quick.xcworkspace
*** Building scheme "Result-Mac" in Result.xcodeproj
*** Building scheme "Result-tvOS" in Result.xcodeproj
*** Building scheme "Result-iOS" in Result.xcodeproj
*** Building scheme "Result-watchOS" in Result.xcodeproj
*** Building scheme "ReactiveCocoa-watchOS" in ReactiveCocoa.xcodeproj
** BUILD FAILED **

The following build commands failed:
CompileSwift normal armv7k
CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)
A shell task (/usr/bin/xcrun xcodebuild -project /Users/johnpope/Downloads/ReactiveJSON-master/Carthage/Checkouts/ReactiveCocoa/ReactiveCocoa.xcodeproj -scheme ReactiveCocoa-watchOS -configuration Release -sdk watchos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
CompileSwift normal armv7k
CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(2 failures)

@johndpope
Copy link
Author

my bad -
carthage build --platform ios

@johndpope
Copy link
Author

carthage build --platform ios
*** xcodebuild output can be found in /var/folders/2b/v6zs40nx0vs6_rs6xsb897000000gp/T/carthage-xcodebuild.PzchwK.log
*** Building scheme "Nimble-iOS" in Nimble.xcodeproj
*** Building scheme "Quick-iOS" in Quick.xcworkspace
*** Building scheme "Result-iOS" in Result.xcodeproj
*** Building scheme "ReactiveCocoa-iOS" in ReactiveCocoa.xcodeproj
** BUILD FAILED **

The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
ld: warning: embedded dylibs/frameworks only run on iOS 8 or later
/Users/johnpope/Downloads/ReactiveJSON-master/Carthage/Checkouts/ReactiveCocoa/ReactiveCocoa/Swift/Signal.swift:2:8: error: no such module 'Result'
:0: error: unable to execute command: Segmentation fault: 11
:0: error: compile command failed due to signal (use -v to see invocation)
A shell task (/usr/bin/xcrun xcodebuild -project /Users/johnpope/Downloads/ReactiveJSON-master/Carthage/Checkouts/ReactiveCocoa/ReactiveCocoa.xcodeproj -scheme ReactiveCocoa-iOS -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)

@johndpope johndpope reopened this Nov 24, 2016
@johndpope johndpope changed the title xcode 8.2 beta- carthage build failing - with exit code 65 xcode 8.2 / 8.1 - carthage build failing - with exit code 65 Nov 24, 2016
@johndpope johndpope reopened this Nov 24, 2016
@johndpope johndpope reopened this Nov 29, 2016
@Mc2daluvin
Copy link

so how can i add this to my project because nothing seems to want to work

@KevinVitale
Copy link
Owner

It's possible ReactiveJSON doesn't work with the current beta version of Xcode if that version only supports Swift 3.0 (ReactiveJSON currently requires Swift 2.3).

I'll rename the issue to describe just that.

@KevinVitale KevinVitale changed the title xcode 8.2 / 8.1 - carthage build failing - with exit code 65 Support Swift 3 Dec 9, 2016
@KevinVitale
Copy link
Owner

Resolved

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