Switched to MetalANGLE for iOS

This commit is contained in:
Anuken 2025-09-30 10:18:58 -04:00
parent 58909a06a5
commit 6712f23fe4
2 changed files with 10 additions and 5 deletions

View file

@ -48,7 +48,7 @@ ext{
mainClassName = "mindustry.ios.IOSLauncher"
}
task copyAssets(){
tasks.register('copyAssets'){
doLast{
delete{
delete "assets/"
@ -61,17 +61,16 @@ task copyAssets(){
}
}
task copyNatives(){
tasks.register('copyNatives'){
doLast{
copy{
from "../../Arc/natives/natives-freetype-ios/libs", "../../Arc/natives/natives-ios/libs"
into "libs"
}
}
}
task deploy{
tasks.register('deploy'){
if(System.getProperty("os.name").contains("Mac")) dependsOn copyAssets
dependsOn createIPA
}

View file

@ -40,7 +40,13 @@
</libs>
<frameworks>
<framework>UIKit</framework>
<framework>OpenGLES</framework>
<framework>MetalANGLEKit</framework>
<framework>libGLESv2</framework>
<framework>libEGL</framework>
<framework>libfeature_support</framework>
<framework>Metal</framework>
<framework>QuartzCore</framework>
<framework>CoreGraphics</framework>
<framework>CoreAudio</framework>