Skip to content

Conversation

ADTC
Copy link
Contributor

@ADTC ADTC commented Feb 26, 2023

  • Enable Xcode to automatically manage signing. This is removed.
  • Create a GitX.xcconfig file and set it as config for the GitX target.
  • Add instructions to create a Dev.xcconfig file.
  • Add this file in .gitignore.
  • Add instructions to find Development Team ID and certificate name.

Fixes #366

* Enable Xcode to automatically manage signing.
* Create a GitX.xcconfig file and set it as config for the GitX target.
* Add instructions to create a Dev.xcconfig file.
* Add this file in .gitignore.
* Add instructions to create and find Development Team ID.
@ADTC ADTC marked this pull request as draft February 26, 2023 21:33
@ADTC
Copy link
Contributor Author

ADTC commented Feb 26, 2023

Right, so this won't work for the CI because it's looking for the Team ID which isn't present. Hmm...

@ADTC ADTC force-pushed the fix-local-build-in-xcode branch from f2edc4e to 13e83cd Compare February 26, 2023 22:22
@ADTC ADTC marked this pull request as ready for review February 26, 2023 22:31
@ADTC
Copy link
Contributor Author

ADTC commented Feb 26, 2023

@hannesa2 please help me cancel the old queued and running arm64 jobs so that only the latest queued one here needs to run. Thanks.

@ADTC
Copy link
Contributor Author

ADTC commented Feb 26, 2023

@jspiro oh I meant the older ones here: https://github.com/gitx/gitx/actions

Can you cancel those? Also the running one. It got stuck:
image

@jspiro
Copy link
Member

jspiro commented Feb 26, 2023

Also the running one. It got stuck:

image

It's failing to cancel. Push a commit to kick a new build.

@ADTC
Copy link
Contributor Author

ADTC commented Feb 26, 2023

OK, thanks.

@jspiro
Copy link
Member

jspiro commented Feb 26, 2023

git commit --allow-empty -m kick

@jspiro
Copy link
Member

jspiro commented Feb 26, 2023

Cleaned all the builds up. Good to go now.

@ADTC ADTC force-pushed the fix-local-build-in-xcode branch from 18c7681 to bf88ea6 Compare February 26, 2023 23:18
@ADTC
Copy link
Contributor Author

ADTC commented Feb 26, 2023

@jspiro Done. I did a rebase and fixed up some commits. BTW, for arm64 I think @hannesa2 needs to boot up the runner manually in MacStadium. Until then, it will be queued. Please don't cancel it.

@hannesa2
Copy link
Contributor

hannesa2 commented Feb 27, 2023

Concerning the arm runner: Yes, weeks ago it was removed from this repository anyhow, without my fingers into it
image
so I added it again.

But installing as service runs into an issue.
image

That's why I've to start it currently manually ...

@hannesa2 hannesa2 merged commit 9d6a5fb into gitx:master Feb 27, 2023
@ADTC ADTC deleted the fix-local-build-in-xcode branch February 27, 2023 06:11
@ADTC
Copy link
Contributor Author

ADTC commented Feb 27, 2023

@hannesa2 Thanks for the merge. I think this will help newcomers get started easily without having to muck up the tracked project files with their private info.

Regarding the runner, the instructions says you should use sudo and in my experience, services will refuse to start if you don't start them with sudo. Please try that. If you want to install with your user instead of sudo, I think it should be ./svc.sh install hannes and you may need to attach the username on other commands as well (not sure).

Failing the above, can you check if the service is disabled under Allow in the Background? (It's in System Settings/Preferences). Last attempt, try adding the application to Login Items. (You can choose the Shell Script there.)

@hannesa2
Copy link
Contributor

hannesa2 commented Feb 27, 2023

Sure, this was my first idea
image

image

I wrote the support of github action a question ...

@ADTC
Copy link
Contributor Author

ADTC commented Feb 27, 2023

I cannot see your ticket. Support tickets are private in GitHub.

Try to uninstall the existing installation first, before installing with the username.

./svc.sh stop
./svc.sh uninstall
./svc.sh install hannes
./svc.sh start

@hannesa2
Copy link
Contributor

Ok, I did it again
image

but still the same error

@hannesa2
Copy link
Contributor

I opened a public discussion https://github.com/orgs/community/discussions/48686

@ADTC
Copy link
Contributor Author

ADTC commented Feb 27, 2023

Is it still the same if you restart the Mac? Try the same steps again after a reboot.

@hannesa2
Copy link
Contributor

A reboot doesn't help

@hannesa2
Copy link
Contributor

I already tried all this low hanging fruits, but till now without success.
I guess, I've to understand the root cause to be able to fix it.

@hannesa2
Copy link
Contributor

@ADTC Just for the records, after chatting over days with github support, this is the workaround actions/runner#1056 (comment) which made the github-runner start during reboot.
It simply needs a logged user via GUI

@hannesa2 hannesa2 added the bug label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants