-
|
This is a script of commands I'm running to make a build using a MacBook using M1 Pro. # Stop on any errors and echo commands. See https://stackoverflow.com/a/2871034/1134080
set -euxo pipefail
# Ensure the correct Xcode app is used (you can cancel script by failing the password entry)
sudo xcode-select -s /Applications/Xcode.app
# Clean up artifacts from last build. See https://git-scm.com/docs/git-clean
git clean -Xdf --exclude=\!/Dev.xcconfig
# Ask to clean up other files (Use `q` to skip clean-up and keep the files)
set +x
echo "If an unwanted file/dir is consistently being asked, add it to .gitignore to clean it automatically."
echo "To skip the prompt for untracked files you want to keep, stage them before running the script."
set -x
git clean -di
# Update submodules (disable this if you're managing submodules yourself)
git submodule sync
git submodule update --init --recursive
# Build the Objective Git dependencies
cd External/objective-git && script/bootstrap && script/update_libgit2 && cd ../..
# Build the GitX app
xcodebuild -workspace GitX.xcworkspace -scheme GitX -archivePath ./GitX archive ARCHS="arm64"
# Run the GitX app (build artifact)
open GitX.xcarchive/Products/Applications/GitX.appI have installed Xcode Version 14.2 (14C18). The With the details here: https://gist.github.com/ADTC/d9a52b702420d5baba732ce05f40fea0 I have tried moving it to the Applications folder, but the issue remains the same. I have tried using Xcode itself to build and run: What could I be missing? @hannesa2 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
|
Hmm, normally the CI should show you, how to build it properly |
Beta Was this translation helpful? Give feedback.
-
|
From the commands I do But when I understand you, you have no build issue, you run into a runtime issue, am I right ? |
Beta Was this translation helpful? Give feedback.
-
OBSOLETE! Please see README instead. See #376 for the PR fixing this.This happens because you have not set up your Apple ID and signing certificate properly in the project using Xcode. To resolve this:
CautionDon't stage or commit the changes in |
Beta Was this translation helpful? Give feedback.
-
|
@ADTC Is this solved ? |
Beta Was this translation helpful? Give feedback.
-
|
As I understand, you don't run into this error anymore. I've no such issue. |
Beta Was this translation helpful? Give feedback.






OBSOLETE! Please see README instead. See #376 for the PR fixing this.
This happens because you have not set up your Apple ID and signing certificate properly in the project using Xcode. To resolve this:
+button and add your Apple ID.(Personal Team)in the name. Click on it.+button and click on Apple Development.