MonkeyDev icon indicating copy to clipboard operation
MonkeyDev copied to clipboard

xcode13 install failed

Open mingledev opened this issue 2 years ago • 8 comments

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

mingledev avatar May 15 '22 05:05 mingledev

+1

blackox626 avatar May 16 '22 12:05 blackox626

@mingledev

/Applications/Xcode.app/Contents $ find . -name Embedded-Device.xcspec

xcode 13 文件都在 这个目录 /Applications/Xcode.app/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources

copy 到 对应的目录 就好了

blackox626 avatar May 16 '22 14:05 blackox626

@blackox626 可以描述的再详细一点吗?

AaronDQQ avatar May 25 '22 02:05 AaronDQQ

@blackox626 可以描述的再详细一点吗?

xcode13 文件换目录了 去这个目录找下 /Applications/Xcode.app/Contents/PlugIns/XCBSpecifications.ideplugin/Contents/Resources 复制到 报错提示的目录就好了

blackox626 avatar May 26 '22 03:05 blackox626

@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

mingledev avatar May 26 '22 03:05 mingledev

我也有这几个,好像不影响使用

blackox626 avatar May 30 '22 03:05 blackox626

https://github.com/devdawei/libstdc- 可以参考这里。注意路径,Xcode 13 的用的是Xcode_10.sh

AaronDQQ avatar May 30 '22 03:05 AaronDQQ

解决办法: 从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

即可。

crifan avatar Oct 12 '23 07:10 crifan