We are using Jenkins to automate building of our iOS project. Everything was working just fine out of the box until we integrated App Clip into the Xcode project. The error says (I changed real bundle 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 and set
distributionBundleIdentifier equal to
com.example.myapp inside it. Then in Jenkins
Advanced Xcode build options -> Custom xcodebuild arguments I added
Jenkins asked me to provide
-exportArchive additional key. After I did it, Jenkins told that it’s illegal to have
exportArchive together in command line.
Does anyone have an idea how to fix it? Thanks.
Source: Ios Questions