xcode iOS构建错误:导出存档:Lunch.app需要预置描述文件

shstlldc  于 2022-11-18  发布在  iOS
关注(0)|答案(1)|浏览(71)

我目前正在构建一个Ionic v.3应用程序,该应用程序几乎已经完成,我们正在尝试使用Ionic Pro服务为展台iOS和Android构建应用程序。我已经为展台Android和iOS设置了证书。但当我尝试为iOS构建应用程序时,我在构建日志中遇到了一个奇怪的错误。
任何人都有任何线索是什么出了问题,以及如何解决这个问题?我已经提供了一个配置文件。因为我使用的离子专业版,我的建设和 Package 通过他们的网页界面。展位证书,配置文件和密码设置正确之前,我开始包的过程。

[20:56:50]: Generated plist file with the following values:
[20:56:50]: ▸ -----------------------------------------
[20:56:50]: ▸ {
[20:56:50]: ▸   "provisioningProfiles": {
[20:56:50]: ▸     "864J5Y5PX8.com.kvartersmenyn.Dagenslunch": "Distribution"
[20:56:50]: ▸   },
[20:56:50]: ▸   "method": "app-store",
[20:56:50]: ▸   "signingStyle": "manual",
[20:56:50]: ▸   "teamID": "2T3D838Z6K"
[20:56:50]: ▸ }
[20:56:50]: ▸ -----------------------------------------
[20:56:50]: $ /usr/bin/xcrun /Users/ionic/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.75.1/gym/lib/assets/wrap_xcodebuild/xcbuild-safe.sh -exportArchive -exportOptionsPlist '/var/folders/9c/qg1skf6x65jdn7_5fqls39pr0000gn/T/gym_config20180129-433-1eu51ho.plist' -archivePath /Users/ionic/Library/Developer/Xcode/Archives/2018-01-29/adf81fff-0e96-4efd-a771-bb9a3b7c662b-app-store\ 2018-01-29\ 20.55.40.xcarchive -exportPath '/var/folders/9c/qg1skf6x65jdn7_5fqls39pr0000gn/T/gym_output20180129-433-y79zaf' 
+ xcodebuild -exportArchive -exportOptionsPlist /var/folders/9c/qg1skf6x65jdn7_5fqls39pr0000gn/T/gym_config20180129-433-1eu51ho.plist -archivePath '/Users/ionic/Library/Developer/Xcode/Archives/2018-01-29/adf81fff-0e96-4efd-a771-bb9a3b7c662b-app-store 2018-01-29 20.55.40.xcarchive' -exportPath /var/folders/9c/qg1skf6x65jdn7_5fqls39pr0000gn/T/gym_output20180129-433-y79zaf
2018-01-29 20:56:51.083 xcodebuild[1279:5015] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/9c/qg1skf6x65jdn7_5fqls39pr0000gn/T/Lunch_2018-01-29_20-56-51.082.xcdistributionlogs'.
2018-01-29 20:56:51.831 xcodebuild[1279:5015] [MT] IDEDistribution: Step failed: : Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProvisioningErrorDomain Code=9 \"\"Lunch.app\" requires a provisioning profile.\" UserInfo={NSLocalizedDescription=\"Lunch.app\" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}"
)}
error: exportArchive: "Lunch.app" requires a provisioning profile.

Error Domain=IDEProvisioningErrorDomain Code=9 ""Lunch.app" requires a provisioning profile." UserInfo={NSLocalizedDescription="Lunch.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.}

** EXPORT FAILED **
[20:56:51]: Exit status: 70
[20:56:51]: No provisioning profile provided
[20:56:51]: Make sure to pass a valid provisioning for each required target
[20:56:51]: Check out the docs on how to fix this: https://docs.fastlane.tools/actions/gym/#export-options
p5fdfcr1

p5fdfcr11#

我遇到了此类问题。在我的情况下...我选择了预配描述文件,并在yourtargetapp.plist下...我发现预配描述文件参数的捆绑包标识符不正确。将预配描述文件捆绑包ID更正为我的targetapp捆绑包ID后...此问题得到解决。

相关问题