You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading .dylib has failed, This is likely because Swift code being injected references a function using a default argument or a member with access control that is too restrictive or perhaps an XCTest that depends on code not normally linked into your application. Rebuilding and re-running your project (without a build clean) can resolve this.
#93
Closed
zerocc2014 opened this issue
Apr 10, 2024
· 8 comments
Loading .dylib has failed, This is likely because Swift code being injected references a function using a default argument or a member with access control that is too restrictive or perhaps an XCTest that depends on code not normally linked into your application. Rebuilding and re-running your project (without a build clean) can resolve this.
use HotReloading SPM in .xcworkspace cocopods project
The text was updated successfully, but these errors were encountered:
I'm not sure what the problem is. If you can't inject files that refer to this definition you could consider creating a class method to access the variable.
I'm not sure what the problem is. If you can't inject files that refer to this definition you could consider creating a class method to access the variable.
thx, I use demo test inject success,but company project is fail.
Not much more I can say here. When referring to a particular symbol gives you problems dynamically loading you have to explore ways to avoid referring to that symbol directly in the file being inject for example by using a class method.
Loading .dylib has failed, This is likely because Swift code being injected references a function using a default argument or a member with access control that is too restrictive or perhaps an XCTest that depends on code not normally linked into your application. Rebuilding and re-running your project (without a build clean) can resolve this.
use HotReloading SPM in .xcworkspace cocopods project
The text was updated successfully, but these errors were encountered: