Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Injection III : Interposable conflict with BitCode

I am using InjectionIII for code injection on Xcode 11.5 and MacOS 10.15.2. Setup guide says

To use injection, download the app from the App Store and run it. Then, you must add "-Xlinker -interposable" to your project's "Other Linker Flags" for the Debug target (qualified by the simulator SDK to avoid complications with bitcode).

I added flag as shown in screen shot, It runs fine on Simulator but for Device I get this error.

-interposable and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

There is something wronng the way I have setup flags but I can't figure it out.

ScreenShot

like image 225
ibnetariq Avatar asked Jun 27 '26 16:06

ibnetariq


1 Answers

Currently InjectionIII can only work on simulators1. So you may want to specify "Other Linker Flags" only for simulators to prevent build error. Click the "+" icon in your image to select a target2:

Any iOS Simulator SDK

like image 68
Sin Avatar answered Jun 30 '26 08:06

Sin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!