简体   繁体   English

ReactiveObjC.framework为CFBundleSupportedPlatforms键指定了一个模拟器平台

[英]ReactiveObjC.framework specifies a simulator platform for the CFBundleSupportedPlatforms key

I replace the ReactiveCocoa to ReactiveObjC in cocoapods , because the ReactiveCocoa is swift only now, I have to do this. 我更换ReactiveCocoaReactiveObjCcocoapods ,因为ReactiveCocoaswift只是现在,我必须这样做。

But when I archive my Ad hoc ipa , there comes an issue: 但是,当我archive Ad hoc ipa ,会出现一个问题:

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: ATTEMPT-1教学内容: https : //forums.developer.apple.com/thread/62261我尝试编辑Info.plist ,但对我不起作用:

<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. 当导出.ipa ,取消Rebuild from bitcode选项,那么成功。

取消选中从位码重建

I think ReactiveObjC do not support bitcode now, maybe in the future, there will not have this issue. 我认为ReactiveObjC现在不支持位码,也许在将来,不会出现此问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 (DJIWidget) FFmpeg.framework 中的无效 CFBundleSupportedPlatforms 值 iPhoneSimulator - Invalid CFBundleSupportedPlatforms value iPhoneSimulator in (DJIWidget) FFmpeg.framework 无效的包 - Info.plist 应该使用包含单个平台的数组指定 CFBundleSupportedPlatforms - Invalid Bundle - Info.plist should specify CFBundleSupportedPlatforms with an array containing a single platform 在 Info.plist CFBundleSupportedPlatforms 或 Mach-O LC_VERSION_MIN for modplug 中找不到平台系列 - Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for modplug 在sqlite3的Info.plist CFBundleSupportedPlatforms或Mach-O LC_VERSION_MIN中找不到平台系列 - Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for sqlite3 无效的捆绑包 - 嵌套捆绑包没有CFBundleSupportedPlatforms中列出的正确平台Info.plist密钥 - Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key 无法在Info.plist CFBundleSupportedPlatforms或Mach-O LC_VERSION_MIN中找到phantomjs的平台系列 - Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs 目标指定了产品类型“ com.apple.product-type.app-extension”,但“ iphonesimulator”平台没有此类产品类型” - target specifies product type 'com.apple.product-type.app-extension', but there's no such product type for the 'iphonesimulator' platform" 在模拟器中,MobileFirst Platform适配器调用失败 - MobileFirst Platform adapter invocation fails in simulator 对设备和模拟器使用不同的框架 - Use different framework for device and simulator 模拟器上的 Xcode 错误:此平台不支持 MGIsDeviceOneOfType - Xcode Error on Simulator: MGIsDeviceOneOfType is not supported on this platform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM