Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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:

enter image description here

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.0k views
Welcome To Ask or Share your Answers For Others

1 Answer

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

"Native merge":

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...