首页 > 解决方案 > xcrun xcodebuild -create-xcframework “不支持多平台的二进制文件”

问题描述

我正在尝试从 3rd 方框架创建一个 xcframework。我使用的命令是:

xcrun xcodebuild -create-xcframework -framework Carthage/Build/iOS/Pushwoosh.framework -output Carthage/Build/Pushwoosh.xcframework

但是我收到以下错误:

error: binaries with multiple platforms are not supported '/Users/auser/Documents/Developer/Learning/FastlaneDependencies/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh'

我找到了这个问题,但给出的答案不适用于我,因为我不拥有该框架的项目。

有什么我可以做的吗?

标签: xcodexcframework

解决方案


推荐阅读