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

ibn*_*riq 3 xcode code-injection ios swift

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

要使用注入,请从 App Store 下载应用程序并运行它。然后,您必须将“-Xlinker -interposable”添加到项目的调试目标的“其他链接器标志”(由模拟器 SDK 限定以避免位码的复杂性)。

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

-interposable and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
Run Code Online (Sandbox Code Playgroud)

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

截屏

Sin*_*Sin 6

目前 InjectionIII 只能在模拟器上运行1。因此,您可能只想为模拟器指定“其他链接器标志”,以防止构建错误。单击图像中的“+”图标以选择目标2

任何 iOS 模拟器 SDK