最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

[记录]用Carthage安装iOS的swift库XCGLogger

Carthage crifan 1820浏览 0评论

DaveWoodCom/XCGLogger: A debug log framework for use in Swift projects.

去给Cartfile中添加:

github "DaveWoodCom/XCGLogger" ~> 3.3

然后去更新:

licrifandeMacBook-Pro:QorosSales crifan$ carthage update –no-use-binaries XCGLogger

*** Cloning XCGLogger

*** Fetching realm-cocoa

*** Fetching ios-filter-control

*** Fetching Charts

*** Fetching Cartography

*** Checking out XCGLogger at "Version_3.3"

*** xcodebuild output can be found in /var/folders/46/2hjxz38n22n3ypp_5f6_p__00000gn/T/carthage-xcodebuild.FkcnoP.log

*** Building scheme "XCGLogger (OS X)" in XCGLogger.xcodeproj

2016-05-18 17:48:24.567 xcodebuild[1534:31910] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

*** Building scheme "XCGLogger (iOS)" in XCGLogger.xcodeproj

2016-05-18 17:48:40.548 xcodebuild[1587:32883] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

2016-05-18 17:48:52.875 xcodebuild[1643:33195] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

*** Building scheme "XCGLogger (tvOS)" in XCGLogger.xcodeproj

2016-05-18 17:49:08.589 xcodebuild[1709:33820] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

2016-05-18 17:49:17.028 xcodebuild[1743:34057] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

*** Building scheme "XCGLogger (watchOS)" in XCGLogger.xcodeproj

2016-05-18 17:49:26.417 xcodebuild[1786:34339] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

2016-05-18 17:49:33.564 xcodebuild[1820:34499] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs

->

对于单独只想要更新某个库,且带参数的话,可以用:

carthage 命令 参数 单个库的名字

比如:

carthage update –no-use-binaries XCGLogger

-》

可见,此处是下载了对应的

XCGLogger的源码

并且编译除了对应的framework库文件了:

-》

否则,由于XCGLogger提供了二进制库文件,

默认的话,不加上–no-use-binaries

就不会下载源码,而直接下载二进制了。

转载请注明:在路上 » [记录]用Carthage安装iOS的swift库XCGLogger

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
84 queries in 0.193 seconds, using 22.09MB memory