https://kotlinlang.org logo
t

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'
** ARCHIVE FAILED **
The following build commands failed:
	PhaseScriptExecution [CP-User]\ Build\ shared /Users/runner/Library/Developer/Xcode/DerivedData/iosApp-dongzyrxhgtfzxexzqjllvyjwgcu/Build/Intermediates.noindex/ArchiveIntermediates/iosApp/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/shared.build/Script-F2F266D90E96E94E3FEEA4EF908A1753.sh
(1 failure)
[06:25:41]: Exit status: 65
Th YML file:
Copy code
steps:
- 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 ?