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

Using Pico SDK from XCode on macOS #156

Open
Kevinw14 opened this issue May 12, 2021 · 6 comments
Open

Using Pico SDK from XCode on macOS #156

Kevinw14 opened this issue May 12, 2021 · 6 comments
Assignees
Labels
c/c++ sdk Issue around C/C++ SDK help wanted Extra attention is needed infrastructure Issue around toolchain or installation macos An Apple macOS specific problem

Comments

@Kevinw14
Copy link

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?

@liamfraser liamfraser transferred this issue from raspberrypi/pico-sdk May 13, 2021
@lurch lurch added c/c++ sdk Issue around C/C++ SDK macos An Apple macOS specific problem labels May 13, 2021
@lurch
Copy link
Contributor

lurch commented May 13, 2021

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

@aallan
Copy link
Contributor

aallan commented May 13, 2021

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.

@lurch lurch added help wanted Extra attention is needed infrastructure Issue around toolchain or installation labels May 13, 2021
@aallan
Copy link
Contributor

aallan commented May 25, 2021

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.

@danielo515
Copy link

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?

@aallan aallan changed the title Install on MacOS Using Pico SDK from XCode on macOS Oct 19, 2021
@lurch
Copy link
Contributor

lurch commented Oct 19, 2021

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 raspberrypi/pico-setup#20 seems to have come to a halt 😕

@Kristine1975
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/c++ sdk Issue around C/C++ SDK help wanted Extra attention is needed infrastructure Issue around toolchain or installation macos An Apple macOS specific problem
Projects
None yet
Development

No branches or pull requests

6 participants