Not a question, but just informing you all that I've been having issues with install Xcode command line tools (just updated to beta 7 and having the same issue).
xcode-select --install
This command keeps telling me that the software is unavailable. In case any of you are having this issue, go to:
https://developer.apple.com/download/more/
There is a link there to download the command line tools. Happy coding!
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.
Post not yet marked as solved
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.
Post not yet marked as solved
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
Post not yet marked as solved
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
Post not yet marked as solved
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?
Post not yet marked as solved
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 ?
Post not yet marked as solved
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!