본문 바로가기

카테고리 없음

Macos Missing App Bundle

I have a Mac application I'm attempting to deploy. It is contained in a standard Mac 'bundle'. In the Mac bundle I have a 'support app' which is also a standard Mac bundle. Essentially an app bundle within an app bundle.

  1. Macos App Download
  2. Macos Missing App Bundle Android
  3. Macos Missing App Bundle Iphone
  4. Macos Application Bundle

.NET Core 3.1 downloads for Linux, macOS, and Windows.NET is a free, cross-platform, open-source developer platform for building many different types of applications. I've got a 2019 MacBook pro on Mojave on which no apps are asking for microphone or video permissions. No apps show as having requested permission in.

@
Main.app
v Contents

Framework
v MacOS
Database
Graphics
Help
Support.app
Main
Resources
@

When I run or debug in the Qt Creator development environment, both the Main app and the Support app work fine and as expected.

The Support app is a process that gets launched by Main.

Macos App Download

I packaged everything with the 'macdeployqt' tool with the following command:

@
macdeployqt Main.app -dmg
@

When deployed on a Mac without the Qt development environment, the Main app works fine..it knows where the deployed Qt Framework Libraries are located. The Support app does not and throws the following Error message:

@
Dyld Error Message:
Library not loaded: QtGui.framework/Versions/4/QtGui
Referenced from: /Volumes/Main/Main.app/Contents/MacOS/Support.app/Contents/MacOS/Support
Reason: image not found
@

Macos Missing App Bundle

I used the 'otool' to check the application dependancies and got the following output.

@
Last login: Sun Feb 5 09:51:34 on ttys000
My-Mac-mini:~ PSI$ cd '/Users/PSI/Projects/Qt-SFAX-4.7.2/SFA-build-desktop/'

My-Mac-mini:SFA-build-desktop PSI$ otool -L Main.app/Contents/MacOs/Main
Main.app/Contents/MacOs/Main:
QtWebKit.framework/Versions/4/QtWebKit (compatibility version 4.7.0, current version 4.7.0)
QtXml.framework/Versions/4/QtXml (compatibility version 4.7.0, current version 4.7.0)
QtGui.framework/Versions/4/QtGui (compatibility version 4.7.0, current version 4.7.0)
QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.7.0, current version 4.7.0)
QtCore.framework/Versions/4/QtCore (compatibility version 4.7.0, current version 4.7.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 625.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

My-Mac-mini:SFA-build-desktop PSI$ otool -L Main.app/Contents/MacOs/Support.app/Contents/MacOs/Support
Main.app/Contents/MacOs/Support.app/Contents/MacOs/Support:
QtGui.framework/Versions/4/QtGui (compatibility version 4.7.0, current version 4.7.0)
QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.7.0, current version 4.7.0)
QtCore.framework/Versions/4/QtCore (compatibility version 4.7.0, current version 4.7.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 625.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

My-Mac-mini:SFA-build-desktop PSI$
@
Is my problem that I just need to tell the Support app where the Qt Framework is located at deploy time by using the 'install_name_tool -id' and 'install_name_tool -change' commands as outlined in the article at http://developer.qt.nokia.com/doc/qt-4.8/deployment-mac.html ?

Something like..

@
install_name_tool -id @executable_path/../../../../Frameworks/QtGui.framework/Versions/4/QtGui
Support.app/../../../../Frameworks/QtGui.framework/Versions/4/QtGui

install_name_tool -change QtGui.framework/Versions/4/QtGui
@executable_path/../../../../Frameworks/QtGui.framework/Versions/4/QtGui
Support.app/Contents/MacOs/Support
@

..or is there a better way to do this..maybe at compile or link time within the Qt Creator build??

Macos Missing App Bundle

Any help or suggestions would be appreciated.

Opened 7 years ago

Macos Missing App Bundle Android

Closed 7 years ago

Last modified 7 years ago

#8852closedPatch (fixed)

Reported by:Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: OS X
Operating system version:

Attachments (1)

patch-src-putty-Makefile.am.diff​ (614 bytes) - added by 7 years ago.
A patch to build fzputtygen before FileZilla.app bundle

Download all attachments as: .zip

Change History (4)

by , 7 years ago

Macos Missing App Bundle Iphone

Attachment:patch-src-putty-Makefile.am.diff​ added

comment:1 by , 7 years ago

Macos Application Bundle

comment:2 by , 7 years ago

comment:3 by , 7 years ago

Note: See TracTickets for help on using tickets.