Skip to content

Commit

Permalink
Merge pull request #1 from 15x10/master
Browse files Browse the repository at this point in the history
Update for Xcode 6.3.1 and Swift 1.2 with no code signing.
  • Loading branch information
Patrick Chamelo committed May 26, 2015
2 parents 003ccb4 + 8af32a4 commit a4ccebe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.DS_Store?
._*
.Spotlight-V100
xcuserdata
10 changes: 0 additions & 10 deletions Sleep/Sleep.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
137974F61A10611A00B8B849 /* Sleep.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = Sleep.entitlements; sourceTree = "<group>"; };
CD30616B1991360F00C1DEFA /* Icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Icon.icns; sourceTree = "<group>"; };
CD77A73C1990FF3B00758F4A /* Sleep.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sleep.app; sourceTree = BUILT_PRODUCTS_DIR; };
CD77A7401990FF3B00758F4A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -61,7 +60,6 @@
CD77A73E1990FF3B00758F4A /* Sleep */ = {
isa = PBXGroup;
children = (
137974F61A10611A00B8B849 /* Sleep.entitlements */,
CD77A7431990FF3B00758F4A /* AppDelegate.swift */,
CD30616B1991360F00C1DEFA /* Icon.icns */,
CD77A7451990FF3B00758F4A /* Images.xcassets */,
Expand Down Expand Up @@ -220,7 +218,6 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Mac Developer: Patrick CHAMELO (4S7SPYVR8G)";
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
Expand Down Expand Up @@ -262,7 +259,6 @@
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application: Patrick CHAMELO (HPSF3D2F4U)";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
Expand All @@ -284,9 +280,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Sleep/Sleep.entitlements;
CODE_SIGN_IDENTITY = "Mac Developer: Patrick CHAMELO (4S7SPYVR8G)";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer: Patrick CHAMELO (4S7SPYVR8G)";
COMBINE_HIDPI_IMAGES = YES;
GCC_OPTIMIZATION_LEVEL = s;
INFOPLIST_FILE = Sleep/Info.plist;
Expand All @@ -302,9 +295,6 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Sleep/Sleep.entitlements;
CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application: Patrick CHAMELO (HPSF3D2F4U)";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application: Patrick CHAMELO (HPSF3D2F4U)";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = Sleep/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
Expand Down
2 changes: 1 addition & 1 deletion Sleep/Sleep/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Cocoa

class AppDelegate: NSObject, NSApplicationDelegate
{
func applicationDidFinishLaunching(aNotification: NSNotification?)
func applicationDidFinishLaunching(notification: NSNotification)
{
var task = NSTask()
task.launchPath = "/usr/bin/pmset"
Expand Down
2 changes: 1 addition & 1 deletion Sleep/Sleep/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

import Cocoa

NSApplicationMain(C_ARGC, C_ARGV)
NSApplicationMain(Process.argc, Process.unsafeArgv)

0 comments on commit a4ccebe

Please sign in to comment.