2

我们正在使用 Jenkins 来自动构建我们的 iOS 项目。在我们将 App Clip 集成到 Xcode 项目之前,一切开箱即用。错误说(我改变了真正的捆绑ID):

error: exportArchive: Provide a bundle identifier to select from
available reformatters: com.example.myapp and com.example.myapp.Clip

Error Domain=IDEDistributionReformatterSelectionStepErrorDomain
Code=0 "Provide a bundle identifier to select from available reformatters:
com.example.myapp and com.example.myapp.Clip"

我在其中创建ExportOptions.plist并设置distributionBundleIdentifier为等于com.example.myapp。然后在詹金斯Advanced Xcode build options -> Custom xcodebuild arguments我添加了-exportOptionsPlist ExportOptions.plist.

詹金斯让我提供-exportArchive额外的密钥。在我这样做之后,詹金斯告诉我在命令行中拥有schemeexportArchive在一起是非法的。

有谁知道如何解决它?谢谢。

4

0 回答 0