I want to create static library through Xcode 4.I took one .a build using cocoa Touch static library.When I add .h file and .a file into new project ,it gives missing required architecture i386 in file error.I have to set any Header search path in xcode 4 like earlier versions.?
1)what is the best approach, can i develop static library which will work in simulator and device as well through xcode 4?
2)some tutorials are saying that we have to develop a)Create a build for the device (the armv6 and armv7 architecture). b)Create a build for the simulator (the i386 architecture). cant we develop single .a component for all architecture?
which one is the right in above?what is the right approach?any help please?