iOS – file does not contain an armv7s slice

4 Solutions Collect From Internet About “iOS – file does not contain an armv7s slice”

libAddThis.a needs to be built for the armv7s architecture. If you don’t have control over this then you will need to remove armv7s from valid architectures as you did.

Try setting the Build Active Architecture Only to ‘YES’ in the Project Build settings.

I did this by changing valid architecture from build setting.
I am attaching a screenshot for your help.

enter image description here

Thanks,
Cp

Add armv7s to the Valid Architectures setting in the Build Settings for the library’s project/target.