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安装SDK是报错 #170

Open
qcasxy opened this issue Dec 4, 2017 · 0 comments
Open

使用Carthage安装SDK是报错 #170

qcasxy opened this issue Dec 4, 2017 · 0 comments

Comments

@qcasxy
Copy link

qcasxy commented Dec 4, 2017

Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/qincheng/Desktop/MyGit/IndustrialMatrix-Swift/QCSwiftProject/Carthage/Checkouts/MeiqiaSDK-iOS/Meiqia-SDK-Demo/Meiqia-SDK-Demo.xcodeproj -scheme Meiqia -configuration Release -derivedDataPath /Users/qincheng/Library/Caches/org.carthage.CarthageKit/DerivedData/9.1_9B55/MeiqiaSDK-iOS/v3.4.3 -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/qincheng/Desktop/MyGit/IndustrialMatrix-Swift/QCSwiftProject/Carthage/Checkouts/MeiqiaSDK-iOS)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/9z/fj42hrcx4g92xf32mzbyrgjw0000gn/T/carthage-xcodebuild.qHqtvb.log

控制台日志输出是:
Undefined symbols for architecture arm64:
"OBJC_CLASS$_MQInputToolView", referenced from:
objc-class-ref in MQChatViewController.o
"OBJC_CLASS$_MQBotMenuWebViewBubbleAnswerCellModel", referenced from:
objc-class-ref in MQChatViewService.o
"OBJC_CLASS$_MQToolUtil", referenced from:
objc-class-ref in MQChatViewController.o
objc-class-ref in MQAGEmojiKeyBoardView.o
objc-class-ref in MQChatTableView.o
objc-class-ref in MQMessageFormViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** ARCHIVE FAILED **

The following build commands failed:
Ld /Users/qincheng/Library/Caches/org.carthage.CarthageKit/DerivedData/9.1_9B55/MeiqiaSDK-iOS/v3.4.3/Build/Intermediates.noindex/ArchiveIntermediates/Meiqia/IntermediateBuildFilesPath/Meiqia-SDK-Demo.build/Release-iphoneos/Meiqia.build/Objects-normal/armv7/Meiqia normal armv7
Ld /Users/qincheng/Library/Caches/org.carthage.CarthageKit/DerivedData/9.1_9B55/MeiqiaSDK-iOS/v3.4.3/Build/Intermediates.noindex/ArchiveIntermediates/Meiqia/IntermediateBuildFilesPath/Meiqia-SDK-Demo.build/Release-iphoneos/Meiqia.build/Objects-normal/arm64/Meiqia normal arm64
(2 failures)

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

1 participant