MonkeyDev
MonkeyDev copied to clipboard
xcode13 install failed
error info: Creating symlink to Xcode templates... Modifying Bash personal initialization file... 2022-05-15 12:56:02.467 xcodebuild[2138:32379] 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-15 12:56:02.468 xcodebuild[2138:32379] 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-15 12:56:03.240 xcodebuild[2141:32392] 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-15 12:56:03.240 xcodebuild[2141:32392] 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 File /Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/Resources/Embedded-Device.xcspec not found
+1
@mingledev
/Applications/Xcode.app/Contents $ find . -name Embedded-Device.xcspec
xcode 13 文件都在 这个目录 /Applications/Xcode.app/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources
copy 到 对应的目录 就好了
@blackox626 可以描述的再详细一点吗?
@blackox626 可以描述的再详细一点吗?
xcode13 文件换目录了 去这个目录找下 /Applications/Xcode.app/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources 复制到 报错提示的目录就好了
@blackox626 可以描述的再详细一点吗?
xcode13 文件换目录了 去这个目录找下 /Applications/Xcode.app/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources 复制到 报错提示的目录就好了
但是还是有这几个错误 2022-05-15 12:56:02.467 xcodebuild[2138:32379] 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-15 12:56:02.468 xcodebuild[2138:32379] 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-15 12:56:03.240 xcodebuild[2141:32392] 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
我也有这几个,好像不影响使用
https://github.com/devdawei/libstdc- 可以参考这里。注意路径,Xcode 13 的用的是Xcode_10.sh
解决办法: 从Xcode中搜索到Embedded-Device.xcspec的实际位置,然后拷贝到报错的路径(如果不存在,先创建对应目录)即可。
具体步骤:
(1)找到Embedded-Device.xcspec
➜ ~ cd /Applications/Xcode.app/Contents
➜ Contents find . -name Embedded-Device.xcspec
./Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources/Embedded-Device.xcspec
-》
-
/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources/Embedded-Device.xcspec
(2)拷贝到报错目录
先新建该目录
sudo mkdir -p /Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/Resources/
再去拷贝:
sudo cp /Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources/Embedded-Device.xcspec /Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/Resources/
确认文件的确存在了:
➜ PlugIns ll /Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/Resources/
total 8
-rw-r--r--@ 1 root wheel 437B 10 12 15:34 Embedded-Device.xcspec
即可。