[SOLVED] Error creating build for iOS

Hello,

Solar2D 2025.3724

The build is created and runs on the iOS simulator.
However, when creating the distribution, I get the error: ERROR: build command failed: export DEVELOPER_BASE="/Applications/Xcode.app/Contents/Developer"
The profile is used for distribution.

What else could it be? Thanks.

1 Like

The example project, “clock,” builds without a problem. But even if I replace all the files with the example files, my project still won’t compile.

It looks like there was some weird issue with Git. After removing Git, the project built.

I also noticed that when there was git, the resulting file grew many times over.

It appears that starting with MacOS 15 builds for iOS no longer ignore .git. I have moved all my repositories to a central folder and replaced .git with a text file that points git to the directory.

Here’s what I did:

  • Created a new folder to hold all my git repositories. For the sake of the argument, let’s call it
    /Users/yourName/GitRepos

  • In the Terminal, moved the existing repo from my project folder to the GitRepos folder:
    mv "/Users/yourName/Projects/Your Project Name/.git" \ "/Users/yourName/GitRepos/your-repo-name.git"

  • In the Terminal, created a pointer to the new repository:
    echo "gitdir: /Users/yourName/GitRepos/your-repo-name.git" > \ "/Users/yourName/Projects/Your Project Name/.git"

Now I’m able to still use git and build for iOS. :grin:

1 Like

Thanks for this workaround :+1: