ReactiveObjC.framework指定CFBundleSupportedPlatforms键的模拟器平台 [英] ReactiveObjC.framework specifies a simulator platform for the CFBundleSupportedPlatforms key

查看:373
本文介绍了ReactiveObjC.framework指定CFBundleSupportedPlatforms键的模拟器平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



但当我存档我的 Ad hoc ipa ,有一个问题:

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






ATTEMPT - 1
教学:



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


I replace the ReactiveCocoa to ReactiveObjC in cocoapods, because the ReactiveCocoa is swift only now, I have to do this.

But when I archive my Ad hoc ipa, there comes an issue:

ReactiveObjC.framework specifies a simulator platform for the CFBundleSupportedPlatforms key


ATTEMPT - 1 The teaching:https://forums.developer.apple.com/thread/62261 I try to edit the Info.plist, but not work for me:

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

解决方案

After many attempts, solve this finally.

When export the .ipa, uncheck the Rebuild from bitcode option, then success.

I think ReactiveObjC do not support bitcode now, maybe in the future, there will not have this issue.

这篇关于ReactiveObjC.framework指定CFBundleSupportedPlatforms键的模拟器平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆