I'm a little confused about how to create a universal infrastructure using the latest Xcode 6 and iOS 8. For example, this answer includes the following:
If you need to create universal static library that runs on both simulator and devices, then general steps are: 1. Build library for simulator 2. Build library for device 3. Combine them using lipo lipo -create -output "framework-test-01-universal" "Debug-iphonesimulator/framework-test-01.framework/framework-test-01" "Debug-iphoneos/framework-test-01.framework/framework-test-01" Note that framework-test-01 is my framework project name.
One of my employees followed these instructions and created an executable file. Well, I donβt think this is what I am looking for. It contains a structure that looks like this:

In the future, another answer here talks about creating an aggregate goal with launching the Script build phase, which I am familiar with in the previous version of Xcode. When I use this process, I get what I expect. The folder structure is as follows:

Can anyone help eliminate this confusion we have?
What is the difference between the two?
I mean, this is the first application creation procedure. , which can work both on the simulator and on the device, and the second - to create a static library ?
cocoa-touch cocoa ios8 xcode6
Patricia Nov 25 '14 at 20:30 2014-11-25 20:30
source share