After I runcocos compile -p ios
The output revealsworking: 'xcodebuild -project ... os.xcodeproj -configuration Debug -target "..." -arch "x86_64" -sdk iphonesimulator CONFIGURATION_BUILD_DIR="..." VALID_ARCHS="i386 x86_64"'
Nonetheless, my xcode venture is ready up utterly in another way to construct with arm64 and use iphoneos.
How do i alter these settings so utilizing cocos compile -p ios
runs the right settings?
If you wish to use CMake to compile, edit your venture’s CMake file.
Does utilizing cocos compile -p ios
truly use the CmakeLists.txt file?
I’ve tried including a couple of totally different strains to the CMakeLists.txt file to change these settings however nothing has labored but.
e.g.
set_target_properties(${APP_NAME} PROPERTIES XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH "NO")
and likewise tried
set_xcode_property(${APP_NAME} TARGET_ARCH "arm64")
and different related strains. These didn’t assist