Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Building Gideros for macOS 27 — Gideros Forum

Building Gideros for macOS 27

Starting a new thread for building and running Gideros project on macOS 27 to avoid polluting the 2026.9 release thread. I've opened a PR that gets iOS Simulator/arm64 build working. More to do, PR is in draft, looking for early feedback.

Likes: MoKaLux, pie

+1 -1 (+2 / -0 )Share on Facebook

Comments

  • Learning #1 - Wiki Missing note on installing Metal Toolchain

    The wiki page on building from source is missing the following shell command for installing Metal's build toolchain. Should probably go into the Installing Xcode section.
    xcodebuild -downloadComponent MetalToolchain
  • Learning #2 - Qt 6.12.0 can build Gideros

    I've successfully built Gideros on both Xcode 26 and 27 using it. Can't say everything absolutely works yet :)
  • Question for the maintainers - the Wiki's steps for compiling (1.12.4 Fetch additional repositories) has me manually running 2 make files when I want to build Studio. I happened to miss this step and got stuck on an error building Studio. An easy fix for this that would allow us to remove that optional requirement is to have Studio depend on qscintilla and qlexilla in the make file. There are two ways to do it in GidQtMac.mk - I can put up a PR if our two fabulous maintainers like either suggestion.

    Option A (preferred)
    PRO - only builds dependencies once
    CON - more complicated fix
    CON - doesn't rebuild if qscintilla or qlexilla sources change (which already happens today)
    $(QT)/include/ScintillaEdit/ScintillaEdit.h:
            $(SUBMAKE) qscintilla
     
    $(QT)/include/Lexilla/Lexilla.h:
            $(SUBMAKE) qlexilla
     
    ui.qmake.rel: $(QT)/include/ScintillaEdit/ScintillaEdit.h $(QT)/include/Lexilla/Lexilla.h
    Option B
    PRO - very simple
    CON - rebuilds qscintilla qlexilla for every Studio build (~10s)
    ui.qmake.rel: qscintilla qlexilla
  • MoKaLuxMoKaLux Maintainer

    Learning #1 - Wiki Missing note on installing Metal Toolchain

    The wiki page on building from source is missing the following shell command for installing Metal's build toolchain. Should probably go into the Installing Xcode section.

    xcodebuild -downloadComponent MetalToolchain
    Added https://wiki.gideros.rocks/index.php/Compiling_Gideros_Source#.28Mac.29_Install_Xcode

    PS: troysandal, I am not a maintainer 🙄, I try to give back to the community by updating Gideros Wiki to the best of my abilities 😋

    Likes: troysandal

    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
    +1 -1 (+1 / -0 )Share on Facebook
  • Learning #3 - Makefile.def for macOS 27

    There's already a Makefile.def example in the Wiki for Windows. Here's one for macOS 27/Xcode 27 & Qt 6.12.0.
    QTBASEDIR=~/Qt
    MAKEJOBS=-j8
    NDKBUILD=cmd //c /c/Applications/android-ndk-r17b/ndk-build.cmd
    JAVA_HOME=C:\Program Files\Android\Android Studio\jre
    ANDROID_HOME=C:\\\\Users\\\\User\\\\AppData\\\\Local\\\\Android\\\\Sdk
    FXC="/c/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/fxc.exe"
    MSBUILD="/c/Program Files/Microsoft Visual Studio/2022/Community/MSbuild/Current/Bin/MSBuild.exe"
     
    EMSDK=/c/Applications/emscripten
    EMSDKPATH=$(EMSDK):$(EMSDK)/node/14.15.5_64bit/bin:$(EMSDK)/python/3.9.2-1_64bit:$(EMSDK)/upstream/emscripten:$(EMSDK)/upstream/bin
    EMSDK_PREFIX=PATH=$(EMSDKPATH):$$$$PATH
    EMSDK_PREFIX=cmd //c
     
    STEAMSDK=/c/Applications/steamworks_sdk_142
    export STEAMSDK
     
    WIN32_BIN=/mingw32/bin
    export WIN32_BIN
     
    CRUNCHME=crunchme-qt-win.exe
    NSIS=cmd //c "/c/Program Files (x86)/NSIS/makensis.exe"
    WIN_SIGN="/c/Program Files (x86)/Windows Kits/10/bin/x86/signtool.exe"
    #WIN_KEYSTORE=/path/to/cert.p12
    #WIN_KEYPASS=KeyPassword
    #WIN_KEYTSS="<a href="http://timestamp.comodoca.com&quot" rel="nofollow">http://timestamp.comodoca.com&quot</a>;
     
     
    MAC_HOST=user@host
    MAC_PATH=gideros/gideros
    OSX_SIGNING_IDENTITY="ID"
    OSX_SIGNING_PASSWORD="keychain password"
     
    QT_ARCH=macos
    QT_TOOLSARCH=macos
    QTVER=6.12.0
    QT5ICUVER=54

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • troysandaltroysandal Member
    edited October 19
    Learning #4 - Gideros 2026.9 is built for x86_64

    Gideros macOS apps are only built for x86_64 which requires Rosetta2. Apple will be deprecating x86_64 apps/Rosetta2 in macOS 28 so we should, I propose, add arm64 support to the desktop apps (Studio, Player, Texture Packer, Font Creator).

    I've put up a PR that gets Gideros desktop apps building for arm64 and they will still build for x86_64. What we still don't have is a Universal build of Gideros where all 4 desktop apps and the Studio/Tools are universal. Will look into that.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • troysandaltroysandal Member
    edited October 19
    Question on macOS x86_64 support, when does the Gideros team expect to deprecate x86_64 support? Apple is moving everyone to arm64 next year so that day is coming. Has this been given any thought? I ask because as I'm working on a plan to build a Universal version of Gideros for macOS it is pretty non-trivial. If we dropped x86_64 it would be much easier. Alternatively, we could add a new Gideros (Apple Silicon) release that would ship alongside a Gideros (Intel) release. Just thinking out loud.
  • troysandaltroysandal Member
    edited October 20
    After a lot of experimenting, it was not too hard at all. I've got a macOS Universal branch working - every Gideros built binary (every app, dylib, plugin and tool) are arm64 + x86_64. I'm going to wait for my other PRs to land before submitting it.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer

    Question for the maintainers - the Wiki's steps for compiling (1.12.4 Fetch additional repositories) has me manually running 2 make files when I want to build Studio. I happened to miss this step and got stuck on an error building Studio. An easy fix for this that would allow us to remove that optional requirement is to have Studio depend on qscintilla and qlexilla in the make file. There are two ways to do it in GidQtMac.mk - I can put up a PR if our two fabulous maintainers like either suggestion.

    It was done that way because building qscintilla and qlexilla was quite slow on my old Mac, although it is much faster now I'd choose the option A, since it is almost never updated.

    Likes: troysandal

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer
    I merged all your PR and made some changes myself to fully build everything on macOS 27. Now trying to build a complete Gideros installer for Mac and I'll be doing some more tests.
    +1 -1 (+2 / -0 )Share on Facebook
  • Thanks Nico. I added two more PRs. One is based on your code signing fix - it hit an issue with the qt desktop template and studio dying on my Mac running as Apple silicon. Check it out to see what you think. The other pr is just a nice to have. I will switch over to using the new all Apple silicon build of gideros this afternoon and rebuild my game with it and submit it to test flight. Nothing like a full test.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • Learning/Question #5 - iOS/GiderosiOSPlayer is no longer used

    In looking over what might be left on the Universal conversion I found ios/GiderosiOSPlayer appears to be an outdated and no longer used player. Is that correct?
  • hgy29hgy29 Maintainer
    Made some more tests this morning. The good thing is that I am able to fully build Gideros for x86_64 and arm64 archs, the studio and the player are working, exporting a project seems to be fine too, and I was able to launch it on my phone from Xcode.
    But the app won't be validated by Apple because starting from Xcode 27 launch screen must be using a story board. I am not sure yet how to convert our template (and possibly export tool) to meet this requirement.

    Likes: troysandal

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer
    Following up on the launch story board issue. It seems like the recommanded way is to provide a single image that will be centered on screen. In Gideros we used to provide an image for landscape and one for portrait. There seem to be a way to provide on image for protrait and one for landscape, but we'll have to choose a fixed aspect ratio. I'd go for a conservative 4/3, what do you think ?

    Likes: troysandal

    +1 -1 (+1 / -0 )Share on Facebook
  • 4/3 sounds reasonable. Is there a way to quickly mock up what every supported iPhone screen looks like in each orientation?
  • Good morning. I've run into the same issue with the launch StoryBoard in trying to submit my app last night to TestFlight. I'm going to rebuild using XCode 26 to submit it but am looking forward to your PR that addresses this. Let me know if you need any help @hgy29 and thanks for being so responsive on all this XCode 27 migration. We're almost there!

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • FYI - I was able to add a Launch StoryBoard to my game and got it built and accepted by TestFlight, all using Gideros 2026.9.1 (Universal) on my Mac.
  • hgy29hgy29 Maintainer
    I think I've got it right now. I added a default launch storyboard and made gdrexport generate the correct assets for it. Doing some more tests right now and if ok I will build a Gideros release
    +1 -1 (+3 / -0 )Share on Facebook
Sign In or Register to comment.