CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

CocoaPods Compatibility Problems in GitHub Copilot for Xcode

Open silenceJialuo opened this issue 6 months ago • 2 comments

Issue Description: "Our project is very large and legacy-based, and we’re still using CocoaPods for managing component libraries. When I try to add some class files via the agent, files from libraries managed by CocoaPods are sometimes not searchable or accessible."

silenceJialuo avatar Jun 19 '25 12:06 silenceJialuo

I’m currently using Xcode 16.4 and GitHub Copilot for Xcode version 0.37.0. My project is structured with a main project and several component projects. The main project integrates these component projects either as source code or binary files via CocoaPods from local paths.

When I use the “Add Context” feature in GitHub Copilot for Xcode—for example, to include A.swift from a local source-based component A, or B.swift from a binary-based component B—I try to use the search function. However, I’m unable to find the files I want to add.

My project is large, and the list of files available for inclusion is very long. I can’t be sure if the files are even in the list, and even if they are, it’s extremely inconvenient to locate them manually. I would prefer to be able to search for files by filename and include them directly.

iamnanyi avatar Jun 19 '25 13:06 iamnanyi

Thanks for the details. @testforstephen to take a look.

silenceJialuo avatar Jun 20 '25 01:06 silenceJialuo