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 update --no-use-binaries --platform ios error #11

Open
jacksonpan opened this issue Jul 25, 2018 · 18 comments
Open

carthage update --no-use-binaries --platform ios error #11

jacksonpan opened this issue Jul 25, 2018 · 18 comments

Comments

@jacksonpan
Copy link

*** Building scheme "MMDB-iOS" in MMDB.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Volumes/Data/local_data/git.pushyou.net/pushme/ladder-ios/Carthage/Checkouts/MMDB-Swift/MMDB.xcodeproj -scheme MMDB-iOS -configuration Release -derivedDataPath /Users/jacksonpan/Library/Caches/org.carthage.CarthageKit/DerivedData/9.4.1_9F2000/MMDB-Swift/0.2.8 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/2p/z58pwll102710mwdb_2yc3jh0000gn/T/MMDB-Swift SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Volumes/Data/local_data/git.pushyou.net/pushme/ladder-ios/Carthage/Checkouts/MMDB-Swift)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/2p/z58pwll102710mwdb_2yc3jh0000gn/T/carthage-xcodebuild.z9Ocns.log

carthage-xcodebuild.z9Ocns.log

@jacksonpan
Copy link
Author

please give me advice
i have xcode 9.4.1 and 10.0 beta 4
jacksonpandeMBP:ladder-ios jacksonpan$ xcode-select -p
/Applications/Xcode.app/Contents/Developer

@zhuhaow
Copy link
Collaborator

zhuhaow commented Jul 25, 2018 via email

@jacksonpan
Copy link
Author

i fix the problem with proxy, but when i plug in my iphone, it can't be compiled, my iphone was iOS 12 beta 4, when i plug out, compile ok.

@jacksonpan
Copy link
Author

can you tell me the telegram or other chat address? i want to chat with you, thanks

@wangxuewen
Copy link

How to solve this problem? Who can give the answer

@bonetoy
Copy link

bonetoy commented Aug 2, 2018

Same problem

@bonetoy
Copy link

bonetoy commented Aug 5, 2018

guys i know why this happened.
i found in the script of the build tool that curl is downloading a file.
(if you want to know more details, please follow your log file)
so the most important thing is to let your command line enter the proxy environment.

@dev-kang
Copy link

dev-kang commented Oct 2, 2018

/Users/DevKang/workspace/devkang/carthage/Carthage/Checkouts/MMDB-Swift/MMDB/MMDB.h:19:9: error: include of non-modular header inside framework module 'MMDB': '/Users/DevKang/workspace/devkang/carthage/Carthage/Checkouts/MMDB-Swift/./MMDB/maxminddb.h' #import <MMDB/maxminddb.h> ^ <module-includes>:1:9: note: in file included from <module-includes>:1: #import "Headers/MMDB.h" ^ /Users/DevKang/workspace/devkang/carthage/Carthage/Checkouts/MMDB-Swift/MMDB/MMDB.h:20:9: error: include of non-modular header inside framework module 'MMDB': '/Users/DevKang/workspace/devkang/carthage/Carthage/Checkouts/MMDB-Swift/./MMDB/maxminddb-compat-util.h' #import <MMDB/maxminddb-compat-util.h> ^ <module-includes>:1:9: note: in file included from <module-includes>:1: #import "Headers/MMDB.h" ^ /Users/DevKang/workspace/devkang/carthage/Carthage/Checkouts/MMDB-Swift/MMDB/MMDB.h:21:9: error: include of non-modular header inside framework module 'MMDB': '/Users/DevKang/workspace/devkang/carthage/Carthage/Checkouts/MMDB-Swift/./MMDB/maxminddb_unions.h' #import <MMDB/maxminddb_unions.h> ^ <unknown>:0: error: could not build Objective-C module 'MMDB'

how to complie?

@TheMrugraj
Copy link

Is there any solution to this issue? I am also facing the same problem

@wangxuewen
Copy link

Network problem. Try switching the network a few more times

@TheMrugraj
Copy link

I doubt whether its network issue or not, because if I try to run .sh file directly than it is able to download but it always fails at the time fo Build.

@zhuhaow
Copy link
Collaborator

zhuhaow commented Jan 1, 2019

What is the size of the downloaded file?

@TheMrugraj
Copy link

What is the size of the downloaded file?
~3.6 MB

@zhuhaow
Copy link
Collaborator

zhuhaow commented Jan 1, 2019

Have you installed something like conda that will override the default system utilities?

@TheMrugraj
Copy link

Have you installed something like conda that will override the default system utilities?

As far as I know, I have not installed anything like Conda. as a Dependancy manager, I have homebrew installed on the system.

@zhuhaow
Copy link
Collaborator

zhuhaow commented Jan 1, 2019

Any detailed compile log?

@zkrige
Copy link

zkrige commented Nov 7, 2019

for me I had to rename my project folder to something without a space.

project 1 didn't work, but when I changed it to project then Carthage worked fine

@tanqci
Copy link

tanqci commented Jan 6, 2020

I have the same problem
carthage-xcodebuild.5UgKMV.log

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

8 participants