8000 [Question] Why do existing certificates need to be revoked? · Issue #15 · xtool-org/xtool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Question] Why do existing certificates need to be revoked? #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JustJoostNL opened this issue May 10, 2025 · 9 comments · Fixed by #20
Closed

[Question] Why do existing certificates need to be revoked? #15

JustJoostNL opened this issue May 10, 2025 · 9 comments · Fixed by #20

Comments

@JustJoostNL
Copy link

Hey! Love what you've created! But why does xtool want to revoke my existing certificates to install the build on device? I'd love to try this out but really can't revoke production certificates.

For context:

xtool dev
Planning...
[1/1] Planning build
Building for debugging...
[4/4] Linking Hello-App
Build of product 'Hello-App' complete! (1.83s)
Waiting for device to be connected...
Installing to device: xxx (udid: xxx)

[Unpacking app] 100%
[Logging in]   0%
[Preparing device] 100%
[Provisioning]  33%
The following certificates must be revoked:
- Developer ID Application: xxx (expires 9 Aug 2028 at 4:55 PM)
- iOS Distribution: xxx (expires 16 Aug 2025 at 6:10 PM)
- Developer ID Application: xxx (expires 9 Aug 2028 at 4:46 PM)
- iOS Development: xxx (expires 5 Aug 2025 at 8:04 PM)
Continue? (yes/no): no

Cancelled.

Would it be possible without revoking any of my other certificates?

@kabiroberai
Copy link
Member

a lot of the code here was originally built specifically with free (non Apple Developer Program) accounts in mind, and iirc those only support one certificate. it’s definitely a good idea to skip the revocation for users in the dev program (or better yet, unconditionally try creating a certificate and ask to revoke iff it fails.)

In the meantime, maybe try using a secondary Apple ID as a stopgap?

@JustJoostNL
Copy link
Author

Ahh that's why. Probably should try and create a certificate and ask to revoke when failing. Would love to see that!

For now I'll use another Apple ID. 🙂

@JustJoostNL
Copy link
Author
JustJoostNL commented May 10, 2025

@kabiroberai How can I easily switch from Apple ID? After running xtool auth and signing in with a different account, running xtool dev on an existing, but also new project still seems to use the old one.

@kabiroberai
Copy link
Member

hmm that should work out of the box. but maybe try xtool auth logout first?

@kabiroberai
Copy link
Member

👋 @JustJoostNL this should be fixed by #20. If you can build from source, do you mind checking out that branch and letting me know if it works?

@JustJoostNL
Copy link
Author

Awesome! I'll test as soon as I have some time again.

@kabiroberai
Copy link
Member

Was able to test it myself and confirm that it works, but lmk if you can too

@JustJoostNL
Copy link
Author

Seems to work!

@kabiroberai
Copy link
Member

Landed in v1.11.0, thanks for the suggestion 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0