Skip to content

Commit

Permalink
Fix build for recent env
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed May 20, 2019
1 parent d0c6234 commit 028ae2b
Show file tree
Hide file tree
Showing 33 changed files with 1,260 additions and 1,357 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
language: objective-c
sudo: false
xcode_workspace: Gureum.xcworkspace
osx_image: xcode9.4
osx_image: xcode10.2
install:
- gem update cocoapods
- pod install --repo-update
matrix:
include:
- osx_image: xcode10
- osx_image: xcode10.2
xcode_sdk: macosx
xcode_scheme: OSX
xcode_destination: platform=macOS
Expand Down
2 changes: 0 additions & 2 deletions OSX/Bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
// Use this file to import your target's public headers that you would like to expose to Swift.
//

#import <FoundationExtension/FoundationExtension.h>

#import "TISInputSource.h"
1 change: 1 addition & 0 deletions OSX/UpdateManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

import Foundation
import FoundationExtension

class UpdateManager {
static let shared = UpdateManager()
Expand Down
14 changes: 6 additions & 8 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,43 +1,40 @@
workspace 'Gureum'
use_frameworks!

target 'OSXCore' do
use_frameworks!
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'cdebug'
pod 'FoundationExtension', '~> 2.0.0'
end
target 'OSX' do
use_frameworks!
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'FoundationExtension', '~> 2.0.0'
pod 'Fabric'
pod 'Crashlytics'
end
target 'Preferences' do
use_frameworks!
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'MASShortcut'
end
target 'OSXTestApp' do
use_frameworks!
platform :osx, "10.13"
project 'Gureum.xcodeproj'
pod 'MASShortcut'
pod 'FoundationExtension', '~> 2.0.0'
end
target 'OSXTests' do
use_frameworks!
platform :osx, "10.13"
project 'Gureum.xcodeproj'
end

=begin
target :'App' do
platform :ios, "9.0"
project 'iOS.xcodeproj'
pod 'UIKitExtension', '~> 2.0.0'
pod 'UIKitExtension', '~> 2.0.1'
pod 'Fabric'
pod 'Crashlytics'
pod 'GoogleMobileAds'
Expand All @@ -46,12 +43,13 @@ end
target :'iOS' do
platform :ios, "9.0"
project 'iOS.xcodeproj'
pod 'UIKitExtension', '~> 2.0.0'
pod 'UIKitExtension', '~> 2.0.1'
pod 'Fabric'
pod 'Crashlytics'
end
target :'iOSTests' do
platform :ios, "9.0"
project 'iOS.xcodeproj'
pod 'UIKitExtension', '~> 2.0.0'
pod 'UIKitExtension', '~> 2.0.1'
end
=end
32 changes: 7 additions & 25 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PODS:
- cdebug (1.2)
- Crashlytics (3.12.0):
- Fabric (~> 1.9.0)
- Fabric (1.9.0)
- Crashlytics (3.13.1):
- Fabric (~> 1.10.1)
- Fabric (1.10.1)
- FoundationExtension (2.0.0):
- cdebug (~> 1.1)
- FoundationExtension/FoundationExtension (= 2.0.0)
Expand All @@ -12,48 +12,30 @@ PODS:
- FoundationExtension/FoundationExtensionRC
- FoundationExtension/FoundationExtensionRC (2.0.0):
- cdebug (~> 1.1)
- GlobalActivityIndicatorView (0.1.1):
- cdebug (~> 1.0)
- GoogleMobileAds (7.8.0)
- MASShortcut (2.3.6)
- UIKitExtension (2.0.0):
- cdebug (~> 1.1)
- UIKitExtension/UIKitExtension (= 2.0.0)
- UIKitExtension/UIKitExtension (2.0.0):
- cdebug (~> 1.1)
- FoundationExtension/FoundationExtension

DEPENDENCIES:
- cdebug
- Crashlytics
- Fabric
- FoundationExtension (~> 2.0.0)
- GlobalActivityIndicatorView (>= 0.1.1)
- GoogleMobileAds
- MASShortcut
- UIKitExtension (~> 2.0.0)

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- cdebug
- Crashlytics
- Fabric
- FoundationExtension
- GlobalActivityIndicatorView
- GoogleMobileAds
- MASShortcut
- UIKitExtension

SPEC CHECKSUMS:
cdebug: 55a96da647360590f0d292baebb34c4066cbca02
Crashlytics: 07fb167b1694128c1c9a5a5cc319b0e9c3ca0933
Fabric: f988e33c97f08930a413e08123064d2e5f68d655
Crashlytics: 5aa8e90dcbf2f34898b4f5a0037787531246cca0
Fabric: f6f21452846788bb44595d73e9909d79d328e617
FoundationExtension: 0c3615327b9d7844ca5f65bfb4dd7563baab197a
GlobalActivityIndicatorView: 012695aa501b1476325b2076f522cc61c539ed04
GoogleMobileAds: 0ed4d41b03fe768e2e2945df68707fd4ff97c179
MASShortcut: 9c215e8a8a78f3d01ce56da48e2730ab66b538fa
UIKitExtension: bde32a28933d00591fc7b6a36088fa3428028dbc

PODFILE CHECKSUM: 793336420ccd8156a6366bb3aff70718fdb5da66
PODFILE CHECKSUM: ad8cfc76fc64d900dbda949a1f7c5b241feb451d

COCOAPODS: 1.6.0.beta.2
COCOAPODS: 1.7.0.rc.2
68 changes: 56 additions & 12 deletions iOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
38880317214565090050DEE8 /* emoticon.json in Resources */ = {isa = PBXBuildFile; fileRef = 388802B1214500190050DEE8 /* emoticon.json */; };
38BB7017193FA11000605583 /* inputmethod.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 38BB700F193FA11000605583 /* inputmethod.appex */; };
38D9A395199B7F8A0087A965 /* default in Resources */ = {isa = PBXBuildFile; fileRef = 38D9A394199B7F8A0087A965 /* default */; };
5123E1CFEF75B630AC0D7BF3 /* libPods-App.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DD09AF72CCF3F86C421EF3FF /* libPods-App.a */; };
8BFC35A6DA0D39FFD1204B04 /* libPods-iOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6925B447E08B68528C599A9F /* libPods-iOSTests.a */; };
90BCF10EB608311D966A6F98 /* libPods-iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D98EEA72D7670DC6FAEE9B2E /* libPods-iOS.a */; };
63308B9956045FBCF78F4172 /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D588A7F09C93311122F32A31 /* Pods_App.framework */; };
89E5B7EF8F47FFBCBB4D5A8B /* Pods_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4ED2B95A0390214D67DCA8BD /* Pods_iOS.framework */; };
E50A76C798A63ADE55718E7B /* Pods_iOSTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B6071571F5F30B10ADFA3281 /* Pods_iOSTests.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -215,13 +215,13 @@
38D26F681A1D36FD001E0F51 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Main.strings; sourceTree = "<group>"; };
38D9A394199B7F8A0087A965 /* default */ = {isa = PBXFileReference; lastKnownFileType = folder; path = default; sourceTree = "<group>"; };
3FA3F3D250893137147B209E /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
6925B447E08B68528C599A9F /* libPods-iOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-iOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4ED2B95A0390214D67DCA8BD /* Pods_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
7A81E31B94AB3A7E3D5D7DDF /* Pods-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-iOS/Pods-iOS.debug.xcconfig"; sourceTree = "<group>"; };
7D1F3ED1266694BD441611D7 /* Pods-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS.release.xcconfig"; path = "Pods/Target Support Files/Pods-iOS/Pods-iOS.release.xcconfig"; sourceTree = "<group>"; };
8395526EE9D8DAF4200A5B40 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
B6071571F5F30B10ADFA3281 /* Pods_iOSTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOSTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D1CABEEBED4D133157D77D7C /* Pods-iOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOSTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-iOSTests/Pods-iOSTests.release.xcconfig"; sourceTree = "<group>"; };
D98EEA72D7670DC6FAEE9B2E /* libPods-iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-iOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
DD09AF72CCF3F86C421EF3FF /* libPods-App.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-App.a"; sourceTree = BUILT_PRODUCTS_DIR; };
D588A7F09C93311122F32A31 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -231,15 +231,15 @@
files = (
383B07F119E71482004046F5 /* StoreKit.framework in Frameworks */,
386308FC199143800039369C /* libhangeul.a in Frameworks */,
5123E1CFEF75B630AC0D7BF3 /* libPods-App.a in Frameworks */,
63308B9956045FBCF78F4172 /* Pods_App.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
3882BA05193F9E6600076C26 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8BFC35A6DA0D39FFD1204B04 /* libPods-iOSTests.a in Frameworks */,
E50A76C798A63ADE55718E7B /* Pods_iOSTests.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -248,7 +248,7 @@
buildActionMask = 2147483647;
files = (
386308FD1991438B0039369C /* libhangeul.a in Frameworks */,
90BCF10EB608311D966A6F98 /* libPods-iOS.a in Frameworks */,
89E5B7EF8F47FFBCBB4D5A8B /* Pods_iOS.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -403,9 +403,9 @@
CCCF83EB06C64C542D45D4B2 /* Frameworks */ = {
isa = PBXGroup;
children = (
DD09AF72CCF3F86C421EF3FF /* libPods-App.a */,
D98EEA72D7670DC6FAEE9B2E /* libPods-iOS.a */,
6925B447E08B68528C599A9F /* libPods-iOSTests.a */,
D588A7F09C93311122F32A31 /* Pods_App.framework */,
4ED2B95A0390214D67DCA8BD /* Pods_iOS.framework */,
B6071571F5F30B10ADFA3281 /* Pods_iOSTests.framework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -436,6 +436,7 @@
3882B9F4193F9E6600076C26 /* Resources */,
38BB701D193FA11000605583 /* Embed App Extensions */,
386308B3199132210039369C /* Embed Frameworks */,
B23FB717A6231CB197300AD8 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -457,6 +458,7 @@
3882BA04193F9E6600076C26 /* Sources */,
3882BA05193F9E6600076C26 /* Frameworks */,
3882BA06193F9E6600076C26 /* Resources */,
C57B388336B589824993E2B6 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -651,6 +653,48 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
B23FB717A6231CB197300AD8 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/FoundationExtension-iOS/FoundationExtension.framework",
"${BUILT_PRODUCTS_DIR}/GlobalActivityIndicatorView/GlobalActivityIndicatorView.framework",
"${BUILT_PRODUCTS_DIR}/UIKitExtension/UIKitExtension.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FoundationExtension.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GlobalActivityIndicatorView.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/UIKitExtension.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
C57B388336B589824993E2B6 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-iOSTests/Pods-iOSTests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/FoundationExtension-iOS/FoundationExtension.framework",
"${BUILT_PRODUCTS_DIR}/UIKitExtension/UIKitExtension.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FoundationExtension.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/UIKitExtension.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-iOSTests/Pods-iOSTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
DCA8AB10D2E796EEEDD025D2 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
2 changes: 1 addition & 1 deletion iOS/iOS-Bridging-Header.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
#include <hangeul/capi.h>
#include <FoundationExtension/FoundationExtension.h>
#include <UIKitExtension/UIKitExtension.h>
#include <GlobalActivityIndicatorView/GlobalActivityIndicatorView.h>
//#include <GlobalActivityIndicatorView/GlobalActivityIndicatorView.h>
//#include "NSACommonCrypto.h"
#include "GRInputButton.h"
14 changes: 6 additions & 8 deletions iOSApp/AdsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,23 @@
// Copyright (c) 2015년 youknowone.org. All rights reserved.
//

import UIKit
import GoogleMobileAds
import UIKit

let ADMOB_BANNER_ID: String = ""
let ADMOB_INTERSTITIAL_ID: String = ""

@objc extension UIViewController {

var bannerAdsView: GADBannerView! { get { return nil; } }
var bannerAdsView: GADBannerView! { return nil }

func loadBannerAds() {
if ADMOB_BANNER_ID != "" {
self.bannerAdsView.adUnitID = ADMOB_BANNER_ID
self.bannerAdsView.rootViewController = self
bannerAdsView.adUnitID = ADMOB_BANNER_ID
bannerAdsView.rootViewController = self

let request = GADRequest()
request.testDevices = [kGADSimulatorID]
self.bannerAdsView.load(request)
bannerAdsView.load(request)
}
}

Expand All @@ -33,12 +32,11 @@ let ADMOB_INTERSTITIAL_ID: String = ""
interstitial.delegate = self as? GADInterstitialDelegate

let request = GADRequest()
//request.testDevices = [kGADSimulatorID]
// request.testDevices = [kGADSimulatorID]
interstitial.load(request)
return interstitial
} else {
return nil
}
}

}
Loading

0 comments on commit 028ae2b

Please sign in to comment.