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

Can not build SwiftyJSON with Carthage #248

Closed
ansonyao opened this issue Jun 10, 2015 · 10 comments
Closed

Can not build SwiftyJSON with Carthage #248

ansonyao opened this issue Jun 10, 2015 · 10 comments

Comments

@ansonyao
Copy link

I have a cartfile as

github "Alamofire/Alamofire"
github "SwiftyJSON/SwiftyJSON" >= 2.2.0

The console output is as follows:

*** Fetching SwiftyJSON
*** Fetching Alamofire
*** Checking out Alamofire at "1.2.2"
*** Checking out SwiftyJSON at "2.2.0"
*** xcodebuild output can be found in /var/folders/jp/6yvbpm056sbd17twhbx6t7_00000gn/T/carthage-xcodebuild.q56nwp.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
*** Building scheme "Alamofire OSX" in Alamofire.xcworkspace

As you can see, the Alamofire has been compiled but the there is no information about SwiftyJSON. In the carthage/checkout folder, both alamofire and swiftyJSON are there. However, in the carthage/build folder, only Alamofire is there while swiftyJSON is missing.

The log file is as follows:

Build settings from command line:
SDKROOT = iphonesimulator8.3

=== BUILD TARGET Alamofire iOS OF PROJECT Alamofire WITH CONFIGURATION Release ===

Check dependencies

Write auxiliary files
write-file /Users/peter/Library/Developer/Xcode/DerivedData/Alamofire-hetrsqzpxgymnjgjdhegwmzqherm/Build/Intermediates/Alamofire.build/all-product-headers.yaml

=== BUILD TARGET Alamofire iOS Tests OF PROJECT Alamofire WITH CONFIGURATION Release ===

Check dependencies

** BUILD SUCCEEDED **

Build settings from command line:
SDKROOT = iphoneos8.3

=== BUILD TARGET Alamofire iOS OF PROJECT Alamofire WITH CONFIGURATION Release ===

Check dependencies

Write auxiliary files
write-file /Users/peter/Library/Developer/Xcode/DerivedData/Alamofire-hetrsqzpxgymnjgjdhegwmzqherm/Build/Intermediates/Alamofire.build/all-product-headers.yaml

=== BUILD TARGET Alamofire iOS Tests OF PROJECT Alamofire WITH CONFIGURATION Release ===

Check dependencies

** BUILD SUCCEEDED **

=== BUILD TARGET Alamofire OSX OF PROJECT Alamofire WITH CONFIGURATION Release ===

Check dependencies

Write auxiliary files
write-file /Users/peter/Library/Developer/Xcode/DerivedData/Alamofire-hetrsqzpxgymnjgjdhegwmzqherm/Build/Intermediates/Alamofire.build/all-product-headers.yaml

=== BUILD TARGET Alamofire OSX Tests OF PROJECT Alamofire WITH CONFIGURATION Release ===

Check dependencies

** BUILD SUCCEEDED **

@julien-c
Copy link

Same issue here.

@mcb
Copy link

mcb commented Jun 11, 2015

👍 Same here.

@charlyliu
Copy link

same here

@PatrykKaczmarek
Copy link

SwiftyJSON doesn't support Carthage right know. For more info please read: Carthage/Carthage#532.

Here is fork to use before PR will be merged: https://github.com/Thomvis/SwiftyJSON

PR fixing this issue is in the queue: #244

@alec-c4
Copy link

alec-c4 commented Jun 14, 2015

+1

@JerryNil
Copy link

same issue here

@PhilippeRiegert
Copy link

same issue for me

@Pym
Copy link

Pym commented Jun 26, 2015

Just put the Example.xcodeproj file from the Carthage/Checkouts/SwiftyJSON/ directory into a new subdirectory and you'll be fine. We just have to wait for someone to merge the PR #244 😄

@liaolj
Copy link

liaolj commented Jun 30, 2015

same issue here

@liaolj
Copy link

liaolj commented Jun 30, 2015

It's ok , thanks to Pym

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