diff --git a/DGRunkeeperSwitch/DGRunkeeperSwitch.h b/DGRunkeeperSwitch/DGRunkeeperSwitch.h new file mode 100644 index 0000000..29eb407 --- /dev/null +++ b/DGRunkeeperSwitch/DGRunkeeperSwitch.h @@ -0,0 +1,19 @@ +// +// DGRunkeeperSwitch.h +// DGRunkeeperSwitch +// +// Created by Guilherme Moura on 11/30/15. +// Copyright © 2015 Danil Gontovnik. All rights reserved. +// + +#import + +//! Project version number for DGRunkeeperSwitch. +FOUNDATION_EXPORT double DGRunkeeperSwitchVersionNumber; + +//! Project version string for DGRunkeeperSwitch. +FOUNDATION_EXPORT const unsigned char DGRunkeeperSwitchVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/DGRunkeeperSwitch/Info.plist b/DGRunkeeperSwitch/Info.plist new file mode 100644 index 0000000..3034b22 --- /dev/null +++ b/DGRunkeeperSwitch/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.1.2 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/DGRunkeeperSwitchExample.xcodeproj/project.pbxproj b/DGRunkeeperSwitchExample.xcodeproj/project.pbxproj index 9b02d1b..2d0e39c 100644 --- a/DGRunkeeperSwitchExample.xcodeproj/project.pbxproj +++ b/DGRunkeeperSwitchExample.xcodeproj/project.pbxproj @@ -13,6 +13,8 @@ 05B5DEA51B98509500F87BB3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 05B5DEA41B98509500F87BB3 /* Assets.xcassets */; }; 05B5DEA81B98509500F87BB3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 05B5DEA61B98509500F87BB3 /* LaunchScreen.storyboard */; }; 05B5DEB11B9851F700F87BB3 /* DGRunkeeperSwitch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05B5DEB01B9851F700F87BB3 /* DGRunkeeperSwitch.swift */; }; + 4508BA3F1C0CF52700BC38BE /* DGRunkeeperSwitch.h in Headers */ = {isa = PBXBuildFile; fileRef = 4508BA3E1C0CF52700BC38BE /* DGRunkeeperSwitch.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4508BA441C0CF59D00BC38BE /* DGRunkeeperSwitch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05B5DEB01B9851F700F87BB3 /* DGRunkeeperSwitch.swift */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -24,6 +26,9 @@ 05B5DEA71B98509500F87BB3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 05B5DEA91B98509500F87BB3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 05B5DEB01B9851F700F87BB3 /* DGRunkeeperSwitch.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DGRunkeeperSwitch.swift; path = DGRunkeeperSwitch/DGRunkeeperSwitch.swift; sourceTree = SOURCE_ROOT; }; + 4508BA3C1C0CF52700BC38BE /* DGRunkeeperSwitch.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DGRunkeeperSwitch.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4508BA3E1C0CF52700BC38BE /* DGRunkeeperSwitch.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DGRunkeeperSwitch.h; sourceTree = ""; }; + 4508BA401C0CF52700BC38BE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -34,6 +39,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4508BA381C0CF52700BC38BE /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -41,6 +53,7 @@ isa = PBXGroup; children = ( 05B5DE9C1B98509500F87BB3 /* DGRunkeeperSwitchExample */, + 4508BA3D1C0CF52700BC38BE /* DGRunkeeperSwitch */, 05B5DE9B1B98509500F87BB3 /* Products */, ); sourceTree = ""; @@ -49,6 +62,7 @@ isa = PBXGroup; children = ( 05B5DE9A1B98509500F87BB3 /* DGRunkeeperSwitchExample.app */, + 4508BA3C1C0CF52700BC38BE /* DGRunkeeperSwitch.framework */, ); name = Products; sourceTree = ""; @@ -75,8 +89,28 @@ name = DGRunkeeperSwitch; sourceTree = ""; }; + 4508BA3D1C0CF52700BC38BE /* DGRunkeeperSwitch */ = { + isa = PBXGroup; + children = ( + 4508BA3E1C0CF52700BC38BE /* DGRunkeeperSwitch.h */, + 4508BA401C0CF52700BC38BE /* Info.plist */, + ); + path = DGRunkeeperSwitch; + sourceTree = ""; + }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 4508BA391C0CF52700BC38BE /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4508BA3F1C0CF52700BC38BE /* DGRunkeeperSwitch.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ 05B5DE991B98509500F87BB3 /* DGRunkeeperSwitchExample */ = { isa = PBXNativeTarget; @@ -95,6 +129,24 @@ productReference = 05B5DE9A1B98509500F87BB3 /* DGRunkeeperSwitchExample.app */; productType = "com.apple.product-type.application"; }; + 4508BA3B1C0CF52700BC38BE /* DGRunkeeperSwitch */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4508BA411C0CF52700BC38BE /* Build configuration list for PBXNativeTarget "DGRunkeeperSwitch" */; + buildPhases = ( + 4508BA371C0CF52700BC38BE /* Sources */, + 4508BA381C0CF52700BC38BE /* Frameworks */, + 4508BA391C0CF52700BC38BE /* Headers */, + 4508BA3A1C0CF52700BC38BE /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = DGRunkeeperSwitch; + productName = DGRunkeeperSwitch; + productReference = 4508BA3C1C0CF52700BC38BE /* DGRunkeeperSwitch.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -107,6 +159,9 @@ 05B5DE991B98509500F87BB3 = { CreatedOnToolsVersion = 7.0; }; + 4508BA3B1C0CF52700BC38BE = { + CreatedOnToolsVersion = 7.1.1; + }; }; }; buildConfigurationList = 05B5DE951B98509500F87BB3 /* Build configuration list for PBXProject "DGRunkeeperSwitchExample" */; @@ -123,6 +178,7 @@ projectRoot = ""; targets = ( 05B5DE991B98509500F87BB3 /* DGRunkeeperSwitchExample */, + 4508BA3B1C0CF52700BC38BE /* DGRunkeeperSwitch */, ); }; /* End PBXProject section */ @@ -138,6 +194,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4508BA3A1C0CF52700BC38BE /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -151,6 +214,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4508BA371C0CF52700BC38BE /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4508BA441C0CF59D00BC38BE /* DGRunkeeperSwitch.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXVariantGroup section */ @@ -280,6 +351,48 @@ }; name = Release; }; + 4508BA421C0CF52700BC38BE /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = DGRunkeeperSwitch/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.gatafan.DGRunkeeperSwitch; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 4508BA431C0CF52700BC38BE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = DGRunkeeperSwitch/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.gatafan.DGRunkeeperSwitch; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -301,6 +414,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 4508BA411C0CF52700BC38BE /* Build configuration list for PBXNativeTarget "DGRunkeeperSwitch" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4508BA421C0CF52700BC38BE /* Debug */, + 4508BA431C0CF52700BC38BE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 05B5DE921B98509500F87BB3 /* Project object */; diff --git a/DGRunkeeperSwitchExample.xcodeproj/xcshareddata/xcschemes/DGRunkeeperSwitch.xcscheme b/DGRunkeeperSwitchExample.xcodeproj/xcshareddata/xcschemes/DGRunkeeperSwitch.xcscheme new file mode 100644 index 0000000..1fc9481 --- /dev/null +++ b/DGRunkeeperSwitchExample.xcodeproj/xcshareddata/xcschemes/DGRunkeeperSwitch.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DGRunkeeperSwitchExample/Info.plist b/DGRunkeeperSwitchExample/Info.plist index 9f9e6e8..0948bfd 100644 --- a/DGRunkeeperSwitchExample/Info.plist +++ b/DGRunkeeperSwitchExample/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 1.1.2 CFBundleSignature ???? CFBundleVersion