mchoe / SwiftSVG

A simple, performant, and lightweight SVG parser
Other
1.92k stars 229 forks source link

An attempt to install the library fails on v2.3.0 #125

Open daniel-abramov opened 5 years ago

daniel-abramov commented 5 years ago

I'm using carthage to install a library for my iOS project (XCode 10.2, Swift 5.0).

Following the Install section I added github "mchoe/SwiftSVG" ~> 2.3.0 to my Cartfile, after executing carthage update SwiftSVG I get the following error:

*** Fetching SwiftSVG
*** Checking out SwiftSVG at "v2.3.0"
*** xcodebuild output can be found in /var/folders/xb/btbqw7ld02bb_bbfntg6kwjw0000gn/T/carthage-xcodebuild.5I8Dk3.log
*** Building scheme "SwiftSVG" in SwiftSVG.xcworkspace
Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -workspace /Users/daniel/Development/ios-sharing/Carthage/Checkouts/SwiftSVG/SwiftSVG.xcworkspace -scheme SwiftSVG -configuration Release -derivedDataPath /Users/daniel/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2_10E125/SwiftSVG/v2.3.0 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/xb/btbqw7ld02bb_bbfntg6kwjw0000gn/T/SwiftSVG SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/daniel/Development/ios-sharing/Carthage/Checkouts/SwiftSVG)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/xb/btbqw7ld02bb_bbfntg6kwjw0000gn/T/carthage-xcodebuild.5I8Dk3.log

The detailed log is attached: carthage-xcodebuild.5I8Dk3.log

valeriyvan commented 5 years ago

Try carthage update SwiftSVG --platform iOS. It seems to fails for OSX only.