0

嘿,我想使用 Xcode 机器人运行 oclint。目前我正在做的是运行 oclint 作为构建后运行脚本。但它总是无法找到配置文件。

这是我在做什么

xcodebuild -target MyTarget -configuration Debug clean build | tee xcodebuild.log
oclint-xcodebuild
oclint-json-compilation-database  -- -max-priority-1 99999 -max-priority-2 99999 -max-priority-3 99999

这是我从 xcode bot 得到的输出

[BEROR]Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “6F753CA0-4435-40FF-B2F4-15B64D0F7AEE”, however, no such provisioning profile was found.
[BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

尽管没有 oclint 的正常构建工作正常。

4

1 回答 1

0

我遇到了这个错误,如果您将配置文件切换为自动,它将在 Xcode Bot 上成功构建。但是,这可能不适用于实际构建您的项目,但它应该让机器人为您工作以验证它没有其他问题。

于 2014-12-22T15:48:14.987 回答