I attempted with cocos2d-x variations 3.16, 3.17 to create .xcframework bundle in order that i can use arm64 iPhone Simulator.
Sadly generated static libs(.a) not permitting me to create .xcframework with the beneath error:
error: binaries with a number of platforms should not supported ‘/Customers/…/Library/Developer/Xcode/DerivedData/cocos2d_libs-dblupjckulxzszdihupnxykfhiaq/Construct/Merchandise/Launch-iphonesimulator/libcocos2d_iOS.a’
After analyzing the .a file utilizing “otool -l -arch arm64 libcocos2d_iOS.a ” got here to know its creating arm64 for iPhone platform not for iPhoneSimulator.
Can anybody assist me on this?
Thanks!