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.
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 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.