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

Symbol already defined #92

Closed
Liam0205 opened this issue Jan 24, 2023 · 5 comments
Closed

Symbol already defined #92

Liam0205 opened this issue Jan 24, 2023 · 5 comments

Comments

@Liam0205
Copy link

Liam0205 commented Jan 24, 2023

I noticed that version 3.6.0 has been released these days. However when upgrading to 3.6.0 the package manager reports that the Shadow class and the ShadowService class are defined multiple times. When the program is running, one of them will be used but which one is undefined. Specifically, it depends on the order of loading dynamic libraries. I believe this might be a problem, and might cause unstable. Please kindly have a check on it and fix it.

44E69A52-04B0-4A13-9074-D5F11C242C12

@jjolano
Copy link
Owner

jjolano commented Jan 24, 2023

I am aware of this. This is due to the injection changes, but in terms of stability there should be nothing to worry about. I will try to suppress the message in an update.

It only affects the shdw tool because the tool reimplements Shadow code but due to injection, it receives another copy from the tweak.

@jjolano
Copy link
Owner

jjolano commented Jan 24, 2023

Can you confirm if this build fixes the issue?

me.jjolano.shadow_3.6.0-3+debug_iphoneos-arm.zip

@Liam0205
Copy link
Author

Can you confirm if this build fixes the issue?

me.jjolano.shadow_3.6.0-3+debug_iphoneos-arm.zip

bash-5.0# dpkg -i "/var/mobile/Library/Mobile Documents/com~apple~CloudDocs/Downloads/me.jjolano.shadow_3.6.0-3+debug_iphoneos-arm.deb" ;
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 7377 files and directories currently installed.)
Preparing to unpack .../me.jjolano.shadow_3.6.0-3+debug_iphoneos-arm.deb ...
Unpacking me.jjolano.shadow (3.6.0-3+debug) over (3.5.6) ...
Setting up me.jjolano.shadow (3.6.0-3+debug) ...
shdw: successfully regenerated dpkg ruleset

@jjolano
Copy link
Owner

jjolano commented Jan 25, 2023

Should be fixed in 3.6.1.

@jjolano jjolano closed this as completed Jan 25, 2023
@Liam0205
Copy link
Author

Should be fixed in 3.6.1.

Glad to know! 😋

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

2 participants