[英]xcodebuild ios export archive fail on success build
我正在尝试构建一个包含 8 个 xcodeproj 的复杂 xcworkspace。
我可以通过 xcodebuild 命令构建项目。 我也可以存档它,但我无法导出 IPA 文件,它总是出现以下错误:
2020-03-18 19:04:49.801 xcodebuild[28749:691158] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/vr/1fb5zcxd0gg92359ynn0r2gm0000gn/T/xxxxx_2020-03-18_19-04-49.800.xcdistributionlogs'.
2020-03-18 19:04:49.834 xcodebuild[28749:691158] [MT] IDEDistributionMethodManager: -[IDEDistributionMethodManager orderedDistributionMethodsForTask:archive:]: Error = Error Domain=IDEDistributionMethodManagerErrorDomain Code=2 "Unknown Distribution Error" UserInfo={NSLocalizedDescription=Unknown Distribution Error}
error: exportArchive: exportOptionsPlist error for key 'method': expected one of {}, but no value was provided
Error Domain=IDEFoundationErrorDomain Code=1 "exportOptionsPlist error for key 'method': expected one of {}, but no value was provided" UserInfo={NSLocalizedDescription=exportOptionsPlist error for key 'method': expected one of {}, but no value was provided}
我还尝试使用 XCode 10.3 (10G8) UI 来执行相同的操作。 这导致我在管理器屏幕上看到 xcarchive 错误位于组“其他项目”而不是“iOS 应用程序”中。 此外,该选项
我已经验证我的构建命令是正确的,因为项目能够在以前的状态下使用这些命令进行构建。 我尝试更改静态项目库依赖项,但是当将所有依赖项添加到所有项目时,它以多个符号的构建错误结束。
我怀疑构建设置或库/标头引用中的某些内容有问题,但我无法真正解决它。
有没有办法获得有关该问题的其他信息?
我遇到过同样的问题。 我不得不在我们的构建服务器上重置我的开发人员证书来解决这个问题。
我希望这对其他人有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.