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

Loading libhostfxr.dylib failed in OSX #418

Closed
inanx opened this issue Dec 24, 2022 · 5 comments
Closed

Loading libhostfxr.dylib failed in OSX #418

inanx opened this issue Dec 24, 2022 · 5 comments
Labels
question Further information is requested

Comments

@inanx
Copy link

inanx commented Dec 24, 2022

Describe the bug
IronModManager does not load because of a loading error (gatekeeper based on #119 )

To Reproduce
Steps to reproduce the behavior:

  1. Download latest osx-x64.zip
  2. Unzip to a directory (I had mine inside Paradox Interactive directory in Documents folder), add execute permission via chmod, and run ./IronyModManager executable file.
  3. It errors out with a loading error.

Expected behavior
Successfully open Irony Mod Manager.

Screenshots
N/A

Logs
Not an app/system error but these are the terminal logs:

Failed to load /Users/<redacted>/Documents/Paradox Interactive/Irony/libhostfxr.dylib, error: dlopen(/Users/<redacted>/Documents/Paradox Interactive/Irony/libhostfxr.dylib, 1): no suitable image found. Did find: /Users/<redacted>/Documents/Paradox Interactive/Irony/libhostfxr.dylib: code signature in (/Users/<redacted>/Documents/Paradox Interactive/Irony/libhostfxr.dylib) not valid for use in process using Library Validation: library load disallowed by system policy The library libhostfxr.dylib was found, but loading it from /Users/<redacted>/Documents/Paradox Interactive/Irony/libhostfxr.dylib failed Installing .NET prerequisites might help resolve this problem. https://go.microsoft.com/fwlink/?linkid=2063366

Version:

  • OS: [MacOS 11.6.8 ]
  • Irony Version [1.24.107]

Additional context
Updated based on the conversations on this issue.

Solution
After downloading the osx-x64.zip in ~/Downloads, open terminal and run the following:

  1. cd ~/Applications
  2. mkdir IronyModManager.app
  3. cd IronyModManager.app
  4. mv ~/Downloads/osx-64.zip .
  5. unzip osx-64.zip
  6. chmod +x IronyModManager

Open IronyModManager by any of the following:

  1. Finder: go to /Applications and double-click IronyModManager
  2. Terminal: cd /Applications/IronyModManager.app && ./IronyModManager
  3. Launchpad: search IronyModManager and click IronyModManager
@inanx inanx added the bug Something isn't working label Dec 24, 2022
@bcssov bcssov added question Further information is requested and removed bug Something isn't working labels Dec 24, 2022
@bcssov
Copy link
Owner

bcssov commented Dec 24, 2022

I would say it's an incomplete download or corrupt download or gatekeeper. Then I saw the version 1.5.xx has long ago reached end of life and is no longer supported. 1.24.xx version is latest please try that.

@inanx
Copy link
Author

inanx commented Dec 24, 2022

FIrstly, thanks for this. I checked the downloaded version and updated the comment. It could possibly be corrupt download, so I downloaded again. I unzipped, changed permissions and executed it but I got the same problem.

ss 136

I actually have to go to the Finder and right-click to open IronyModManager, but just can't get past this libhostfxr.dylib popup.

@inanx
Copy link
Author

inanx commented Dec 24, 2022

Also, maybe related to this issue: #313 (comment)

@bcssov
Copy link
Owner

bcssov commented Dec 24, 2022

This is probably gatekeeper, see: #119

I know for a fact when it's not interfering that Irony works. Some unrelated screenshots shared to me by one of testers using mac big sur (which is I believe your version).

Image2
img_3

This was from a test done within the last 30 days (unrelated to the current issue though).

@inanx
Copy link
Author

inanx commented Dec 25, 2022

I was able to make it work without doing anything spectacular. I just copied the whole IronyModManager folder to /Applications and renamed it IronyModManager.app and double clicked it.

I tested it in game and true enough my test mod was in there. Amazing!

Thanks @bcssov! Count me in as one of your mac testers.

@inanx inanx closed this as completed Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants