emqx / CocoaMQTT

MQTT 5.0 client library for iOS and macOS written in Swift
https://www.emqx.com/en
Other
1.59k stars 418 forks source link

use "carthage update --use-xcframeworks" encounter an error "Build Failed Task failed with exit code 65:" #366

Open chenxiaopao opened 3 years ago

chenxiaopao commented 3 years ago

error in log file shows below:

building for iOS Simulator, but linking in dylib built for iOS, file '/xxxx/Carthage/Checkouts/CocoaMQTT/Carthage/Build/iOS/CocoaAsyncSocket.framework/CocoaAsyncSocket' for architecture arm64

BUILD FAILED

The following build commands failed: Ld /Users/xxx/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/CocoaMQTT/8be5c863b1f6adca4ce2212085d7473aa9e599f9/Build/Intermediates.noindex/CocoaMQTT.build/Release-iphonesimulator/CocoaMQTT.build/Objects-normal/arm64/Binary/CocoaMQTT normal arm64 (1 failure)

chenxiaopao commented 3 years ago

How should i solve this problem ???

bgphoenix commented 3 years ago

same issue, failed with use carthage update --use-xcframeworks as well

Error with use XCFrameworks: Could not find any available simulators for tvOS