Skip to content

Carthage fixes #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 147 additions & 0 deletions Example/BetterSegmentedControl.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
607FACEC1AFB9204008FA782 /* BetterSegmentedControlTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* BetterSegmentedControlTests.swift */; };
90FFFDFEEFCF420B32DC095F /* Pods_BetterSegmentedControl_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FAF265B133EF9D144E4D6FB /* Pods_BetterSegmentedControl_Tests.framework */; };
D36BA20F2BF5FBB03233C68B /* Pods_BetterSegmentedControl_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 61D9FAAAFFAE7994D65963C2 /* Pods_BetterSegmentedControl_Example.framework */; };
FB06F72426287F9C00158182 /* BetterSegmentedControl.h in Headers */ = {isa = PBXBuildFile; fileRef = FB06F72226287F9C00158182 /* BetterSegmentedControl.h */; settings = {ATTRIBUTES = (Public, ); }; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -53,6 +54,9 @@
E35EF8EE3A68B8AA955DE5DE /* Pods-BetterSegmentedControl_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetterSegmentedControl_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BetterSegmentedControl_Example/Pods-BetterSegmentedControl_Example.debug.xcconfig"; sourceTree = "<group>"; };
F6F6B8A01C1E078308A9EB93 /* Pods-BetterSegmentedControl_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BetterSegmentedControl_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-BetterSegmentedControl_Tests/Pods-BetterSegmentedControl_Tests.debug.xcconfig"; sourceTree = "<group>"; };
F8ECFF07790385FABB531EC7 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
FB06F72026287F9C00158182 /* BetterSegmentedControl.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = BetterSegmentedControl.framework; sourceTree = BUILT_PRODUCTS_DIR; };
FB06F72226287F9C00158182 /* BetterSegmentedControl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BetterSegmentedControl.h; sourceTree = "<group>"; };
FB06F72326287F9C00158182 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -72,6 +76,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
FB06F71D26287F9C00158182 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand Down Expand Up @@ -102,6 +113,7 @@
607FACF51AFB993E008FA782 /* Podspec Metadata */,
607FACD21AFB9204008FA782 /* Example for BetterSegmentedControl */,
607FACE81AFB9204008FA782 /* Tests */,
FB06F72126287F9C00158182 /* BetterSegmentedControl */,
607FACD11AFB9204008FA782 /* Products */,
2E0C0F03ED9410652539F30B /* Pods */,
D6EA7141AF371DB117A8E6FC /* Frameworks */,
Expand All @@ -113,6 +125,7 @@
children = (
607FACD01AFB9204008FA782 /* BetterSegmentedControl_Example.app */,
607FACE51AFB9204008FA782 /* BetterSegmentedControl_Tests.xctest */,
FB06F72026287F9C00158182 /* BetterSegmentedControl.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -176,8 +189,28 @@
name = Frameworks;
sourceTree = "<group>";
};
FB06F72126287F9C00158182 /* BetterSegmentedControl */ = {
isa = PBXGroup;
children = (
FB06F72226287F9C00158182 /* BetterSegmentedControl.h */,
FB06F72326287F9C00158182 /* Info.plist */,
);
path = BetterSegmentedControl;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
FB06F71B26287F9C00158182 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
FB06F72426287F9C00158182 /* BetterSegmentedControl.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
607FACCF1AFB9204008FA782 /* BetterSegmentedControl_Example */ = {
isa = PBXNativeTarget;
Expand Down Expand Up @@ -218,6 +251,24 @@
productReference = 607FACE51AFB9204008FA782 /* BetterSegmentedControl_Tests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
FB06F71F26287F9C00158182 /* BetterSegmentedControl */ = {
isa = PBXNativeTarget;
buildConfigurationList = FB06F72726287F9C00158182 /* Build configuration list for PBXNativeTarget "BetterSegmentedControl" */;
buildPhases = (
FB06F71B26287F9C00158182 /* Headers */,
FB06F71C26287F9C00158182 /* Sources */,
FB06F71D26287F9C00158182 /* Frameworks */,
FB06F71E26287F9C00158182 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = BetterSegmentedControl;
productName = BetterSegmentedControl;
productReference = FB06F72026287F9C00158182 /* BetterSegmentedControl.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -237,6 +288,11 @@
LastSwiftMigration = 1020;
TestTargetID = 607FACCF1AFB9204008FA782;
};
FB06F71F26287F9C00158182 = {
CreatedOnToolsVersion = 12.4;
DevelopmentTeam = N34AH7UQAR;
ProvisioningStyle = Automatic;
};
};
};
buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "BetterSegmentedControl" */;
Expand All @@ -255,6 +311,7 @@
targets = (
607FACCF1AFB9204008FA782 /* BetterSegmentedControl_Example */,
607FACE41AFB9204008FA782 /* BetterSegmentedControl_Tests */,
FB06F71F26287F9C00158182 /* BetterSegmentedControl */,
);
};
/* End PBXProject section */
Expand All @@ -278,6 +335,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
FB06F71E26287F9C00158182 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
Expand Down Expand Up @@ -383,6 +447,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
FB06F71C26287F9C00158182 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand Down Expand Up @@ -582,6 +653,73 @@
};
name = Release;
};
FB06F72526287F9C00158182 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = N34AH7UQAR;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = BetterSegmentedControl/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.4;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.BetterSegmentedControl;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
FB06F72626287F9C00158182 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = N34AH7UQAR;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = BetterSegmentedControl/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 14.4;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.BetterSegmentedControl;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -612,6 +750,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
FB06F72726287F9C00158182 /* Build configuration list for PBXNativeTarget "BetterSegmentedControl" */ = {
isa = XCConfigurationList;
buildConfigurations = (
FB06F72526287F9C00158182 /* Debug */,
FB06F72626287F9C00158182 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 607FACC81AFB9204008FA782 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FFA0A1DD066506A523D6C9452B9CD06B"
BlueprintIdentifier = "FB06F71F26287F9C00158182"
BuildableName = "BetterSegmentedControl.framework"
BlueprintName = "BetterSegmentedControl"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
ReferencedContainer = "container:BetterSegmentedControl.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand Down Expand Up @@ -47,6 +47,15 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FB06F71F26287F9C00158182"
BuildableName = "BetterSegmentedControl.framework"
BlueprintName = "BetterSegmentedControl"
ReferencedContainer = "container:BetterSegmentedControl.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1240"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
BuildableName = "BetterSegmentedControl_Example.app"
BlueprintName = "BetterSegmentedControl_Example"
ReferencedContainer = "container:BetterSegmentedControl.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACE41AFB9204008FA782"
BuildableName = "BetterSegmentedControl_Tests.xctest"
BlueprintName = "BetterSegmentedControl_Tests"
ReferencedContainer = "container:BetterSegmentedControl.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</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">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
BuildableName = "BetterSegmentedControl_Example.app"
BlueprintName = "BetterSegmentedControl_Example"
ReferencedContainer = "container:BetterSegmentedControl.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
BuildableName = "BetterSegmentedControl_Example.app"
BlueprintName = "BetterSegmentedControl_Example"
ReferencedContainer = "container:BetterSegmentedControl.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
19 changes: 19 additions & 0 deletions Example/BetterSegmentedControl/BetterSegmentedControl.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// BetterSegmentedControl.h
// BetterSegmentedControl
//
// Created by Daedren on 15/04/2021.
// Copyright © 2021 CocoaPods. All rights reserved.
//

#import <Foundation/Foundation.h>

//! Project version number for BetterSegmentedControl.
FOUNDATION_EXPORT double BetterSegmentedControlVersionNumber;

//! Project version string for BetterSegmentedControl.
FOUNDATION_EXPORT const unsigned char BetterSegmentedControlVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <BetterSegmentedControl/PublicHeader.h>


Loading