davedelong / DDMathParser

String → Number
MIT License
854 stars 153 forks source link

carthage Build Failed #143

Closed horaceho closed 6 years ago

horaceho commented 6 years ago
$ carthage update --platform iOS
*** Fetching DDMathParser
*** Checking out DDMathParser at "3.0.0"
*** xcodebuild output can be found in /var/folders/yl/16770s0173131t02j3t6km_c0000gn/T/carthage-xcodebuild.y6CRZW.log
*** Building scheme "MathParser" in DDMathParser.xcodeproj

Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -project /Users/horace/Projects/iOS/Swift/Apps/Calculatox/Carthage/Checkouts/DDMathParser/DDMathParser.xcodeproj -scheme MathParser -configuration Release -derivedDataPath /Users/horace/Library/Caches/org.carthage.CarthageKit/DerivedData/9.1_9B55/DDMathParser/3.0.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath ./ SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /Users/horace/Projects/iOS/Swift/Apps/Calculatox/Carthage/Checkouts/DDMathParser)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/yl/16770s0173131t02j3t6km_c0000gn/T/carthage-xcodebuild.y6CRZW.log

In log:

/(project-path)/Carthage/Checkouts/DDMathParser/MathParser/RewriteRule+Defaults.swift:50:7: error: expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions
    ].flatMap { $0 }
~~~~~~^~~~~~~~~~~~~~
davedelong commented 6 years ago

Dupe of #139, which should be fixed.