Add fixes for Apple Clang-12 errors when building for iOS (arm64)
3 main errors come up when compiling for iOS. As a workaround, we can silence them by passing in the flags below.
-Wno-unused-parameter
-Wno-ignored-qualifiers
-Wno-shorten-64-to-32
However, we should try to resolve them in the code.