I'm creating a static library in iOS. When I check for architecture of library using the command
lipo -info {LibraryName}.a
I'm getting only arm64
as the architecture for library. I also need armv7
to be included for this library so that I can integrate it with another app and archive it.
In the Architectures I've selected Standard architectures
(armv7, arm64) - $(ARCHS_STANDARD)
And for Valid architectures I've arm64 armv7 armv7s
please help me.
Make sure that Build Active Architecture Only is set to No. (This is under Build Settings in the Architectures group).
I had a similar problem and this seems to fix it.
(Now I just need to understand why armv7s
is no longer included and if it matters...)
Also check your iOS deployment target. If it's 12.1 for example it won't include armv7.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With