I developed my mobile app with ionic 3 and used XCode to build and release the application to ios.
When I used archive command on XCode version 12.1 to build the package, I got this error "building for iOS-armv7 but attempting to link with file built for iOS-arm64". The error can be solved by changing the target ios version from 10 to 11. However, I cannot change the target ios version to 11 because some of my users still use ios 10. I have no problem on XCode version 11.
Is there any way to set XCode parameter(s) to resolve this error when target ios version is set to 10?
When I used archive command on XCode version 12.1 to build the package, I got this error "building for iOS-armv7 but attempting to link with file built for iOS-arm64". The error can be solved by changing the target ios version from 10 to 11. However, I cannot change the target ios version to 11 because some of my users still use ios 10. I have no problem on XCode version 11.
Is there any way to set XCode parameter(s) to resolve this error when target ios version is set to 10?