ReactiveObjC.framework指定CFBundleSupportedPlatforms键的模拟器平台

时间:2016-12-12 11:21:15

标签: ios

我将ReactiveCocoa替换为ReactiveObjC中的cocoapods,因为ReactiveCocoa现在只有swift,我必须这样做。

但当我archive Ad hoc ipa时出现了问题:

ReactiveObjC.framework specifies a simulator platform for the CFBundleSupportedPlatforms key

enter image description here

ATTEMPT - 1 教学:https://forums.developer.apple.com/thread/62261 我尝试编辑Info.plist,但不适合我:

<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>

1 个答案:

答案 0 :(得分:5)

经过多次尝试,最终解决了这个问题。

导出.ipa时,取消选中Rebuild from bitcode选项,然后成功。

uncheck the Rebuild from bitcode

我认为ReactiveObjC现在不支持bitcode,也许在将来,不会有这个问题。