-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting a errors when trying to upload ios artifact to test flight using App Store Release task #369
Comments
here is my azure pipeline file trigger:
- test-nj
jobs:
- job: ios
pool:
vmImage: 'macOS-latest'
variables:
- name: configuration
value: "Release"
- name: sdk
value: "iphoneos"
- name: scheme
value: "Runner"
- name: system.debug
value: true
steps:
- task: FlutterInstall@0
displayName: "Install Flutter SDK"
inputs:
mode: 'auto'
channel: 'stable'
version: 'latest'
- task: FlutterBuild@0
displayName: "Flutter Build Apps - iOS"
inputs:
target: "ios"
buildName: "$(Build.BuildNumber)"
entryPoint: "lib/main.dart"
iosCodesign: false
- task: InstallAppleCertificate@2
inputs:
certSecureFile: 'appCertificate.p12'
certPwd: $(appCertificatePassword)
keychain: 'temp'
deleteCert: true
- task: InstallAppleProvisioningProfile@1
inputs:
provProfileSecureFile: 'app.mobileprovision'
removeProfile: true
- task: Xcode@5
inputs:
actions: 'build'
scheme: '$(scheme)'
sdk: '$(sdk)'
configuration: '$(configuration)'
xcWorkspacePath: '**/ios/Runner.xcworkspace'
xcodeVersion: 'default'
signingOption: 'manual'
signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
packageApp: true
- task: CopyFiles@2
inputs:
contents: '**/*.ipa'
targetFolder: '$(build.artifactStagingDirectory)'
overWrite: true
flattenFolders: true
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(build.artifactStagingDirectory)'
artifactName: 'drop'
publishLocation: 'Container'
- task: Bash@3
displayName: "listing copied files"
inputs:
targetType: "inline"
script: |
ls $(build.artifactstagingdirectory)/
- task: AppStoreRelease@1
inputs:
serviceEndpoint: 'AppStoreRelase'
releaseTrack: 'TestFlight'
appIdentifier: 'com.cicd.smsforwarder'
appType: 'iOS'
ipaPath: '$(build.artifactstagingdirectory)/smsforwarder.ipa'
shouldSkipWaitingForProcessing: true
shouldSkipSubmission: true
appSpecificId: '12345678'
installFastlane: true
additionalFastlaneArgs: '--verbose' |
Hi @UvinduS can you please describe in more detail how to reproduce your error? |
I have flutter app and trying to build ios app using above mentioned pipeline file and in the last step AppStoreRelease@1, I'm getting the error in above screen shot. I've created token based authentication for the task. I can't figure out the error, is there any specific way to configure this task. |
@UvinduS If you didn't already fix your issue, the following helped me: |
Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/microsoft/app-store-vsts-extension/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Question
Enter Task Name: App Store Release
list here (V# not needed):
https://github.com/microsoft/app-store-vsts-extension/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises? Azure Pipelines
If using TFS on-premises, provide the version:
If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Agent - Hosted or Private:
If using Hosted agent, provide agent queue name:
If using private agent, provide the OS of the machine running the agent and the agent version:
Issue Description
[Include task name(s), screenshots and any other relevant details]
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
The text was updated successfully, but these errors were encountered: