有没有人用过 Xcode 扩展的

2022-06-08 16:32:10 +08:00
 pheyer

是不是一定需要从 AppStore 下载安装的 Xcode 才能使用扩展?我是从苹果开发者官网上下载的 Xcode 好像用不了,主要是在系统设置中的扩展中找不到 Xcode 这一项,安装 Swiftify 扩展遇到这个问题的。

AppStore 中的“Swiftify for Xcode”网页有这样的提示: Important: if you don't see the “Xcode Source Editor” menu item under System Preferences -> Extensions, this is most likely due to a corrupt installation of the Xcode itself. If this happens, reinstall both Xcode and Swiftify from the AppStore.

1168 次点击
所在节点    iOS
3 条回复
cssk
2022-06-08 17:04:48 +08:00
格式化代码那个?除了系统里要勾选,而且应用程序里也要打开一次关闭,在重新打开 xcode
pheyer
2022-06-08 17:13:17 +08:00
@cssk 不是格式化代码,是转换 OC 代码为 Swift 代码的插件。想问一下你的 Xcode 是从 App Store 下载安装的吗?
zmlu
2022-06-08 17:15:53 +08:00
把`Xcode.app`重新命名成别的,再命名回`Xcode.app`,系统设置中的扩展应该就出现了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/858210

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX