Closed jrpinteno closed 1 year ago
Have you tried this in the Cartfile
github "MailCore/MailCore2" "master"
and run the Carthage following this command:
carthage update --platform ios --use-xcframeworks
Result:
If you are still facing with this let re-open this ticket
I'm unable to install mailcore for iOS/macOS using carthage
platform Macbook Pro 2016 macOS 12.6 Xcode 13.4.1
According to logs it looks like the externals (at least
libctemplate
) has mixed architectures.ld: in /Users/*/Library/Caches/org.carthage.CarthageKit/DerivedData/13.4.1_13F100/mailcore2/a2ba66235d158888184a8c68237aa988240120a1/Build/Products/Release-iphonesimulator/libctemplate-ios.a(template_namelist.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/*/Library/Caches/org.carthage.CarthageKit/DerivedData/13.4.1_13F100/mailcore2/a2ba66235d158888184a8c68237aa988240120a1/Build/Products/Release-iphonesimulator/libctemplate-ios.a' for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)