pico-feedback icon indicating copy to clipboard operation
pico-feedback copied to clipboard

Using Pico SDK from XCode on macOS

Open Kevinw14 opened this issue 4 years ago • 6 comments

Is there anyway I can install the SDK to /usr/local/include so I can point Xcode's search paths to the header files I need?

Kevinw14 avatar May 12 '21 22:05 Kevinw14

@aallan I think you might be the only person with any knowledge about Xcode...? :wink:

lurch avatar May 13 '21 11:05 lurch

So I was trying to get some interest together pre-launch for XCode support. But the folks I tapped for it in the community just didn't have the availability at the time. It's definitely doable, but it's not high on my list at the moment.

aallan avatar May 13 '21 15:05 aallan

I'm going to leave this issue open, but it's probably a wontfix unless we get some external help from the Apple dev community.

aallan avatar May 25 '21 10:05 aallan

If you are tying this issue to the XCode thing probably you want to re-title it. I have installed the SDK on MacOS and I was going to open an issue with my steps to suggest including it on the guide, but this issue is entitled exactly how I was going to title mine, so either you repurpose this issue or change its title. no?

danielo515 avatar Oct 19 '21 13:10 danielo515

I have installed the SDK on MacOS and I was going to open an issue with my steps

It's a shame that progress on https://github.com/raspberrypi/pico-setup/pull/20 seems to have come to a halt :confused:

lurch avatar Oct 19 '21 13:10 lurch

Is there anyway I can install the SDK to /usr/local/include so I can point Xcode's search paths to the header files I need?

I don't know your particular use case, but can't you just add the SDK's include directory to the search paths of your Xcode project? In fact, shouldn't CMake do that automatically when it generates the Xcode project? (it's the setting "Header Search Paths", or "HEADER_SEARCH_PATHS" if you're using an .xcconfig file)

Kristine1975 avatar Feb 04 '22 13:02 Kristine1975