V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
pheyer
V2EX  ›  iOS

有没有人用过 Xcode 扩展的

  •  
  •   pheyer · 2022-06-08 16:32:10 +08:00 · 1150 次点击
    这是一个创建于 681 天前的主题,其中的信息可能已经有所发展或是发生改变。

    是不是一定需要从 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.

    3 条回复    2022-06-08 17:15:53 +08:00
    cssk
        1
    cssk  
       2022-06-08 17:04:48 +08:00 via iPhone
    格式化代码那个?除了系统里要勾选,而且应用程序里也要打开一次关闭,在重新打开 xcode
    pheyer
        2
    pheyer  
    OP
       2022-06-08 17:13:17 +08:00
    @cssk 不是格式化代码,是转换 OC 代码为 Swift 代码的插件。想问一下你的 Xcode 是从 App Store 下载安装的吗?
    zmlu
        3
    zmlu  
       2022-06-08 17:15:53 +08:00
    把`Xcode.app`重新命名成别的,再命名回`Xcode.app`,系统设置中的扩展应该就出现了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2944 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 08:16 · PVG 16:16 · LAX 01:16 · JFK 04:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.