Boost library not linking


I have just downloaded OF for max OSX and IOS.
For OSX the project is building successfully as for the IOS it has 1 link error as follows:

ld: in …/…/…/libs/boost/lib/ios/boost_system.a(error_code.o), building for iOS Simulator, but linking in object file built for iOS, file ‘…/…/…/libs/boost/lib/ios/boost_system.a’ for architecture arm64

It looks for me as though the boost_system.a is built using intel arch but I am using M1 mac.

Please any way to resolve it.