Invalid Binary

Forums How to solve Invalid Binary

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #122292
    albanaavdiu
    Participant

    Problem:
    When submitting my app, I received an ‘Invalid Binary’ error from the App Store.

    Solution:
    Update to Capacitor 4.8.2

    Step 1: Uninstall Existing Capacitor Versions
    If you have installed Capacitor 5 or 3.x versions, you need to uninstall them first.

    Run the following command to remove Capacitor dependencies:
    npm uninstall @capacitor/core @capacitor/cli @capacitor/android @capacitor/ios @capacitor/preferences

    If you encounter issues during uninstallation, try using the –legacy-peer-deps flag:
    npm uninstall @capacitor/core @capacitor/cli @capacitor/android @capacitor/ios @capacitor/preferences –legacy-peer-deps

    Step 2: Install Capacitor 4.8.2
    Now, install the specific version of Capacitor (4.8.2) along with its platform dependencies:
    npm install @capacitor/core@4.8.2 @capacitor/cli@4.8.2
    npm install @capacitor/android@4.8.2 @capacitor/ios@4.8.2
    npm install @capacitor/preferences@4.8.2

    Step 3: Sync Your Project
    npx cap sync

     

     

    • This topic was modified 5 months, 2 weeks ago by albanaavdiu.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.