Skip to content
Permalink
Browse files

Support macOS 10.11

  • Loading branch information
youknowone committed Nov 18, 2019
1 parent 4136649 commit 94ebd01e1ed7d59faffb9c3d96621fda8b2ab35b
Showing with 26 additions and 26 deletions.
  1. +0 −4 Gureum.xcodeproj/project.pbxproj
  2. +2 −2 OSX/AnswersHelper.swift
  3. +7 −3 OSX/GureumAppDelegate.swift
  4. +4 −4 Podfile
  5. +13 −13 Podfile.lock
@@ -1116,15 +1116,13 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OSX/Pods-OSX-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/FoundationExtension/FoundationExtension.framework",
"${BUILT_PRODUCTS_DIR}/Fuse/Fuse.framework",
"${BUILT_PRODUCTS_DIR}/SwiftCarbon/SwiftCarbon.framework",
"${BUILT_PRODUCTS_DIR}/SwiftCoreServices/SwiftCoreServices.framework",
"${BUILT_PRODUCTS_DIR}/SwiftIOKit/SwiftIOKit.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FoundationExtension.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Fuse.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftCarbon.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftCoreServices.framework",
@@ -1218,7 +1216,6 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OSXTestApp/Pods-OSXTestApp-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/FoundationExtension/FoundationExtension.framework",
"${BUILT_PRODUCTS_DIR}/MASShortcut/MASShortcut.framework",
"${BUILT_PRODUCTS_DIR}/Fuse/Fuse.framework",
"${BUILT_PRODUCTS_DIR}/SwiftCarbon/SwiftCarbon.framework",
@@ -1227,7 +1224,6 @@
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FoundationExtension.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MASShortcut.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Fuse.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftCarbon.framework",
@@ -10,7 +10,7 @@ import Crashlytics
import Fabric
import GureumCore

class AnswersHelper {
@objc class AnswersHelper: NSObject {
let configuration = Configuration.shared
let launchedTime = Date()

@@ -21,7 +21,7 @@ class AnswersHelper {
customAttributes: report)
}

func logUptime() {
@objc func logUptime() {
let uptime = -launchedTime.timeIntervalSinceNow
Answers.logContentView(withName: "Uptime",
contentType: "Indicator",
@@ -68,9 +68,13 @@ class GureumAppDelegate: NSObject, NSApplicationDelegate, GureumApplicationDeleg
_ = InputMethodServer.shared

answers.logLaunch()
Timer.scheduledTimer(withTimeInterval: 3600, repeats: true) { _ in
answers.logUptime()
}

Timer.scheduledTimer(timeInterval: 3600, target: answers, selector: #selector(AnswersHelper.logUptime), userInfo: nil, repeats: true)
// for 10.12+
// Timer.scheduledTimer(withTimeInterval: 3600, repeats: true) { _ in
// answers.logUptime()
// }
watcher.reloadConfiguration()
}
}
@@ -5,15 +5,15 @@ platform :osx, "10.13"
target 'OSXCore' do
project 'Gureum.xcodeproj'
pod 'cdebug'
pod 'FoundationExtension', '~> 2.0.0'
pod 'FoundationExtension', '~> 2.1.0'
pod 'SwiftIOKit'
pod 'SwiftCarbon'
pod 'SwiftCoreServices'
pod 'Fuse'
end
target 'OSX' do
project 'Gureum.xcodeproj'
pod 'FoundationExtension', '~> 2.0.0'
pod 'FoundationExtension', '~> 2.1.0'
pod 'Fabric'
pod 'Crashlytics'
end
@@ -24,7 +24,7 @@ end
target 'OSXTestApp' do
project 'Gureum.xcodeproj'
pod 'MASShortcut'
pod 'FoundationExtension', '~> 2.0.0'
pod 'FoundationExtension', '~> 2.1.0'
end
target 'OSXTests' do
project 'Gureum.xcodeproj'
@@ -34,7 +34,7 @@ end
target :'App' do
platform :ios, "9.0"
project 'iOS.xcodeproj'
pod 'UIKitExtension', '~> 2.0.1'
pod 'UIKitExtension', '~> 2.1.0'
pod 'Fabric'
pod 'Crashlytics'
pod 'GoogleMobileAds'
@@ -1,17 +1,17 @@
PODS:
- cdebug (1.2)
- cdebug (1.3)
- Crashlytics (3.14.0):
- Fabric (~> 1.10.2)
- Fabric (1.10.2)
- FoundationExtension (2.0.0):
- cdebug (~> 1.1)
- FoundationExtension/FoundationExtension (= 2.0.0)
- FoundationExtension/FoundationExtensionRC (= 2.0.0)
- FoundationExtension/FoundationExtension (2.0.0):
- cdebug (~> 1.1)
- FoundationExtension (2.1.0):
- cdebug (~> 1.3)
- FoundationExtension/FoundationExtension (= 2.1.0)
- FoundationExtension/FoundationExtensionRC (= 2.1.0)
- FoundationExtension/FoundationExtension (2.1.0):
- cdebug (~> 1.3)
- FoundationExtension/FoundationExtensionRC
- FoundationExtension/FoundationExtensionRC (2.0.0):
- cdebug (~> 1.1)
- FoundationExtension/FoundationExtensionRC (2.1.0):
- cdebug (~> 1.3)
- Fuse (1.2.0)
- MASShortcut (2.4.0)
- SwiftCarbon (0.1.0):
@@ -27,7 +27,7 @@ DEPENDENCIES:
- cdebug
- Crashlytics
- Fabric
- FoundationExtension (~> 2.0.0)
- FoundationExtension (~> 2.1.0)
- Fuse
- MASShortcut
- SwiftCarbon
@@ -47,16 +47,16 @@ SPEC REPOS:
- SwiftIOKit

SPEC CHECKSUMS:
cdebug: 55a96da647360590f0d292baebb34c4066cbca02
cdebug: 0d0b7207fa996236ee9e07e5988e5e39a1d94a28
Crashlytics: 540b7e5f5da5a042647227a5e3ac51d85eed06df
Fabric: 706c8b8098fff96c33c0db69cbf81f9c551d0d74
FoundationExtension: 0c3615327b9d7844ca5f65bfb4dd7563baab197a
FoundationExtension: 56c1c923c9a3bc69c5a5ac08c47c8f2f57b06288
Fuse: 287bd95a5c8dbfe6c41af519eaf48856aa1a28f6
MASShortcut: d9e4909e878661cc42877cc9d6efbe638273ab57
SwiftCarbon: c48bbbff6c451022e89c46b85d0e9b44c64ef61b
SwiftCoreServices: e4aebffc7143ff3e06920ecb89654f7c81f9768a
SwiftIOKit: 58e9b718109ba7c6681fc45c5888838627df28f1

PODFILE CHECKSUM: bd16d9e213df73a5a491232ac0d601cc5c52a6ff
PODFILE CHECKSUM: fdcc244dc13f0ce1b714f8b69bed2efdb7fabb60

COCOAPODS: 1.8.4

0 comments on commit 94ebd01

Please sign in to comment.
You can’t perform that action at this time.