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

Error running on Apple M1 Simulator in a Unit Test bundle: Trying to load an unsigned library #59

Closed
damontikr opened this issue Dec 21, 2022 · 4 comments

Comments

@damontikr
Copy link

Hi,

I'm trying to link with WebRTC when building a Unit Test Bundle. The build process succeeds but when the Unit Test Bundle launches, it immediately fails with this error on my M1 Mac.

NOTE: Non-M1 Macs do not have this issue so I'm hoping there is a build configuration/setting that fixes this.

  Assertions: System: Failed to load the test bundle. 
  (0x0109): Library not loaded: @rpath/WebRTC.framework/WebRTC
  Reason: tried: '/.../Debug-iphonesimulator/WebRTC.framework/WebRTC' 
  (code signature in <> '/.../Debug-iphonesimulator/WebRTC.framework/WebRTC' not valid for use in process: Trying to load an unsigned library), 
  '/.../Debug-iphonesimulator/PackageFrameworks/WebRTC.framework/WebRTC' (errno=2), 
  ...
@bofeizhu
Copy link

bofeizhu commented Jan 2, 2023

Could be related to this issue #56

@CyonAlexRDX
Copy link

@damontikr @bofeizhu fixed in PR #61

@stasel
Copy link
Owner

stasel commented Jan 17, 2023

Thanks everyone for reporting and thanks to @GhenadieVP for the fix.
I have release a minor patch 109.0.1 with the fix. Can anyone please confirm that the latest release fixes the issue?

Thanks!

@stasel stasel closed this as completed Jan 20, 2023
@CyonAlexRDX
Copy link

@stasel confirmed works!

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

4 participants