Skip to content
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

"not authorized to read cache" when using Tuist to generate #371

Closed
1 task done
RWCoding58 opened this issue Aug 1, 2024 · 5 comments
Closed
1 task done

"not authorized to read cache" when using Tuist to generate #371

RWCoding58 opened this issue Aug 1, 2024 · 5 comments
Labels
Bug Something isn't working

Comments

@RWCoding58
Copy link

RWCoding58 commented Aug 1, 2024

Bug Report

Mandatory Information

Describe the bug
I haven't used my Macbook in a while (close to two months), so I decided to upgrade Cork once I got to use it. Apparently, the method to compile Cork has changed, but now when I run tuist generate, I get (username) is not authorized to read cache. I'm not sure if I was not supposed to log in with my own account, since I had been prompted to authenticate with tuist auth before this and created a new account.

To Reproduce

  1. Run the compilation command (git clone https://github.com/buresdv/Cork.git && cd Cork && tuist install && tuist generate)
  2. Most of the steps work correctly
  3. Once it reaches the tuist generate step, it produces an error as follows:
Loading and constructing the graph
It might take a while if the cache is empty
Fetching remote binaries. Hold tight...
(my username) is not authorized to read cache
Consider creating an issue using the following link: https://github.com/tuist/tuist/issues/new/choose

Expected Behavior
The Xcode project generates and opens in Xcode.

System and Cork Information:

  • macOS version: 14.4.1 (23E224)
  • Cork Version: 1.4.2 (62)
  • Did you compile Cork yourself?: Yes

Optional Information

Additional context
As mentioned at the start, I haven't used my Mac in a while so my version of Cork is very outdated (along with my other apps).

Checklist

  • I filled everything out under Mandatory Information
@RWCoding58 RWCoding58 added the Bug Something isn't working label Aug 1, 2024
@buresdv
Copy link
Owner

buresdv commented Aug 1, 2024

I updated the readme. Can you try the new instructions? It may be fixed, but I'm not sure

@RWCoding58
Copy link
Author

I'll try it when I get back soon (in about an hour). Thanks for the fast reply!

@RWCoding58
Copy link
Author

Yep, the app generates properly now and I can compile it. However, it seems the app shows the "Thank you for trying out Cork" trial window even though I had selected "Self-Compiled" in Xcode before building.

@buresdv
Copy link
Owner

buresdv commented Aug 1, 2024

I'm happy to hear it works. Unfortunately, we can't reproduce your problem:

Snímek obrazovky 2024-08-01 v 23 06 21

I'd say, make sure that you have actually selected the right scheme in the toolbar, or try to do a fresh build by using the command tuist clean, then going through the instructions again.

Because the original problem got solved, I'll be closing this issue.

@buresdv buresdv closed this as completed Aug 1, 2024
@RWCoding58
Copy link
Author

Alright, I'll give it a try. I think it might be because I installed over my old app which had also shown the trial error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants