xcselect

RSS for tag

Find the path to a macOS SDK version on disk using the xcselect function.

Posts under xcselect tag

29 Posts

Post

Replies

Boosts

Views

Activity

Xcrun Error
I have been trying to compile c on vs code. I have all the extensions needed on vs code but now it is giving me an Xcrun error. I tried running $ xcode-select --install in the terminal , but it doesn't work. I tried updating my account by running chsh -s /bin/zsh. However it still doesn't work. Can anyone guid me further on how to do this?
0
0
1.5k
Aug ’22
Updated to macOs 12.4, cannot find MacOSX12.3.sdk in xcode
I'm an Unreal Engine developer and I just updated my Mac to version 12.4 Since then, when building Unreal Engine products I get the following error: clang: error: no such file or directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk 2022-05-23 14:26:42.630 xcodebuild[13537:439405] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-23 14:26:42.630 xcodebuild[13537:439405] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-23 14:26:51.281 xcodebuild[13577:439827] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-23 14:26:51.281 xcodebuild[13577:439827] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/Current/MultitouchSupport.tbd' I have tried to re-install Xcode two times already and it didn't help. What can I do? This is preventing me to do anything!
1
0
2.5k
May ’22
Issue with xCode Version 13.3.1 (13E500a)
Since the last update of xCode in my macbook m1 2021 and my mac mini m1 2021 i am facing with am build issue using the xcode command line tools: Xcode build done. 55,3s 168Failed to build iOS app 169Error output from Xcode build: 170↳ 171 objc[22207]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1080984f8). One of the two will be used. Which one is undefined. 172 objc[22207]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098548). One of the two will be used. Which one is undefined. 173 objc[22207]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098598). One of the two will be used. Which one is undefined. 174 objc[22207]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1080985e8). One of the two will be used. Which one is undefined. 175 objc[22207]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098638). One of the two will be used. Which one is undefined. 176 objc[22207]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x1fb052040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098688). One of the two will be used. Which one is undefined. 177 2022-04-14 22:34:54.390 xcodebuild[22207:90732] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 178 2022-04-14 22:34:54.390 xcodebuild[22207:90732] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 179 ** BUILD FAILED ** I saw a lot of workarround but they are not working in my case. Any suggestion or update about the fix of this issue ?
12
0
5.3k
May ’22
xcodebuild -exportArchive fails for developer-id signed app
We use the xcodebuild -exportArchive command to export our app. This command has code signing issues with Xcode 13, where apparently a communication with Apple failed. The command is executed on macOS 12.0 Beta (21A5304g). By switching to Xcode Version 12.2 (12B45b) using xcode-select, the export works under equal conditions! This seems to be a regression in Xcode 13. Our iOS and Mac App Store builds export fine, this only affects the developer-id build. I would like to ask if this is a bug/regression that we can expect to be fixed. If you need further information / logs, I will happily provide them. The command: xcodebuild \ -exportArchive \ -archivePath „xy.xcarchive" \ -exportOptionsPlist "ExportOptions.plist" \ -exportPath „$exportPath“ \ -allowProvisioningUpdates The command output: Error Domain=DeveloperAPIServiceErrorDomain Code=5 "Communication with Apple failed." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedRecoverySuggestion=You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support, NSLocalizedDescription=Communication with Apple failed.} error: exportArchive: No profiles for ’bundle-identifier’ were found Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'bundle-identifier' were found" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=No profiles for 'bundle-identifier' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any Developer ID provisioning profiles matching 'bundle-identifier'.} error: exportArchive: Communication with Apple failed. Error Domain=DeveloperAPIServiceErrorDomain Code=5 "Communication with Apple failed." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedRecoverySuggestion=You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support, NSLocalizedDescription=Communication with Apple failed.} error: exportArchive: No profiles for 'bundle-identifier.shareextension' were found Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'bundle-identifier.shareextension' were found" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=No profiles for 'bundle-identifier.shareextension' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any Developer ID provisioning profiles matching 'bundle-identifier.shareextension'.} Also filed as FB9560862.
14
2
47k
Apr ’22
How to compile a project with multiple versions of sdk?
Some projects in development will require the specified sdk version, otherwise errors will occur due to some outdated APIs. If these functions that require a specified version of the sdk are separated into a component, compiled with the old version of the sdk, and then applied to the application of the new version of the sdk, is this feasible? The answer is no. Is any one can tell me the solution?
1
0
833
Apr ’22
I tried to run gcc compiler in macOs monterey, but it shows invalid active developer path error. How can I resolve this ?
I have just updated my MacBook big Sur to Monterey. But after updating, whenever I tried to run GCC in the terminal it shows an invalid active developer path error. I am an absolute beginner, and can't resolve this error. Please help me to resolve this error. Log: gcc --version xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
1
0
2.6k
Nov ’21
How to download and install the macOS_SDK_headers_for_macOS_10.15.pkg
Hello, I am a beginner with MacOS. I am trying to compile a program that builds using Xcode. Right now I have Xcode 12.2 on Catalina 10.15.5 . My build runs up to a point where I have : 'CoreServices/CoreServices.h' file not found. From my readings, I think that this file should be in a headers package, probably macOS_SDK_headers_for_macOS_10.15.pkg or something like that. I have reinstalled Xcode 12.2 (a .xip) and also the command lines tools for Xcode 12.2 ( a .dmg ). After doing these installs, I still do not find the missing headers or even the pkg file that would contain them. Can anybody help me with installing the missing headers ? How do I get the SDK headers to complete my compilation ? Thank you Gilbert
1
0
1.2k
Oct ’21
SDK path collision
Dear expert, The version of the macOS is 11.2.3. I was running an application called ROOT from CERN from the command line, and it shows up the following warning when I source the bash script: 2021-09-12 23:42:45.936 xcodebuild[1188:32958] [MT] DVTSDK: Warning: SDK path collision for path 'DVTFilePath:0x7f82d674d8d0:'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk'': SDK with name 'macosx11.1' being superseded by SDK with 'macosx11.1'. And when I try to run the executable, it shows the following error: ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths! Invoking:   LC_ALL=C /Library/Developer/CommandLineTools/usr/bin/c++   -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ /.*++/p' -e '}' Results was: With exit code 0 warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' I go to the /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs and find both MacOSX11.0.sdk and MacOSX11.1.sdk exist and are linked to MacOSX.sdk. I go to the /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk and the MacOSX11.0.sdk is there. Please help me debug. Thank you.
1
0
1.4k
Sep ’21
How did I end with SKD versions of iOS 14.6 apps?
Hi Developer Forum, My name is Javier, and I have been having some issues with my iPhone 12 Pro Max for a couple months now, and I noticed a lot of my apps are either SKD versions, or iPad versions, and I was wondering why? I think my phone updated to a beta version, or something, but ever since then I have had SKD apps on my iPhone, and I am not a registered developer or anything. What can I do? Is this because I have a Macbook Air with the M1 chip? No one seems to have answers, and it's been a huge issue with my apps security, etc.
0
0
673
Jul ’21
Xcrun Error
I have been trying to compile c on vs code. I have all the extensions needed on vs code but now it is giving me an Xcrun error. I tried running $ xcode-select --install in the terminal , but it doesn't work. I tried updating my account by running chsh -s /bin/zsh. However it still doesn't work. Can anyone guid me further on how to do this?
Replies
0
Boosts
0
Views
1.5k
Activity
Aug ’22
Updated to macOs 12.4, cannot find MacOSX12.3.sdk in xcode
I'm an Unreal Engine developer and I just updated my Mac to version 12.4 Since then, when building Unreal Engine products I get the following error: clang: error: no such file or directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk 2022-05-23 14:26:42.630 xcodebuild[13537:439405] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-23 14:26:42.630 xcodebuild[13537:439405] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-23 14:26:51.281 xcodebuild[13577:439827] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-23 14:26:51.281 xcodebuild[13577:439827] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/Current/MultitouchSupport.tbd' I have tried to re-install Xcode two times already and it didn't help. What can I do? This is preventing me to do anything!
Replies
1
Boosts
0
Views
2.5k
Activity
May ’22
Issue with xCode Version 13.3.1 (13E500a)
Since the last update of xCode in my macbook m1 2021 and my mac mini m1 2021 i am facing with am build issue using the xcode command line tools: Xcode build done. 55,3s 168Failed to build iOS app 169Error output from Xcode build: 170↳ 171 objc[22207]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1080984f8). One of the two will be used. Which one is undefined. 172 objc[22207]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098548). One of the two will be used. Which one is undefined. 173 objc[22207]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098598). One of the two will be used. Which one is undefined. 174 objc[22207]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1080985e8). One of the two will be used. Which one is undefined. 175 objc[22207]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x1fb051ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098638). One of the two will be used. Which one is undefined. 176 objc[22207]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x1fb052040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108098688). One of the two will be used. Which one is undefined. 177 2022-04-14 22:34:54.390 xcodebuild[22207:90732] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 178 2022-04-14 22:34:54.390 xcodebuild[22207:90732] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 179 ** BUILD FAILED ** I saw a lot of workarround but they are not working in my case. Any suggestion or update about the fix of this issue ?
Replies
12
Boosts
0
Views
5.3k
Activity
May ’22
xcodebuild -exportArchive fails for developer-id signed app
We use the xcodebuild -exportArchive command to export our app. This command has code signing issues with Xcode 13, where apparently a communication with Apple failed. The command is executed on macOS 12.0 Beta (21A5304g). By switching to Xcode Version 12.2 (12B45b) using xcode-select, the export works under equal conditions! This seems to be a regression in Xcode 13. Our iOS and Mac App Store builds export fine, this only affects the developer-id build. I would like to ask if this is a bug/regression that we can expect to be fixed. If you need further information / logs, I will happily provide them. The command: xcodebuild \ -exportArchive \ -archivePath „xy.xcarchive" \ -exportOptionsPlist "ExportOptions.plist" \ -exportPath „$exportPath“ \ -allowProvisioningUpdates The command output: Error Domain=DeveloperAPIServiceErrorDomain Code=5 "Communication with Apple failed." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedRecoverySuggestion=You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support, NSLocalizedDescription=Communication with Apple failed.} error: exportArchive: No profiles for ’bundle-identifier’ were found Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'bundle-identifier' were found" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=No profiles for 'bundle-identifier' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any Developer ID provisioning profiles matching 'bundle-identifier'.} error: exportArchive: Communication with Apple failed. Error Domain=DeveloperAPIServiceErrorDomain Code=5 "Communication with Apple failed." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedRecoverySuggestion=You are not allowed to perform this operation. Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support, NSLocalizedDescription=Communication with Apple failed.} error: exportArchive: No profiles for 'bundle-identifier.shareextension' were found Error Domain=IDEProfileLocatorErrorDomain Code=1 "No profiles for 'bundle-identifier.shareextension' were found" UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription=No profiles for 'bundle-identifier.shareextension' were found, NSLocalizedRecoverySuggestion=Xcode couldn't find any Developer ID provisioning profiles matching 'bundle-identifier.shareextension'.} Also filed as FB9560862.
Replies
14
Boosts
2
Views
47k
Activity
Apr ’22
How to compile a project with multiple versions of sdk?
Some projects in development will require the specified sdk version, otherwise errors will occur due to some outdated APIs. If these functions that require a specified version of the sdk are separated into a component, compiled with the old version of the sdk, and then applied to the application of the new version of the sdk, is this feasible? The answer is no. Is any one can tell me the solution?
Replies
1
Boosts
0
Views
833
Activity
Apr ’22
I tried to run gcc compiler in macOs monterey, but it shows invalid active developer path error. How can I resolve this ?
I have just updated my MacBook big Sur to Monterey. But after updating, whenever I tried to run GCC in the terminal it shows an invalid active developer path error. I am an absolute beginner, and can't resolve this error. Please help me to resolve this error. Log: gcc --version xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Replies
1
Boosts
0
Views
2.6k
Activity
Nov ’21
How to download and install the macOS_SDK_headers_for_macOS_10.15.pkg
Hello, I am a beginner with MacOS. I am trying to compile a program that builds using Xcode. Right now I have Xcode 12.2 on Catalina 10.15.5 . My build runs up to a point where I have : 'CoreServices/CoreServices.h' file not found. From my readings, I think that this file should be in a headers package, probably macOS_SDK_headers_for_macOS_10.15.pkg or something like that. I have reinstalled Xcode 12.2 (a .xip) and also the command lines tools for Xcode 12.2 ( a .dmg ). After doing these installs, I still do not find the missing headers or even the pkg file that would contain them. Can anybody help me with installing the missing headers ? How do I get the SDK headers to complete my compilation ? Thank you Gilbert
Replies
1
Boosts
0
Views
1.2k
Activity
Oct ’21
SDK path collision
Dear expert, The version of the macOS is 11.2.3. I was running an application called ROOT from CERN from the command line, and it shows up the following warning when I source the bash script: 2021-09-12 23:42:45.936 xcodebuild[1188:32958] [MT] DVTSDK: Warning: SDK path collision for path 'DVTFilePath:0x7f82d674d8d0:'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk'': SDK with name 'macosx11.1' being superseded by SDK with 'macosx11.1'. And when I try to run the executable, it shows the following error: ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths! Invoking:   LC_ALL=C /Library/Developer/CommandLineTools/usr/bin/c++   -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ /.*++/p' -e '}' Results was: With exit code 0 warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' I go to the /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs and find both MacOSX11.0.sdk and MacOSX11.1.sdk exist and are linked to MacOSX.sdk. I go to the /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk and the MacOSX11.0.sdk is there. Please help me debug. Thank you.
Replies
1
Boosts
0
Views
1.4k
Activity
Sep ’21
How did I end with SKD versions of iOS 14.6 apps?
Hi Developer Forum, My name is Javier, and I have been having some issues with my iPhone 12 Pro Max for a couple months now, and I noticed a lot of my apps are either SKD versions, or iPad versions, and I was wondering why? I think my phone updated to a beta version, or something, but ever since then I have had SKD apps on my iPhone, and I am not a registered developer or anything. What can I do? Is this because I have a Macbook Air with the M1 chip? No one seems to have answers, and it's been a huge issue with my apps security, etc.
Replies
0
Boosts
0
Views
673
Activity
Jul ’21