Reputation: 330
We have developed an app which uses some c++ libraries compiled for armv7s(iPhone5 and iPhone5C) architecture and the app runs fine on arm64(iPhone5S)as well but while uploading the app to app store in validation process am getting error as : "this bundle is invalid. apps that include an armv7s architecture are required to include an armv7". Is there anyway where i can restrict our app to be installed on armv7s and above supported architecture devices only.
Upvotes: 1
Views: 326
Reputation: 330
Finally found a way to resolve it by simply creating 3 different static libraries for armv7 , armv7s and arm64 and then created a fat static library using command lipo -create mylibraryarmv7.a mylibraryarmv7s.a mylibraryarm64.a -output mylibrary.a
Upvotes: 1