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

Carthage build failed on 3.0.0 #150

Open
hayashikun opened this issue Feb 21, 2018 · 2 comments
Open

Carthage build failed on 3.0.0 #150

hayashikun opened this issue Feb 21, 2018 · 2 comments

Comments

@hayashikun
Copy link

Hi, I want to use MathParser in my Swift 4 project and tried to install by using Carthage.
I appended github "davedelong/DDMathParser" in Cartfile but build failed.

Carthage fetched and tried to build version 3.0.0 which is tagged in Sep, 2016.
It was too old to build in swift 4.

When I specified master branch, github "davedelong/DDMathParser" "master", build was success.
That is, master current is able to build in swift 4.

So, please release new version. 🙇

@davedelong
Copy link
Owner

Please try again.

@ericgorr
Copy link

I too am experiencing a similar problem.

My Cartfile looks like:

github "davedelong/DDMathParser" "master"⏎

I tried this both with and without "master".

When I do carthage update:

*** Fetching DDMathParser
*** Checking out DDMathParser at "0f2e8562393796a0467a1c418a5f8ce552dcfbb1"
*** xcodebuild output can be found in /var/folders/tl/789tp6ms2vv3dmkz6h_bchbc0000gn/T/carthage-xcodebuild.GW1agk.log
*** Building scheme "MathParser" in DDMathParser.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/ericg/depot/aossCalc/Carthage/Checkouts/DDMathParser/DDMathParser.xcodeproj -scheme MathParser -configuration Release -derivedDataPath /Users/ericg/Library/Caches/org.carthage.CarthageKit/DerivedData/9.3_9E145/DDMathParser/0f2e8562393796a0467a1c418a5f8ce552dcfbb1 -sdk watchos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/tl/789tp6ms2vv3dmkz6h_bchbc0000gn/T/DDMathParser SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/ericg/depot/aossCalc/Carthage/Checkouts/DDMathParser)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/tl/789tp6ms2vv3dmkz6h_bchbc0000gn/T/carthage-xcodebuild.GW1agk.log

The log file contains:

/usr/bin/xcrun xcodebuild -project /Users/ericg/depot/aossCalc/Carthage/Checkouts/DDMathParser/DDMathParser.xcodeproj -scheme MathParser -configuration Release -derivedDataPath /Users/ericg/Library/Caches/org.carthage.CarthageKit/DerivedData/9.3_9E145/DDMathParser/0f2e8562393796a0467a1c418a5f8ce552dcfbb1 -sdk watchos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/tl/789tp6ms2vv3dmkz6h_bchbc0000gn/T/DDMathParser SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/ericg/depot/aossCalc/Carthage/Checkouts/DDMathParser)User defaults from command line:
IDEArchivePathOverride = /var/folders/tl/789tp6ms2vv3dmkz6h_bchbc0000gn/T/DDMathParser
IDEDerivedDataPathOverride = /Users/ericg/Library/Caches/org.carthage.CarthageKit/DerivedData/9.3_9E145/DDMathParser/0f2e8562393796a0467a1c418a5f8ce552dcfbb1

Build settings from command line:
BITCODE_GENERATION_MODE = bitcode
CARTHAGE = YES
CLANG_ENABLE_CODE_COVERAGE = NO
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = watchos4.3
SKIP_INSTALL = YES
STRIP_INSTALLED_PRODUCT = NO

=== BUILD TARGET MathParser OF PROJECT DDMathParser WITH CONFIGURATION Release ===

Check dependencies
No architectures to compile for (ARCHS=armv7k, VALID_ARCHS=i386 x86_64 armv6 armv7 armv7s arm64).

** ARCHIVE FAILED **

The following build commands failed:
Check dependencies

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