Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.10.1 ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace.
Qt 6.11 is out! See what's new in the release blog

Qt 5.10.1 ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 843 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joonas
    wrote on last edited by joonas
    #1

    I am tying to create package to upload to Apple App Store.

    Qt app is built for release.
    Then I run macdeployqt to add files to bundle
    ./macdeployqt /Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app -qmldir=/Users/joonas/Desktop/QT/MYAPP/src/FrontEnd/ -verbose=1 -appstore-compliant

    This gives following errors

    File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libqtgraphicaleffectsplugin.dylib"
    File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libqtgraphicaleffectsprivate.dylib"
    File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libqtquick2plugin.dylib"
    File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libwindowplugin.dylib"
    

    If I try to use -always-overwrite I get otool errors and application does not start any more.

    Now I sign the app

    codesign -f --deep -s '3rd Party Mac Developer Application:' --entitlements "MYAPP.entitlements" "MYAPP.app"
    

    Now I create and sign the pkg file

    productbuild --component "MYAPP.app" /Applications --sign "3rd Party Mac Developer Installer:" --product "MYAPP.app/Contents/Info.plist" MYAPP.pkg
    

    I try to upload the pkg file to App Store with Application Loader but I get errors

    ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.qtgraphicaleffectsplugin'."
    ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.qtgraphicaleffectsprivate'."
    ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.qtquick2plugin'."
    ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtQuick/Window.2/libwindowplugin.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.windowplugin'."	
    

    Same files which were skipped above.
    Similar bug lhttps://bugreports.qt.io/browse/QTBUG-57472 should be fixed.

    My system
    macOS 10.13.4
    Xcode 9.3
    Qt 5.10.1
    Qt Creator 4.6.0

    How to fix these errors? Maybe there is a workaround? Any suggestions?

    J 1 Reply Last reply
    0
    • J joonas

      I am tying to create package to upload to Apple App Store.

      Qt app is built for release.
      Then I run macdeployqt to add files to bundle
      ./macdeployqt /Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app -qmldir=/Users/joonas/Desktop/QT/MYAPP/src/FrontEnd/ -verbose=1 -appstore-compliant

      This gives following errors

      File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libqtgraphicaleffectsplugin.dylib"
      File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libqtgraphicaleffectsprivate.dylib"
      File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libqtquick2plugin.dylib"
      File exists, skip copy: "/Users/joonas/Desktop/QT/MYAPP/release/MYAPP.app/Contents/PlugIns/quick/libwindowplugin.dylib"
      

      If I try to use -always-overwrite I get otool errors and application does not start any more.

      Now I sign the app

      codesign -f --deep -s '3rd Party Mac Developer Application:' --entitlements "MYAPP.entitlements" "MYAPP.app"
      

      Now I create and sign the pkg file

      productbuild --component "MYAPP.app" /Applications --sign "3rd Party Mac Developer Installer:" --product "MYAPP.app/Contents/Info.plist" MYAPP.pkg
      

      I try to upload the pkg file to App Store with Application Loader but I get errors

      ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.qtgraphicaleffectsplugin'."
      ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtGraphicalEffects/private/libqtgraphicaleffectsprivate.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.qtgraphicaleffectsprivate'."
      ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtQuick.2/libqtquick2plugin.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.qtquick2plugin'."
      ERROR ITMS-90278: "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: [com.xxx.MYAPP.pkg/Payload/MYAPP.app/Contents/Resources/qml/QtQuick/Window.2/libwindowplugin.dylib.dSYM], with bundle identifier 'com.apple.xcode.dsym.com.yourcompany.windowplugin'."	
      

      Same files which were skipped above.
      Similar bug lhttps://bugreports.qt.io/browse/QTBUG-57472 should be fixed.

      My system
      macOS 10.13.4
      Xcode 9.3
      Qt 5.10.1
      Qt Creator 4.6.0

      How to fix these errors? Maybe there is a workaround? Any suggestions?

      J Offline
      J Offline
      joonas
      wrote on last edited by
      #2

      @joonas

      Maybe someone with App Store upload experience can help me to get going. All suggestions are welcome!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved