Skip to content

Commit

Permalink
Merge pull request #14 from sprint84/master
Browse files Browse the repository at this point in the history
Carthage compatibility
  • Loading branch information
gontovnik committed Dec 2, 2015
2 parents 4da254a + 1be41fd commit d1af559
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 1 deletion.
19 changes: 19 additions & 0 deletions DGRunkeeperSwitch/DGRunkeeperSwitch.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// DGRunkeeperSwitch.h
// DGRunkeeperSwitch
//
// Created by Guilherme Moura on 11/30/15.
// Copyright © 2015 Danil Gontovnik. All rights reserved.
//

#import <UIKit/UIKit.h>

//! 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 <DGRunkeeperSwitch/PublicHeader.h>


26 changes: 26 additions & 0 deletions DGRunkeeperSwitch/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
122 changes: 122 additions & 0 deletions DGRunkeeperSwitchExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -24,6 +26,9 @@
05B5DEA71B98509500F87BB3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
05B5DEA91B98509500F87BB3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
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 = "<group>"; };
4508BA401C0CF52700BC38BE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -34,13 +39,21 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4508BA381C0CF52700BC38BE /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
05B5DE911B98509500F87BB3 = {
isa = PBXGroup;
children = (
05B5DE9C1B98509500F87BB3 /* DGRunkeeperSwitchExample */,
4508BA3D1C0CF52700BC38BE /* DGRunkeeperSwitch */,
05B5DE9B1B98509500F87BB3 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -49,6 +62,7 @@
isa = PBXGroup;
children = (
05B5DE9A1B98509500F87BB3 /* DGRunkeeperSwitchExample.app */,
4508BA3C1C0CF52700BC38BE /* DGRunkeeperSwitch.framework */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -75,8 +89,28 @@
name = DGRunkeeperSwitch;
sourceTree = "<group>";
};
4508BA3D1C0CF52700BC38BE /* DGRunkeeperSwitch */ = {
isa = PBXGroup;
children = (
4508BA3E1C0CF52700BC38BE /* DGRunkeeperSwitch.h */,
4508BA401C0CF52700BC38BE /* Info.plist */,
);
path = DGRunkeeperSwitch;
sourceTree = "<group>";
};
/* 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;
Expand All @@ -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 */
Expand All @@ -107,6 +159,9 @@
05B5DE991B98509500F87BB3 = {
CreatedOnToolsVersion = 7.0;
};
4508BA3B1C0CF52700BC38BE = {
CreatedOnToolsVersion = 7.1.1;
};
};
};
buildConfigurationList = 05B5DE951B98509500F87BB3 /* Build configuration list for PBXProject "DGRunkeeperSwitchExample" */;
Expand All @@ -123,6 +178,7 @@
projectRoot = "";
targets = (
05B5DE991B98509500F87BB3 /* DGRunkeeperSwitchExample */,
4508BA3B1C0CF52700BC38BE /* DGRunkeeperSwitch */,
);
};
/* End PBXProject section */
Expand All @@ -138,6 +194,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4508BA3A1C0CF52700BC38BE /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand All @@ -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 */
Expand Down Expand Up @@ -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 */
Expand All @@ -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 */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4508BA3B1C0CF52700BC38BE"
BuildableName = "DGRunkeeperSwitch.framework"
BlueprintName = "DGRunkeeperSwitch"
ReferencedContainer = "container:DGRunkeeperSwitchExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4508BA3B1C0CF52700BC38BE"
BuildableName = "DGRunkeeperSwitch.framework"
BlueprintName = "DGRunkeeperSwitch"
ReferencedContainer = "container:DGRunkeeperSwitchExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4508BA3B1C0CF52700BC38BE"
BuildableName = "DGRunkeeperSwitch.framework"
BlueprintName = "DGRunkeeperSwitch"
ReferencedContainer = "container:DGRunkeeperSwitchExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion DGRunkeeperSwitchExample/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>1.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit d1af559

Please sign in to comment.