xcodebuild error but files are there
Posted: 14 Mar 2020 16:49
I previously did a successful build of vlc 4.0-dev on a mac but now need to build the stable 3.0.8 version so I'm compatible with a project we're building on another platform.
Am following the VLC macOSCompile wiki page. Using the single command build instructions. I'm running 10.14.6 with Xcode 11.3.1 commandline tools, developer signed, etc.
Important note -- my MacOSX.sdk file is located here: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
I'm issuing the following command
And it returns this error:
*However* the files *are* there:
What am I doing wrong and how can I fix this?
One additional difference -- I brought down the 3.0.8 sources as a tar.gz file and expanded that way -- when I did the 4.0-dev build I fetched those using git -- however -- when we successfully built 3.0.8 on a Linux box, we grabbed the tar files as well and that worked.
Thanks for any help in advance. E
Am following the VLC macOSCompile wiki page. Using the single command build instructions. I'm running 10.14.6 with Xcode 11.3.1 commandline tools, developer signed, etc.
Important note -- my MacOSX.sdk file is located here: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
I'm issuing the following command
Code: Select all
../extras/package/macosx/build.sh -c -k /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
Code: Select all
xcodebuild: error: SDK "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk" cannot be located.
xcrun: error: unable to lookup item 'SDKVersion' in SDK '/'
Code: Select all
pwd
/Library/Developer/CommandLineTools/SDKs
ls -la
total 0
drwxr-xr-x 4 root wheel 128 Jul 23 2019 .
drwxr-xr-x 6 root admin 192 Jan 31 2019 ..
drwxr-xr-x 7 root wheel 224 Jul 23 2019 MacOSX.sdk
lrwxr-xr-x 1 root wheel 10 Jul 23 2019 MacOSX10.14.sdk -> MacOSX.sdk
One additional difference -- I brought down the 3.0.8 sources as a tar.gz file and expanded that way -- when I did the 4.0-dev build I fetched those using git -- however -- when we successfully built 3.0.8 on a Linux box, we grabbed the tar files as well and that worked.
Thanks for any help in advance. E