I searched for so many problems, but I am not. on Xcode 4.3.2 (4.3.1)
I added several files to the new cocoa touch static library project and use iPhone Simulator to create it, and then I get build success , but there is no .a file in the product group (the .a file is red in the file list to the left of Xcode)
When I change “iPhone Simulator” to IOS Device , I also get build success , but now I see that the .a file is not red, and I can find the product folder ^
After I use lipo -info to check the .a file, it shows that it only supports the arm7 architecture, thus confirming my first action (there is no product built into Simulator ) ^ therefore the .a file cannot be used in my other project (I know that it can only be used in a simulator, supporting the i386 architecture)
source share