Thanks for the reply akufene.
I found a way to make it work. What I did was create a completely new C++ project in version 4.26 in the Mac so xCode could compile it, then I replaced the Content folder from my previous project to the new created project and then after packaging the app use transporter to upload to the appstore and worked as expected.