Thomas Skovsgaard

09/02/2021, 6:41 AM
Hi, I'm trying to get Azure pipeline to work with my kmm project, it is basically just calling a fastlane script, after bundle install, I'm using the Cocoapods integration. Local it works, but when I run it on azure it stops at:
Copy code
▸ Clean Succeeded
▸ Running script '[CP-User] Build shared'
The following build commands failed:
	PhaseScriptExecution [CP-User]\ Build\ shared /Users/runner/Library/Developer/Xcode/DerivedData/iosApp-dongzyrxhgtfzxexzqjllvyjwgcu/Build/Intermediates.noindex/ArchiveIntermediates/iosApp/IntermediateBuildFilesPath/
(1 failure)
[06:25:41]: Exit status: 65
Th YML file:
Copy code
- script: gem install bundler:2.2.26
  workingDirectory: '$(Build.SourcesDirectory)/iosApp'
  displayName: 'install bundler'
- script: bundle install
  workingDirectory: '$(Build.SourcesDirectory)/iosApp'
  displayName: 'bundle install'
- script: bundle exec fastlane buildApp
  workingDirectory: '$(Build.SourcesDirectory)/iosApp'
  displayName: 'build app'
I did try having a gradle build step before the buildApp step but that didn't help. Do you have any ideas ?