Vincentzzg / ZGMailbox

基于MailCore2写的邮件客户端(持续优化中)
GNU General Public License v3.0
12 stars 8 forks source link

carthage生成mailcore2.framework失败 #2

Open wenjunos opened 3 years ago

wenjunos commented 3 years ago

你好,我的Xcode12.1使用carthage生成mailcore2.framework会失败: Build Failed Task failed with exit code 65: /usr/bin/xcrun xcodebuild -project /Users/jack/Downloads/ZGMailbox-master/Carthage/Checkouts/mailcore2/build-mac/mailcore2.xcodeproj -scheme mailcore\ ios -configuration Release -derivedDataPath /Users/jack/Library/Caches/org.carthage.CarthageKit/DerivedData/12.1_12A7403/mailcore2/b2afd63da828748905f97dc3146e562781b97c7d -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/hd/r658qqc972196cx3yrx4z9h80000gp/T/mailcore2 SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/jack/Downloads/ZGMailbox-master/Carthage/Checkouts/mailcore2)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/hd/r658qqc972196cx3yrx4z9h80000gp/T/carthage-xcodebuild.vCyl88.log

请问这个要怎么解决呢?由于我的项目不能使用cocoapod,只能选择carthage和手动导入mailcore2,手动又会报:'libetpan/libetpan.h' file not found的错,请问你有遇到过吗?希望能为我提供一些帮助呢,万分感谢!

Vincentzzg commented 3 years ago

不好意思,回复的太晚了,这个问题你解决了吗

KevinWang512 commented 2 years ago

这个问题解决了吗?

bi7jta commented 3 weeks ago

同样的问题,看build.log 是不认macOS系统的autoconf,重装了autoconf

删掉 carthage 依赖的,直接用pod依赖 mailcore就正常。