skip to Main Content

As I want to upload my app I get the following error messages, when I upload the app.

I get the Crypto Swift Framework from the Swift Package Manager.

Can someone help me here please? I don’t know what to do right now.

The error messages in text:

App Store Connect Operation Error
ERROR ITMS-90680: "Invalid directory. The bundle Payload/Healthya.app/PlugIns/CryptoSwift.framework is not contained in a correctly named directory. It should be under "Frameworks"."

App Store Connect Operation Error
ERROR ITMS-90685: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'com.krzyzanowskim.CryptoSwift' under the iOS application 'Healthya.app'."

App Store Connect Operation Warning
WARNING ITMS-90806: "CFBundleIdentifier collision. Each bundle must have a unique bundle identifier. The bundle identifier 'com.krzyzanowskim.CryptoSwift' is used in the bundles '[Payload/Healthya.app/Frameworks/CryptoSwift.framework, Payload/Healthya.app/PlugIns/CryptoSwift.framework]'"

2

Answers


  1. Seems you have downloaded a Project from Source Control

    Error 1: Make Sure your FrameWork directory is in the same path showing in XCode

    Error 2: Remove PodFile.lock and also remove crypto framework and install correct version identify from Package.json run pod install

    Step 3: Clean Xcode build

    Step 4: Rebuild

    Login or Signup to reply.
  2. "More than one bundle" message suggests there’s something fishy with the setup.
    Either your SPM integration is faulty, and maybe duplicate with some manual integration, or it’s an Xcode SPM integration issue.

    The problem is that Xcode left CryptoSwift.o and added CryptoSwift.framework, while only one can exist at a time. The solution here is to delete CryptoSwift.o file.

    enter image description here

    in Xcode run "Product -> Clean Build Folder". This should remove leftovers and the next build should be just fine. I was able to reproduce the issue, but it’s something that can be addressed by Xcode only.

    enter image description here

    Look at the produced .app bundle and check whether there’s duplication there.

    It should look similar to this:

    enter image description here

    enter image description here

    Did you ask Apple about it already?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search