Combined framework simulator/device binary Xcode 7.3

為{幸葍}努か 提交于 2019-12-29 09:20:10

问题


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-iphonesimulator or Debug-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.


回答1:


I found the answer, just need drag and drop the file and using the native merge option displayed.

"Native merge":



来源:https://stackoverflow.com/questions/37061496/combined-framework-simulator-device-binary-xcode-7-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!