Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot 2019.12.04 from itch.io does not boot on macOS #2689

Closed
tcannonfodder opened this issue Dec 5, 2019 · 5 comments
Closed

Snapshot 2019.12.04 from itch.io does not boot on macOS #2689

tcannonfodder opened this issue Dec 5, 2019 · 5 comments
Labels
bug Broken behavior. macos macOS specific issue.

Comments

@tcannonfodder
Copy link

tcannonfodder commented Dec 5, 2019

The snapshot in question is tied to #2685

Steps to reproduce:

  1. Download the 2019.12.04 snapshot from https://thorbjorn.itch.io/tiled
  2. Observe that the following error message is returned:
    image

Version: MacOS Catalina 10.15.1

@bjorn
Copy link
Member

bjorn commented Dec 5, 2019

Thanks for the report!

It seems like something went wrong with shipping the full set of libraries Tiled needs. When I try to launch the Tiled binary inside the bundle it complains about not finding QtNetwork, which is indeed missing.

I have no idea at the moment what changed to cause this problem. I'll need to find some time to investigate.

@bjorn bjorn added bug Broken behavior. macos macOS specific issue. labels Dec 5, 2019
@bjorn
Copy link
Member

bjorn commented Dec 5, 2019

When trying to run through itch.io I get the following output in the Problem Report:

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: @rpath/QtNetwork.framework/Versions/5/QtNetwork
  Referenced from: /Users/USER/Library/Application Support/itch/*/Tiled.app/Contents/MacOS/Tiled
  Reason: image not found

@bjorn
Copy link
Member

bjorn commented Dec 5, 2019

Hmm, this already affected Tiled 2019.11.26 as well, but 2019.11.20 is not affected. So it may have something to do with the update of Qt from 5.12.5 to 5.12.6.

bjorn added a commit that referenced this issue Dec 5, 2019
Just checking if the recent problem with launching Tiled on macOS is
related to the Qt update.

Issue #2689
@bjorn
Copy link
Member

bjorn commented Dec 5, 2019

Downgrading to Qt 5.12.5 did not fix it, so there's something else going wrong. :-/

bjorn added a commit that referenced this issue Dec 5, 2019
Maybe it will tell us something about those missing libraries.

Also downgraded the QTCREATOR_VERSION to get us even closer to the last
working state.

Issue #2689
@bjorn
Copy link
Member

bjorn commented Dec 10, 2019

Was fixed by the above commit. The following change in .travis.yml appears to break the macOS packaging:

-  - QTCREATOR_VERSION=4.10.1
+  - QTCREATOR_VERSION=4.10.2

Will need to investigate why before increasing that version number in the future.

Edit: A fixed snapshot is available (version 2019.12.10).

@bjorn bjorn closed this as completed Dec 10, 2019
bjorn added a commit that referenced this issue Jan 22, 2020
The version of Qbs shipping with Qt Cretor 4.10.2 somehow relates to a
problem of missing libraries in the .app.

Issue #2689
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior. macos macOS specific issue.
Projects
None yet
Development

No branches or pull requests

2 participants