Skip to content

Commit

Permalink
Feature: pod add SwiftLog
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengchen committed Aug 7, 2018
1 parent ecfadf1 commit 1f523c0
Show file tree
Hide file tree
Showing 20 changed files with 2,019 additions and 1,400 deletions.
2 changes: 2 additions & 0 deletions ClashX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@
"${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework",
"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
"${PODS_ROOT}/Sparkle/Sparkle.framework",
"${BUILT_PRODUCTS_DIR}/SwiftLog/SwiftLog.framework",
"${BUILT_PRODUCTS_DIR}/SwiftyJSON/SwiftyJSON.framework",
);
name = "[CP] Embed Pods Frameworks";
Expand All @@ -488,6 +489,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Sparkle.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftLog.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftyJSON.framework",
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
2 changes: 1 addition & 1 deletion ClashX/Basic/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Logger {

static func log(msg:String) {
if #available(OSX 10.12, *) {
os_log("%@", log: shared.logger!, type: .default, msg)
os_log("%{public}s", log: shared.logger!, type: .default, msg)
} else {
NSLog("%@", msg)
}
Expand Down
1 change: 1 addition & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ target 'ClashX' do
pod 'SwiftyJSON', '~> 4.0'
pod 'RxSwift', '~> 4.0'
pod 'RxCocoa', '~> 4.0'
pod 'SwiftLog', '~> 1.0.0'
end

5 changes: 4 additions & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ PODS:
- RxSwift (~> 4.0)
- RxSwift (4.2.0)
- Sparkle (1.19.0)
- SwiftLog (1.0.0)
- SwiftyJSON (4.1.0)

DEPENDENCIES:
Expand All @@ -13,6 +14,7 @@ DEPENDENCIES:
- RxCocoa (~> 4.0)
- RxSwift (~> 4.0)
- Sparkle
- SwiftLog (~> 1.0.0)
- SwiftyJSON (~> 4.0)

SPEC CHECKSUMS:
Expand All @@ -21,8 +23,9 @@ SPEC CHECKSUMS:
RxCocoa: 0b54909c902e1e581212a03e690bbd94032d8baa
RxSwift: 99e10317ddfcc7fbe01356aafd118fde4a0be104
Sparkle: 8486d2493599665e466b5076e72b28849776e32f
SwiftLog: f6c4f9a4ade06263555ab34b2c0f72025ffcda9e
SwiftyJSON: c29297daf073d2aa016295d5809cdd68045c39b3

PODFILE CHECKSUM: 245bbc49106346303515c20d4e19cd496f2f3b71
PODFILE CHECKSUM: fc69ca2b623a93ac89161e5986883dc8da46138b

COCOAPODS: 1.4.0
5 changes: 4 additions & 1 deletion Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2,958 changes: 1,567 additions & 1,391 deletions Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions Pods/SwiftLog/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

159 changes: 159 additions & 0 deletions Pods/SwiftLog/Log.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

117 changes: 117 additions & 0 deletions Pods/SwiftLog/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1f523c0

Please sign in to comment.