SDK 10.15 available but not found

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SDK 10.15 available but not found

Philippe Morey-Chaisemartin
Hi,


I have a strange behaviour with the latest version of catalina/xcode/macport : SDK 10.15 is installed, but mac port doesn't find it...


here are some logs:
$ sudo port upgrade outdated
Password:
Warning: The macOS 10.15 SDK does not appear to be installed. Ports may not build correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.
...

$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

$ softwareupdate --list
Software Update Tool

Finding available software
No new software available.

 $ xcrun --sdk macosx10.15 --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk


here is my current configuration:
macport version: 2.6.2
osx version: catalina 10.15.4
xcode version:  11.5 (11E608c)


Any idea would be more than welcome.


Thanks




Philippe Morey-Chaisemartin
CTO
[hidden email]
+33-6-86-56-52-77

Reply | Threaded
Open this post in threaded view
|

Re: SDK 10.15 available but not found

Christopher Chavez
On 5/23/2020 10:57 AM, Philippe Morey-Chaisemartin wrote:
> xcode version:  11.5 (11E608c)

I think new Xcode versions had to first be whitelisted by MacPorts, so
it's likely that the recent 11.5 release just hasn't been added yet.

Reply | Threaded
Open this post in threaded view
|

Re: SDK 10.15 available but not found

Christopher Jones


On 23 May 2020, at 5:13 pm, Christopher Chavez <[hidden email]> wrote:

On 5/23/2020 10:57 AM, Philippe Morey-Chaisemartin wrote:
xcode version:  11.5 (11E608c)

I think new Xcode versions had to first be whitelisted by MacPorts, so
it's likely that the recent 11.5 release just hasn't been added yet.

True, but not the cause of the issue here I think. I have Xcode 11.5 installed on macOS10.15 and have no problems.

Can you check that 

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

actually exists and contains a valid SDK ?

 > ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk 
Entitlements.plist Library SDKSettings.json SDKSettings.plist System usr

If not try reinstalling Xcode.

Chris




smime.p7s (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: SDK 10.15 available but not found

Philippe Morey-Chaisemartin
Hi,

I already checked that.

$ls -anF /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/
total 24
drwxr-xr-x  8 0  0   256 Apr 18 07:04 ./
drwxr-xr-x  5 0  0   160 May 23 17:18 ../
-rw-r--r--  1 0  0   127 Feb 29 07:20 Entitlements.plist
drwxr-xr-x  3 0  0    96 Aug 30  2019 Library/
-rw-r--r--  1 0  0  4041 Feb 29 07:20 SDKSettings.json
-rw-r--r--  1 0  0  3448 Feb 29 07:20 SDKSettings.plist
drwxr-xr-x  4 0  0   128 Aug 30  2019 System/
drwxr-xr-x  7 0  0   224 Aug 30  2019 usr/


I was expecting to avoid to reinstall XCode, which is a lonnnnnnggggg process with a poor internet connection.

On the other hand, I am building other applications with this version of XCode without any issue.



Philippe


Le 23 mai 2020 à 18:54, Christopher Jones <[hidden email]> a écrit :



On 23 May 2020, at 5:13 pm, Christopher Chavez <[hidden email]> wrote:

On 5/23/2020 10:57 AM, Philippe Morey-Chaisemartin wrote:
xcode version:  11.5 (11E608c)

I think new Xcode versions had to first be whitelisted by MacPorts, so
it's likely that the recent 11.5 release just hasn't been added yet.

True, but not the cause of the issue here I think. I have Xcode 11.5 installed on macOS10.15 and have no problems.

Can you check that 

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk

actually exists and contains a valid SDK ?

 > ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk 
Entitlements.plist Library SDKSettings.json SDKSettings.plist System usr

If not try reinstalling Xcode.

Chris




Philippe Morey-Chaisemartin
CTO
+33-6-86-56-52-77