- What should be the architectures for the framework/library building for IOS devices? Is i386 relevant architecture for an ios framework?
- A framework consist of headers files and an archive file. How can we create this archive file?
- Now when I build a library project it creates .a file. So what is the difference between archive file and .a file?
Update
I am using below command for creating a framework
xcodebuild -scheme MyFramework -sdk iphonesimulator -arch="armv7s" -configuration -Release TARGETED_DEVICE_FAMILY="1, 2" VALID_ARCHS="amrv7 arm64 armv7s"
But its getting failed with following message:
No architectures to compile for (ARCHS=i386, VALID_ARCHS=amrv7 arm64 armv7s).
Why an ios framework need "i386" architecture?