Skip to content

Mac OS 12.6.3 build completes, MacOS bundle is incomplete #35

Open
@sbfreddie

Description

@sbfreddie

The build was successful:

`+ deploy_qt XELFViewer

  • /Users/freddie/Qt5.6.3/5.6.3/clang_64/bin/macdeployqt /Users/freddie/Desktop/XELFViewer/release/xapkdetector_mac/XELFViewer.app
    WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store compliant.
    WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant.
    ERROR: no file at "/opt/local/lib/mysql55/mysql/libmysqlclient.18.dylib"
    ERROR: no file at "/usr/local/lib/libpq.5.dylib"
  • make_release XELFViewer
  • cd /Users/freddie/Desktop/XELFViewer/release/
  • rm -rf /Users/freddie/Desktop/XELFViewer/release/xapkdetector_mac_portable_0.06_.zip
  • /usr/bin/ditto -c -k --sequesterRsrc --keepParent /Users/freddie/Desktop/XELFViewer/release/xapkdetector_mac/XELFViewer.app /Users/freddie/Desktop/XELFViewer/release/xapkdetector_mac_portable_0.06_.zip
  • '[' -n '' ']'
  • '[' -n '' ']'
  • zip -d /Users/freddie/Desktop/XELFViewer/release/xapkdetector_mac_portable_0.06_.zip '__MACOSX/'
    zip warning: name not matched: __MACOSX/

zip error: Nothing to do! (/Users/freddie/Desktop/XELFViewer/release/xapkdetector_mac_portable_0.06_.zip)

  • cd /Users/freddie/Desktop/XELFViewer
  • make_clear
  • rm -rf /Users/freddie/Desktop/XELFViewer/release/xapkdetector_mac
    freddie@Eds-MacBook-Pro XELFViewer %`

But when running the app it crashes with these errors:

`-------------------------------------
Translated Report (Full Report Below)

Process: XELFViewer [64870]
Path: /Users/USER/Desktop/XELFViewer.app/Contents/MacOS/XELFViewer
Identifier: Kingston.XELFViewer
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 502

Date/Time: 2023-02-23 18:37:41.7761 -0300
OS Version: macOS 12.6.3 (21G419)
Report Version: 12
Anonymous UUID: 0DEDC747-DDD1-A166-9B79-37CA43BB2FFD

Sleep/Wake UUID: 7890E2C0-4969-485C-B501-D8958DACBCA1

Time Awake Since Boot: 230000 seconds
Time Since Wake: 7055 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: '@executable_path/../Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport'
Referenced from: '/Users/USER/Desktop/XELFViewer.app/Contents/MacOS/XELFViewer'
Reason: tried: '' (no such file), '' (no such file), '' (no such file)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0 dyld 0x10aa8298e __abort_with_payload + 10
1 dyld 0x10aa98a72 abort_with_payload_wrapper_internal + 80
2 dyld 0x10aa98aa4 abort_with_payload + 9
3 dyld 0x10aa46699 dyld4::halt(char const*) + 615
4 dyld 0x10aa425b5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
5 dyld 0x10aa414e4 start + 388
`

Its appears the the build instructions does not package up the Frameworks and insert them into the app bundle.

Any clues how to fix this?

Regards,
Ed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions