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

dylibbundler fails when building widelands on M1 Mac. #79

Open
klaus-halfmann opened this issue Oct 17, 2022 · 0 comments
Open

dylibbundler fails when building widelands on M1 Mac. #79

klaus-halfmann opened this issue Oct 17, 2022 · 0 comments

Comments

@klaus-halfmann
Copy link

Could somebody help me with this one:
widelands/widelands#5610

   dylibbundler --create-dir --bundle-deps \
        --fix-file $DESTINATION/Widelands.app/Contents/MacOS/widelands \
        --dest-dir $DESTINATION/Widelands.app/Contents/libs \
        --search-path $ASANPATH                                     

Fails with some special resources used by our game only:

codesign --force --deep --preserve-metadata=entitlements,requirements,flags,runtime --sign - "WidelandsRelease/Widelands.app/Contents/MacOS/widelands"
WidelandsRelease/Widelands.app/Contents/MacOS/widelands: replacing existing signature
WidelandsRelease/Widelands.app/Contents/MacOS/widelands: bundle format unrecognized, invalid, or unsuitable
In subcomponent: /Users/klaus/develop/widelands/v1.1-rc1/WidelandsRelease/Widelands.app/Contents/MacOS/data/maps/Finnish_Lakes.wmf
  * Error : An error occurred while applying ad-hoc signature to WidelandsRelease/Widelands.app/Contents/MacOS/widelands

The .app Bundle can be started without issues. For now I Ignored the result. but this doe not seem reasonable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant