I'm trying to upload dsym file to firebase. I've followed firebase tutorial. Everything worked fine when i was building app from xcode. Issue occurred when i tried to do it using azure pipelines. I have added build phase to my xcode build. It looks like this
After running it in CI environment i got this result:
Debug mode enabled
Running in a CI Environment
Not running in an instance of Xcode.app
Crashlytics is not installed
Google App ID: 1:xxxx
Platform: ios
DSYM Paths: ["/.../BuildProductsPath/Test-iphoneos/App.app.dSYM"]
Validation succeeded. Exiting because upload-symbols was run in validation mode
But after testings my app, I receive crash report with missing dsym in Crashlytics dashboard.
Is there any way to add more logging or check already uploaded dsym files to firebase? Maybe i've missed some additional configurations.
EDIT-1:
My build pipeline looks like this:
pool:
vmImage: 'macOS-latest'
trigger:
- master
steps:
- checkout: self
submodules: true
clean: true
- script: /usr/local/bin/pod install
displayName: 'pod install using a script'
- task: InstallAppleCertificate@2
inputs:
certSecureFile: 'xxx.p12'
certPwd: '$(P12Password)'
keychain: 'temp'
- task: InstallAppleProvisioningProfile@1
inputs:
provisioningProfileLocation: 'secureFiles'
provProfileSecureFile: 'xxx.mobileprovision'
- task: ios-bundle-version@1
inputs:
sourcePath: 'App/Info.plist'
versionCodeOption: 'buildid'
versionCode: '$(Build.BuildId)'
versionName: '1.0.$(Build.BuildId)'
printFile: true
- task: Xcode@5
inputs:
actions: 'clean build archive'
xcWorkspacePath: '**/App.xcworkspace'
scheme: 'App'
packageApp: true
signingOption: 'manual'
provisioningProfileName: 'xxx'
args: 'SWIFT_VERSION=5.0'
useXcpretty: false
- task: CopyFiles@2
inputs:
contents: '**/*.ipa'
targetFolder: '$(build.artifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(build.artifactStagingDirectory)'
artifactName: 'drop'
publishLocation: 'Container'
In pod file i have those lines:
#Firebase
pod 'Firebase/Performance'
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'