Skip to content

Commit

Permalink
Update build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcook committed Jul 31, 2017
1 parent 0f2b682 commit f77572d
Show file tree
Hide file tree
Showing 17 changed files with 214 additions and 152 deletions.
4 changes: 3 additions & 1 deletion Example/GCHelper.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../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";
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";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down Expand Up @@ -271,6 +271,7 @@
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 3.0;
};
name = Debug;
};
Expand Down Expand Up @@ -307,6 +308,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_VERSION = 3.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand Down
6 changes: 3 additions & 3 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- GCHelper (0.4)
- GCHelper (0.4.4)

DEPENDENCIES:
- GCHelper (from `../`)
Expand All @@ -9,8 +9,8 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
GCHelper: f72da0ef55a7f377df3cf19660fccb04228eaa88
GCHelper: e0fca8c79d9435b7accc0cf5d378c88fbf31a140

PODFILE CHECKSUM: 48db1f9e069b69a848a12d1d8a59d09bb18826d0

COCOAPODS: 1.1.0.rc.2
COCOAPODS: 1.2.1
4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/GCHelper.podspec.json

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

6 changes: 3 additions & 3 deletions Example/Pods/Manifest.lock

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

270 changes: 146 additions & 124 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

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

10 changes: 10 additions & 0 deletions Example/Pods/Target Support Files/GCHelper/GCHelper-umbrella.h

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

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

2 changes: 1 addition & 1 deletion Example/Pods/Target Support Files/GCHelper/Info.plist

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

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

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

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

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

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

2 changes: 1 addition & 1 deletion Example/Tests/Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Tests: XCTestCase {

func testPerformanceExample() {
// This is an example of a performance test case.
self.measureBlock() {
self.measure {
// Put the code you want to measure the time of here.
}
}
Expand Down
4 changes: 2 additions & 2 deletions GCHelper.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = 'GCHelper'
s.version = '0.4.4'
s.version = '0.4.5'
s.summary = 'A lightweight helper for GameKit, written in Swift'
s.homepage = 'https://github.com/jackcook/GCHelper'
s.license = 'MIT'
s.author = { 'Jack Cook' => '[email protected]' }
s.source = { :git => 'https://github.com/jackcook/GCHelper.git', :tag => '0.4.4' }
s.source = { :git => 'https://github.com/jackcook/GCHelper.git', :tag => '0.4.5' }
s.social_media_url = 'https://twitter.com/jackcook36'

s.ios.deployment_target = '8.0'
Expand Down
7 changes: 4 additions & 3 deletions Pod/Classes/GCHelper.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// GCHelper.swift (v. 0.4.4)
// GCHelper.swift (v. 0.4.5)
//
// Copyright (c) 2016 Jack Cook
// Copyright (c) 2017 Jack Cook
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -68,7 +68,8 @@ public class GCHelper: NSObject, GKMatchmakerViewControllerDelegate, GKGameCente

override init() {
super.init()
NotificationCenter.default.addObserver(self, selector: #selector(GCHelper.authenticationChanged), name: NSNotification.Name.GKPlayerAuthenticationDidChangeNotificationName, object: nil)

NotificationCenter.default.addObserver(self, selector: #selector(GCHelper.authenticationChanged), name: NSNotification.Name(rawValue: GKPlayerAuthenticationDidChangeNotificationName), object: nil)
}

// MARK: Private functions
Expand Down

0 comments on commit f77572d

Please sign in to comment.