Feature: pod add SwiftLog
This commit is contained in:
parent
ecfadf10dd
commit
1f523c091d
@ -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";
|
||||
@ -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;
|
||||
|
@ -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)
|
||||
}
|
||||
|
1
Podfile
1
Podfile
@ -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,6 +5,7 @@ PODS:
|
||||
- RxSwift (~> 4.0)
|
||||
- RxSwift (4.2.0)
|
||||
- Sparkle (1.19.0)
|
||||
- SwiftLog (1.0.0)
|
||||
- SwiftyJSON (4.1.0)
|
||||
|
||||
DEPENDENCIES:
|
||||
@ -13,6 +14,7 @@ DEPENDENCIES:
|
||||
- RxCocoa (~> 4.0)
|
||||
- RxSwift (~> 4.0)
|
||||
- Sparkle
|
||||
- SwiftLog (~> 1.0.0)
|
||||
- SwiftyJSON (~> 4.0)
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
@ -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
Pods/Manifest.lock
generated
5
Pods/Manifest.lock
generated
@ -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:
|
||||
@ -13,6 +14,7 @@ DEPENDENCIES:
|
||||
- RxCocoa (~> 4.0)
|
||||
- RxSwift (~> 4.0)
|
||||
- Sparkle
|
||||
- SwiftLog (~> 1.0.0)
|
||||
- SwiftyJSON (~> 4.0)
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
@ -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
|
||||
|
3282
Pods/Pods.xcodeproj/project.pbxproj
generated
3282
Pods/Pods.xcodeproj/project.pbxproj
generated
File diff suppressed because it is too large
Load Diff
22
Pods/SwiftLog/LICENSE
generated
Normal file
22
Pods/SwiftLog/LICENSE
generated
Normal file
@ -0,0 +1,22 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Dalton
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
159
Pods/SwiftLog/Log.swift
generated
Normal file
159
Pods/SwiftLog/Log.swift
generated
Normal file
@ -0,0 +1,159 @@
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Log.swift
|
||||
//
|
||||
// Created by Dalton Cherry on 12/23/14.
|
||||
// Copyright (c) 2014 Vluxe. All rights reserved.
|
||||
//
|
||||
// Simple logging class.
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
import Foundation
|
||||
|
||||
///The log class containing all the needed methods
|
||||
open class Log {
|
||||
|
||||
///The max size a log file can be in Kilobytes. Default is 1024 (1 MB)
|
||||
open var maxFileSize: UInt64 = 1024
|
||||
|
||||
///The max number of log file that will be stored. Once this point is reached, the oldest file is deleted.
|
||||
open var maxFileCount = 4
|
||||
|
||||
///The directory in which the log files will be written
|
||||
open var directory = Log.defaultDirectory() {
|
||||
didSet {
|
||||
directory = NSString(string: directory).expandingTildeInPath
|
||||
|
||||
let fileManager = FileManager.default
|
||||
if !fileManager.fileExists(atPath: directory) {
|
||||
do {
|
||||
try fileManager.createDirectory(atPath: directory, withIntermediateDirectories: true, attributes: nil)
|
||||
} catch {
|
||||
NSLog("Couldn't create directory at \(directory)")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
open var currentPath: String {
|
||||
return "\(directory)/\(logName(0))"
|
||||
}
|
||||
|
||||
///The name of the log files
|
||||
open var name = "logfile"
|
||||
|
||||
///Whether or not logging also prints to the console
|
||||
open var printToConsole = true
|
||||
|
||||
///logging singleton
|
||||
open class var logger: Log {
|
||||
|
||||
struct Static {
|
||||
static let instance: Log = Log()
|
||||
}
|
||||
return Static.instance
|
||||
}
|
||||
//the date formatter
|
||||
var dateFormatter: DateFormatter {
|
||||
let formatter = DateFormatter()
|
||||
formatter.timeStyle = .medium
|
||||
formatter.dateStyle = .medium
|
||||
return formatter
|
||||
}
|
||||
|
||||
///write content to the current log file.
|
||||
open func write(_ text: String) {
|
||||
let path = currentPath
|
||||
let fileManager = FileManager.default
|
||||
if !fileManager.fileExists(atPath: path) {
|
||||
do {
|
||||
try "".write(toFile: path, atomically: true, encoding: String.Encoding.utf8)
|
||||
} catch _ {
|
||||
}
|
||||
}
|
||||
if let fileHandle = FileHandle(forWritingAtPath: path) {
|
||||
let dateStr = dateFormatter.string(from: Date())
|
||||
let writeText = "[\(dateStr)]: \(text)\n"
|
||||
fileHandle.seekToEndOfFile()
|
||||
fileHandle.write(writeText.data(using: String.Encoding.utf8)!)
|
||||
fileHandle.closeFile()
|
||||
if printToConsole {
|
||||
print(writeText, terminator: "")
|
||||
}
|
||||
cleanup()
|
||||
}
|
||||
}
|
||||
///do the checks and cleanup
|
||||
func cleanup() {
|
||||
let path = "\(directory)/\(logName(0))"
|
||||
let size = fileSize(path)
|
||||
let maxSize: UInt64 = maxFileSize*1024
|
||||
if size > 0 && size >= maxSize && maxSize > 0 && maxFileCount > 0 {
|
||||
rename(0)
|
||||
//delete the oldest file
|
||||
let deletePath = "\(directory)/\(logName(maxFileCount))"
|
||||
let fileManager = FileManager.default
|
||||
do {
|
||||
try fileManager.removeItem(atPath: deletePath)
|
||||
} catch _ {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
///check the size of a file
|
||||
func fileSize(_ path: String) -> UInt64 {
|
||||
let fileManager = FileManager.default
|
||||
let attrs: NSDictionary? = try? fileManager.attributesOfItem(atPath: path) as NSDictionary
|
||||
if let dict = attrs {
|
||||
return dict.fileSize()
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
///Recursive method call to rename log files
|
||||
func rename(_ index: Int) {
|
||||
let fileManager = FileManager.default
|
||||
let path = "\(directory)/\(logName(index))"
|
||||
let newPath = "\(directory)/\(logName(index+1))"
|
||||
if fileManager.fileExists(atPath: newPath) {
|
||||
rename(index+1)
|
||||
}
|
||||
do {
|
||||
try fileManager.moveItem(atPath: path, toPath: newPath)
|
||||
} catch _ {
|
||||
}
|
||||
}
|
||||
|
||||
///gets the log name
|
||||
func logName(_ num :Int) -> String {
|
||||
return "\(name)-\(num).log"
|
||||
}
|
||||
|
||||
///get the default log directory
|
||||
class func defaultDirectory() -> String {
|
||||
var path = ""
|
||||
let fileManager = FileManager.default
|
||||
#if os(iOS)
|
||||
let paths = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)
|
||||
path = "\(paths[0])/Logs"
|
||||
#elseif os(macOS)
|
||||
let urls = fileManager.urls(for: .libraryDirectory, in: .userDomainMask)
|
||||
if let url = urls.last {
|
||||
path = "\(url.path)/Logs"
|
||||
}
|
||||
#endif
|
||||
if !fileManager.fileExists(atPath: path) && path != "" {
|
||||
do {
|
||||
try fileManager.createDirectory(atPath: path, withIntermediateDirectories: false, attributes: nil)
|
||||
} catch _ {
|
||||
}
|
||||
}
|
||||
return path
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
///Writes content to the current log file
|
||||
public func logw(_ text: String) {
|
||||
Log.logger.write(text)
|
||||
}
|
117
Pods/SwiftLog/README.md
generated
Normal file
117
Pods/SwiftLog/README.md
generated
Normal file
@ -0,0 +1,117 @@
|
||||
SwiftLog
|
||||
========
|
||||
|
||||
Simple and easy logging in Swift.
|
||||
|
||||
## Features
|
||||
|
||||
- Super simple. Only one method to log.
|
||||
- Rolled logs.
|
||||
- Simple concise codebase at just at barely two hundred LOC.
|
||||
|
||||
First thing is to import the framework. See the Installation instructions on how to add the framework to your project.
|
||||
|
||||
```swift
|
||||
//iOS
|
||||
import SwiftLog
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
SwiftLog can be used right out of the box with no configuration, simply call the logging function.
|
||||
|
||||
```swift
|
||||
logw("write to the log!")
|
||||
```
|
||||
|
||||
That will create a log file in the proper directory on both OS X and iOS.
|
||||
|
||||
OS X log files will be created in the OS X log directory (found under: /Library/Logs). The iOS log files will be created in your apps document directory under a folder called Logs.
|
||||
|
||||
## Configuration
|
||||
|
||||
There are a few configurable options in SwiftLog.
|
||||
|
||||
```swift
|
||||
//This writes to the log
|
||||
logw("write to the log!")
|
||||
|
||||
//Set the name of the log files
|
||||
Log.logger.name = "test" //default is "logfile"
|
||||
|
||||
//Set the max size of each log file. Value is in KB
|
||||
Log.logger.maxFileSize = 2048 //default is 1024
|
||||
|
||||
//Set the max number of logs files that will be kept
|
||||
Log.logger.maxFileCount = 8 //default is 4
|
||||
|
||||
//Set the directory in which the logs files will be written
|
||||
Log.logger.directory = "/Library/somefolder" //default is the standard logging directory for each platform.
|
||||
|
||||
//Set whether or not writing to the log also prints to the console
|
||||
Log.logger.printToConsole = false //default is true
|
||||
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
### CocoaPods
|
||||
|
||||
Check out [Get Started](http://cocoapods.org/) tab on [cocoapods.org](http://cocoapods.org/).
|
||||
|
||||
To use SwiftLog in your project add the following 'Podfile' to your project
|
||||
|
||||
source 'https://github.com/CocoaPods/Specs.git'
|
||||
platform :ios, '8.0'
|
||||
use_frameworks!
|
||||
|
||||
pod 'SwiftLog', '~> 1.0.0'
|
||||
|
||||
Then run:
|
||||
|
||||
pod install
|
||||
|
||||
|
||||
### Carthage
|
||||
|
||||
Check out the [Carthage](https://github.com/Carthage/Carthage) docs on how to add a install. The `SwiftLog` framework is already setup with shared schemes.
|
||||
|
||||
[Carthage Install](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application)
|
||||
|
||||
### Rogue
|
||||
|
||||
First see the [installation docs](https://github.com/acmacalister/Rogue) for how to install Rogue.
|
||||
|
||||
To install SwiftLog run the command below in the directory you created the rogue file.
|
||||
|
||||
```
|
||||
rogue add https://github.com/daltoniam/SwiftLog
|
||||
```
|
||||
|
||||
Next open the `libs` folder and add the `SwiftLog.xcodeproj` to your Xcode project. Once that is complete, in your "Build Phases" add the `SwiftLog.framework` to your "Link Binary with Libraries" phase. Make sure to add the `libs` folder to your `.gitignore` file.
|
||||
|
||||
### Other
|
||||
|
||||
Simply grab the framework (either via git submodule or another package manager).
|
||||
|
||||
Add the `SwiftLog.xcodeproj` to your Xcode project. Once that is complete, in your "Build Phases" add the `SwiftLog.framework` to your "Link Binary with Libraries" phase.
|
||||
|
||||
### Add Copy Frameworks Phase
|
||||
|
||||
If you are running this in an OSX app or on a physical iOS device you will need to make sure you add the `SwiftLog.framework` included in your app bundle. To do this, in Xcode, navigate to the target configuration window by clicking on the blue project icon, and selecting the application target under the "Targets" heading in the sidebar. In the tab bar at the top of that window, open the "Build Phases" panel. Expand the "Link Binary with Libraries" group, and add `SwiftLog.framework`. Click on the + button at the top left of the panel and select "New Copy Files Phase". Rename this new phase to "Copy Frameworks", set the "Destination" to "Frameworks", and add `SwiftLog.framework`.
|
||||
|
||||
## TODOs
|
||||
|
||||
- [ ] Complete Docs
|
||||
- [ ] Add Unit Tests
|
||||
|
||||
## License
|
||||
|
||||
SwiftLog is licensed under the MIT License.
|
||||
|
||||
## Contact
|
||||
|
||||
### Dalton Cherry
|
||||
* https://github.com/daltoniam
|
||||
* http://twitter.com/daltoniam
|
||||
* http://daltoniam.com
|
@ -113,6 +113,32 @@ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
## SwiftLog
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Dalton
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
|
||||
## SwiftyJSON
|
||||
|
||||
The MIT License (MIT)
|
||||
|
@ -152,6 +152,38 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
<key>FooterText</key>
|
||||
<string>The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Dalton
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
</string>
|
||||
<key>License</key>
|
||||
<string>Apache License, Version 2.0</string>
|
||||
<key>Title</key>
|
||||
<string>SwiftLog</string>
|
||||
<key>Type</key>
|
||||
<string>PSGroupSpecifier</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>FooterText</key>
|
||||
<string>The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 Ruoyu Fu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
|
@ -139,6 +139,7 @@ if [[ "$CONFIGURATION" == "Debug" ]]; then
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework"
|
||||
install_framework "${PODS_ROOT}/Sparkle/Sparkle.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftLog/SwiftLog.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftyJSON/SwiftyJSON.framework"
|
||||
fi
|
||||
if [[ "$CONFIGURATION" == "Release" ]]; then
|
||||
@ -147,6 +148,7 @@ if [[ "$CONFIGURATION" == "Release" ]]; then
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework"
|
||||
install_framework "${PODS_ROOT}/Sparkle/Sparkle.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftLog/SwiftLog.framework"
|
||||
install_framework "${BUILT_PRODUCTS_DIR}/SwiftyJSON/SwiftyJSON.framework"
|
||||
fi
|
||||
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
|
||||
|
@ -1,11 +1,11 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
CODE_SIGN_IDENTITY =
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Sparkle" "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON"
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Sparkle" "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftLog" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON"
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Sparkle"
|
||||
LD_RUNPATH_SEARCH_PATHS = @loader_path/../Frameworks $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks'
|
||||
OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove/LetsMove.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON/SwiftyJSON.framework/Headers" -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Sparkle"
|
||||
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "LetsMove" -framework "RxCocoa" -framework "RxSwift" -framework "Sparkle" -framework "SwiftyJSON"
|
||||
OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove/LetsMove.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftLog/SwiftLog.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON/SwiftyJSON.framework/Headers" -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Sparkle"
|
||||
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "LetsMove" -framework "RxCocoa" -framework "RxSwift" -framework "Sparkle" -framework "SwiftLog" -framework "SwiftyJSON"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
|
@ -1,11 +1,11 @@
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
CODE_SIGN_IDENTITY =
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Sparkle" "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON"
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Sparkle" "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftLog" "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON"
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Sparkle"
|
||||
LD_RUNPATH_SEARCH_PATHS = @loader_path/../Frameworks $(inherited) '@executable_path/../Frameworks' '@loader_path/Frameworks'
|
||||
OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove/LetsMove.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON/SwiftyJSON.framework/Headers" -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Sparkle"
|
||||
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "LetsMove" -framework "RxCocoa" -framework "RxSwift" -framework "Sparkle" -framework "SwiftyJSON"
|
||||
OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/LetsMove/LetsMove.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftLog/SwiftLog.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/SwiftyJSON/SwiftyJSON.framework/Headers" -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/Sparkle"
|
||||
OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "LetsMove" -framework "RxCocoa" -framework "RxSwift" -framework "Sparkle" -framework "SwiftLog" -framework "SwiftyJSON"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
|
26
Pods/Target Support Files/SwiftLog/Info.plist
generated
Normal file
26
Pods/Target Support Files/SwiftLog/Info.plist
generated
Normal file
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${CURRENT_PROJECT_VERSION}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
5
Pods/Target Support Files/SwiftLog/SwiftLog-dummy.m
generated
Normal file
5
Pods/Target Support Files/SwiftLog/SwiftLog-dummy.m
generated
Normal file
@ -0,0 +1,5 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
@interface PodsDummy_SwiftLog : NSObject
|
||||
@end
|
||||
@implementation PodsDummy_SwiftLog
|
||||
@end
|
12
Pods/Target Support Files/SwiftLog/SwiftLog-prefix.pch
generated
Normal file
12
Pods/Target Support Files/SwiftLog/SwiftLog-prefix.pch
generated
Normal file
@ -0,0 +1,12 @@
|
||||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
16
Pods/Target Support Files/SwiftLog/SwiftLog-umbrella.h
generated
Normal file
16
Pods/Target Support Files/SwiftLog/SwiftLog-umbrella.h
generated
Normal file
@ -0,0 +1,16 @@
|
||||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
FOUNDATION_EXPORT double SwiftLogVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char SwiftLogVersionString[];
|
||||
|
6
Pods/Target Support Files/SwiftLog/SwiftLog.modulemap
generated
Normal file
6
Pods/Target Support Files/SwiftLog/SwiftLog.modulemap
generated
Normal file
@ -0,0 +1,6 @@
|
||||
framework module SwiftLog {
|
||||
umbrella header "SwiftLog-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
11
Pods/Target Support Files/SwiftLog/SwiftLog.xcconfig
generated
Normal file
11
Pods/Target Support Files/SwiftLog/SwiftLog.xcconfig
generated
Normal file
@ -0,0 +1,11 @@
|
||||
CODE_SIGN_IDENTITY =
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SwiftLog
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Sparkle"
|
||||
OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/SwiftLog
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
SKIP_INSTALL = YES
|
Loading…
Reference in New Issue
Block a user