Hello all, currently im trying to use Kotlin Multi...
# multiplatform
p
Hello all, currently im trying to use Kotlin Multiplatform for an android and iOS app. Everything works fine in xcode and android Studio until i try to build the ios App with fastlane. Then i get the error message IPA processing failed. Any idea ?
s
I never got fastlane to work. I think using the command line is way easier. From my working GitHub
ci.yml
Copy code
- name: Create XCArchive
        run: |
          xcodebuild \
            -sdk iphoneos \
            -project apple/Photos.xcodeproj \
            -configuration Release \
            -scheme iOS \
            -derivedDataPath apple/build/iOS \
            -archivePath apple/build/iOS/archive \
            archive
      - name: Create IPA
        run: |
          xcodebuild \
            -exportArchive \
            -archivePath apple/build/iOS/archive.xcarchive \
            -exportOptionsPlist apple/ios/ExportOptions.plist \
            -exportPath apple/build/iOS/ipa
            mv apple/build/iOS/ipa/Photos.ipa photos.ipa
p
Thank you. I will try your method.
Same error as with fastlane @Stefan Oltmann
Copy code
Error Domain=IDEFoundationErrorDomain Code=1 "IPA processing failed" UserInfo={NSLocalizedDescription=IPA processing failed}
s
Yes, unfortunately Apple is really bad at providing helpful error messages. 😕
You will have to see if you find advanced log messages anywhere to get a clue what's wrong.
Most of the time in my case it has something to do with their over-complex app singing system.
p
Ok i will see what i can find. My guess is the same. Thank you for your help.