ios - 注入(inject) III : Interposable conflict with BitCode

标签 ios swift xcode code-injection

我正在使用 InjectionIII用于 Xcode 11.5 和 MacOS 10.15.2 上的代码注入(inject)。安装指南说

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

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

ScreenShot

最佳答案

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

Any iOS Simulator SDK

关于ios - 注入(inject) III : Interposable conflict with BitCode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63644760/

相关文章:

ios - Xcode 5 图像切片

ios - UIViewcontroller 作为 subview 未获取触摸事件

Swift SpriteKit 使用 3 个节点设置碰撞/接触位掩码

ios - ios-从youtube API v3响应中提取标题

ios - 选项卡栏角半径不显示透明角

ios - 下拉刷新不适用于空的 TableView

swift - iOS 14 MapKit 选择注解图片bug

swift - 添加触摸开始处的节点

ios - 在函数 swift 中使用 presentviewcontroller

ios - Xcode 11 SPM 身份验证失败,因为未提供凭据