Combined framework simulator/device binary Xcode 7.3(组合框架模拟器/设备二进制 Xcode 7.3)
问题描述
我仔细
<块引用>问题在于,无论两者中的哪一个用作基础(Debug-iphonesimulator 或 Debug-iphoneos).如果基础是模拟器,当我将它添加到父项目时不会在设备上运行.反之亦然
似乎 lipo 没有很好地合并这两个文件,或者缺少一些要加入的文件.
我已经在网上搜索过,显然没有更多的步骤来完成此操作.
我找到了答案,只需要拖放文件并使用显示的本机合并选项.
原生合并":
I followed carefully THIS POST for this
In summary you have to use lipo to connect each device and simulator build
Using:
lipo -create -output "MyFrameworkName" "Debug-iphonesimulator/MyFrameworkName.framework/MyFrameworkName" "Debug-iphoneos/MyFrameworkName.framework/MyFrameworkName"
I am choosing any framework Debug-iphonesimulator or Debug-iphoneos as a base to add the file that resulted from lipo.
Example:
The problem is that no matter which of the 2 use as a base (
Debug-iphonesimulatororDebug-iphoneos). If the base is the simulator when I add it to the parent project does not run on the device. and vice versa
It seems that lipo was not doing a good job uniting the 2 files, or missing some files more to join.
I have searched the web and apparently no more steps to accomplish this.
I found the answer, just need drag and drop the file and using the native merge option displayed.
"Native merge":
这篇关于组合框架模拟器/设备二进制 Xcode 7.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:组合框架模拟器/设备二进制 Xcode 7.3
基础教程推荐
- 如何从 logcat 中删除旧数据? 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
