I need to understand what part of HXCPP / Lime / OpenFL is in charge of building the following command line for native targets (in this example it’s tvOS, but might as well be anything else)
xcrun --sdk appletvos9.0 clang++ -Iinclude -c -stdlib=libc++ -g -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS9.0.sdk -mappletvos-version-min=9.0 -fobjc-arc -DOBJC_ARC -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-bool-conversion -fno-stack-protector -DAPPLETV=APPLETV -DAPPLETVOS=APPLETVOS -fembed-bitcode -DENABLE_BITCODE=YES -DHXCPP_DEBUG -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 -I/Users/tanis/Documents/hxcpp/include -fexceptions -fstrict-aliasing -x c++ -Wno-invalid-offsetof ./src/openfl/display/IGraphicsData.cpp -o/Users/tanis/Documents/openfl-test-tvos/BunnyMarkLatest/Export/tvos/BunnyMark/haxe/build/Debug-appletvos-64/obj/appletvos-c11-dbg-64/bd21d9ff_IGraphicsData.o
As you can see, it’s being passed -arch [architecture]
and -isysroot [path to the SDK
.
For some reason I cannot get the tvOS platform to set the architecture and sysroot for the simulator. Any clue of where that code should go?
Cheers!