where is the needed sdk?

Ken Cunningham ken.cunningham.webuse at gmail.com
Tue Oct 9 14:34:08 UTC 2018


On 2018-10-09, at 6:37 AM, rmgls wrote:

> 
>   Hello all,
> 
> 
> Please how can i solve this problem:
>   macports 2.5.4
>   sudo port selfupdate
>   sudo port upgrade outdated
> Error: Unable to determine location of a macOS SDK.
> Error: Unable to open port: can't read "configure.sdkroot": Unable to determine location of a macOS SDK.
> Error: Follow https://guide.macports.org/#project.tickets to report a bug.
>   xcodebuild: 
> Xcode 10.0
> Build version 10A255
>   uname -a
> Darwin ... 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64
> 
> Thanks
> 
>   Best
>   Raoul
> 
> 


At this point in time, with Xcode10 on High Sierra, to fix this you need to install the command line tools. It is not optional on that configuration at present.

xcode-select --install

Best,
Ken




More information about the macports-users mailing list