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

I can't find the InstallCLI plugin in my Xcode #2734

Closed
Santiago0412 opened this issue Dec 15, 2022 · 9 comments · Fixed by #2739
Closed

I can't find the InstallCLI plugin in my Xcode #2734

Santiago0412 opened this issue Dec 15, 2022 · 9 comments · Fixed by #2739
Labels
bug Generally incorrect behavior needs investigation

Comments

@Santiago0412
Copy link

Summary

From the document it says I can install the CLI by doing this:
image

but in my Xcode it looks like this:
image

Xcode: 14.2
System:13.0.1 (22A400)
Machine: Mac air m1

Version

1.0.0

Steps to reproduce the behavior

  • Install the package;
  • Right click Apollo package;

Logs

No response

Anything else?

No response

@Santiago0412 Santiago0412 added bug Generally incorrect behavior needs investigation labels Dec 15, 2022
@calvincestari
Copy link
Member

Hi @Santiago0412 👋 - see this comment. I've got a PR up to change the screenshot already.

@Santiago0412
Copy link
Author

@calvincestari Can you also update this link: seems it not working
image

@calvincestari
Copy link
Member

Yes, we'll get that fixed - thanks for letting me know.

@teovillanueva
Copy link

Hi 👋

Im still having this issue. I created a new project and still can't find the InstallCLI option on my project.

Env:

Xcode: 13.4.1
System: 12.4
Machine: Macbook pro m1 pro

image

@calvincestari
Copy link
Member

Hi @teovillanueva - 👋🏻

tl;dr - you'll need to update to Xcode 14 for this to work on an Xcode project.

Xcode can open two project types:

  1. Swift package - this is when your project has a Package.swift file
  2. Xcode project - this is when your project has an xcodeproj/xcworkspace file.

Xcode 13.3 (release notes) only supports plugins for Swift packages, but Xcode 14 (release notes) supports plugins for both Swift packages and Xcode projects. This is a good article explaining the differences.

@nimeshneema
Copy link

@calvincestari I am running into this issue with just updated version of Xcode 14.3. Not able to see the InstallCLI command in the context menu.

@calvincestari
Copy link
Member

#2919 (comment)

@BharatBapodara
Copy link

Hi @calvincestari,
I can not see Install CLI on M1 Mac can you please check screenshots (it is working on intel one)

Screenshot 2023-05-31 at 09 09 39 Screenshot 2023-05-31 at 09 09 44

@BobaFetters
Copy link
Member

@BharatBapodara What version of Xcode are you running? There is a known issue with Xcode 14.3 where SPM Plugins don't work correctly, which has been resolved in Xcode 14.3.1, #2919 has some discussion around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Generally incorrect behavior needs investigation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants