注入 III:与 BitCode 的可插入冲突

Injection III : Interposable conflict with BitCode

我正在使用 InjectionIII 在 Xcode 11.5 和 MacOS 10.15.2 上进行代码注入。安装指南说

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).

我添加了标志,如屏幕截图所示,它在模拟器上运行良好,但对于设备我收到此错误。

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

我设置标志的方式有问题,但我无法弄清楚。

目前 InjectionIII 只能在模拟器上运行1. 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: