Giter Club home page Giter Club logo

Comments (4)

bruvzg avatar bruvzg commented on July 23, 2024

This makes impossible to upload macOS apps that use C# to the App Store.

  • App Store require sandboxing, it is disabled in your config.
  • Distribution type in your config is set to Distribution, which is intended for distribution of signed and notarized apps outside App Store (and can be done without sandboxing).

The signing error seems to be a bug specific to signing .NET helper executable as if it was sandboxed (even when it's not sandboxed).

from godot.

LeonardoDemartino avatar LeonardoDemartino commented on July 23, 2024

Thanks for the feedback @bruvzg!

Still something is off with singing apparently.
After turning on sandboxing and set the config to Distribution as you suggested, I get now a .pkg and no errors from Godot (that's the good part). The bad part is that after installing, when I run the .app this popup appears:
Screenshot 2024-07-18 at 6 06 23 PM

If I set the "codesign" to DISABLED it runs fine, so I guess more changes are needed to fix code signing when C# is ON.

from godot.

LeonardoDemartino avatar LeonardoDemartino commented on July 23, 2024

It even uploads fine to macOS TestFlight but crashes at startup as well (exporting locally without singing runs just fine).
It would be cool if somebody could test this on their side so we can figure out if this is a problem of my signing configuration or something else.

ERROR: Can't open dynamic library: /Applications/APP.app/Contents/Resources/data_PBP_macos_arm64/libhostfxr.dylib. Error: dlopen(/Applications/APP.app/Contents/Resources/data_PBP_macos_arm64/libhostfxr.dylib, 0x0002): tried: '/Applications/APP.app/Contents/Resources/data_PBP_macos_arm64/libhostfxr.dylib' (code signature invalid in '/Applications/APP.app/Contents/Resources/data_PBP_macos_arm64/libhostfxr.dylib' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x00057030, codeBlobSize=0x00005C50), '/System/Volumes/Preboot/Cryptexes/OS/Applications/APP.app/Contents/Resources/data_PBP_macos_arm64/libhostfxr.dylib' (no such file), '/Applications/APP.app/Contents/Resources/data_PBP_macos_arm64/libhostfxr.dylib' (code signature invalid in '/Applications/APP.app/Contents/Resources/data_PBP_macos_arm64/libhostfxr.dylib' (errno=1) sliceOffset=0x00000000, codeBlobOffset=0x00057030, codeBlobSize=0x00005C50).
at: open_dynamic_library (platform/macos/os_macos.mm:236)
ERROR: Condition "!FileAccess::exists(path)" is true. Returning: ERR_FILE_NOT_FOUND
at: open_dynamic_library (platform/macos/os_macos.mm:233)
ERROR: .NET: Failed to load hostfxr
at: initialize (modules/mono/mono_gd/gd_mono.cpp:393)
zsh: segmentation fault /Applications/APP.app/Contents/MacOS/APP

from godot.

LeonardoDemartino avatar LeonardoDemartino commented on July 23, 2024

It looks like another case of: #91469

from godot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.