InjectionIII icon indicating copy to clipboard operation
InjectionIII copied to clipboard

Build Fails After Adding -Xlinker -interposable

Open VidaHasan opened this issue 5 years ago • 2 comments

When adding xlinker interposable, the build fails for my project. Here's my setup

Screen Shot 2021-05-05 at 11 53 18 AM

Build Errors: Screen Shot 2021-05-05 at 11 51 50 AM

I doubt this is an issue specific to injection, but thought maybe there is some value in adding discussion on this issue and possible workarounds.

The errors are 'Undefined symbol: OBJC_CLASS$_$GMSPlacesClient whichis likely from Google places framework.

docs here: https://developers.google.com/maps/documentation/places/ios-sdk/overview

System info: xcode 12.4 MacOS Big Sur (11.3) Injection app downloaded via mac app link in repo (not app store)

VidaHasan avatar May 05 '21 16:05 VidaHasan

Try adding -Xlinker -undefined -Xlinker dynamic_lookup as well.

johnno1962 avatar May 05 '21 17:05 johnno1962

Hey @johnno1962 , thank you for the quick reply.

I ended up getting it working after adding that flag & adding the app to my applications directory.

great stuff, thanks for the help!

VidaHasan avatar May 05 '21 18:05 VidaHasan