Open selimanac opened 1 month ago
When I keep the definitions same at macos.env
SWIFT_5_5_VERSION=6.0
IOS_VERSION_MIN=11.0
MACOS_VERSION_MIN=10.13
XCODE_15_VERSION=16.0
XCODE_15_CLANG_VERSION=16.0.0
MACOS_14_VERSION=15.0
IOS_17_VERSION=18.0
I got crash:
Thread 0 Crashed:: engine_main Dispatch queue: com.apple.main-thread
0 dmengine 0x1005518b8 lj_tab_getinth + 40
1 dmengine 0x10054b5bc lj_ff_ipairs_aux + 108
2 dmengine 0x100562790 lua_pcall + 148
3 dmengine 0x100527668 dmRender::RunScript(dmRender::RenderScriptInstance*, dmRender::RenderScriptFunction, void*) + 452 (render_script.cpp:3386)
4 dmengine 0x10042eb74 dmEngine::Init(dmEngine::Engine*, int, char**) + 7648 (engine.cpp:1353)
5 dmengine 0x10042fcc4 dmEngineCreate(int, char**) + 172 (engine.cpp:2243)
6 dmengine 0x10043091c dmEngine::RunLoop(dmEngine::RunLoopParams const*) + 84 (engine_loop.cpp:68)
7 dmengine 0x1004307ec EngineMain(int, char**) + 80 (engine_main.cpp:55) [inlined]
8 dmengine 0x1004307ec engine_main(int, char**) + 104 (engine_main.cpp:151)
9 dyld 0x193a0f154 start + 2476
extender log: stdout.log.zip
Engine:
This might be related to Xcode 16, and I know it's not yet supported. I'm just sharing this for further investigation if necessary(You'll eventually move to version 16.).
This might be related to Xcode 16, and I know it's not yet supported. I'm just sharing this for further investigation if necessary(You'll eventually move to version 16.).
Builds without a problem using 15.4.
SWIFT_5_5_VERSION=5.5
IOS_VERSION_MIN=11.0
MACOS_VERSION_MIN=10.13
XCODE_15_VERSION=15.4
XCODE_15_CLANG_VERSION=15.0.0
MACOS_14_VERSION=14.5
IOS_17_VERSION=17.5
The build_input.yml
in our engine uses specific version numbers, as that's what they're tested with.
To change that you have to update defold, and build the engine.
Using
dev
branch.I have modified macos.env for latest SDKs and removed old SDK definitions(I don't have them, I don't want to keep them):
Also modified setup-standalone-env.sh to fit the macos.env.
When I build from Editor:
env.XCODE_15_VERSION
hard coded somewhere and I can't find/change it:Result:
I'm not sure if I did something wrong or not, but it used to be a relatively easy process to use the latest SDKs on local environment for testing. Those hardcoded version definitions seem problematic to me.
Log: stdout.log.zip