加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

添加文件并在Xcode中选择多个目标

发布时间:2020-12-14 19:16:54 所属栏目:百科 来源:网络整理
导读:我的XCode中有200多个项目,当我添加新文件或类时,我必须逐个选择每个目标以将其添加到其中.有没有办法选择多个目标呢? 解决方法 尝试使用poboke available on Github的超棒 AllTargets Xcode插件(与Xcode 5配合使用). 手动构建和安装 Download source code
我的XCode中有200多个项目,当我添加新文件或类时,我必须逐个选择每个目标以将其添加到其中.有没有办法选择多个目标呢?

enter image description here

解决方法

尝试使用poboke available on Github的超棒 AllTargets Xcode插件(与Xcode 5配合使用).

enter image description here

手动构建和安装

  1. Download source code and open AllTargets.xcodeproj with Xcode.
  2. Select “Edit Scheme” and set “Build Configuration” as “Release”
  3. Build it. It automatically installs the plugin into the correct directory.
  4. Restart Xcode. (Make sure that the Xcode process is terminated entirely)

手动卸载

删除以下目录:

$HOME/Library/Application Support/Developer/Shared/Xcode/Plug-ins/AllTargets.xcplugin

?Tutorial关于如何创建插件(中文).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读