Issue
working on ionic 4 ios app in azure build pipeline, trying to archive the build and encountered an error
2020-07-09 12:17:12.156 xcodebuild[5440:16936] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/myApp_2020-07-09_12-17-12.155.xcdistributionlogs'.
error: exportArchive: No 'teamID' specified and no team ID found in the archive
Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}
##[error]Error: /usr/bin/xcodebuild failed with return code: 70
my I checked with my certificates and they are in right place, also I tried running using cmd
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
but no use.
while running pipeline I got a warning as well but didn't found any solution for this. do i need to change something?
##[warning]Failed to automatically identify the export method to use from the archive file. This might cause errors during the build or produce an invalid package. If export fails, either enable signing (set `Signing Style` to `Project Defaults`), or configure export manually (set `Export options` to `Plist` or `Specify`).
Solution
posting solution which worked out for me as It might help others who encounter the same issue.
I used an IPA resing task
in the azure release pipeline before uploading the .ipa
to the app store.
As I couldn't sign the app while building in the build pipeline, I decided to build the unsigned app and then use the resign task
to sign the IPA
again.
Answered By - Ragesh Pikalmunde
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.