From 0e4177d92ffe9c7fd518fa1caf44c2b385c6a0d5 Mon Sep 17 00:00:00 2001 From: Daedren <6081828+Daedren@users.noreply.github.com> Date: Thu, 15 Apr 2021 15:07:30 +0100 Subject: [PATCH] Scheme no longer looking at Pods' framework --- .../project.pbxproj | 147 ++++++++++++++++++ .../xcschemes/BetterSegmentedControl.xcscheme | 13 +- .../BetterSegmentedControl_Example.xcscheme | 88 +++++++++++ .../BetterSegmentedControl.h | 19 +++ Example/BetterSegmentedControl/Info.plist | 23 +-- 5 files changed, 268 insertions(+), 22 deletions(-) create mode 100644 Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl_Example.xcscheme create mode 100644 Example/BetterSegmentedControl/BetterSegmentedControl.h diff --git a/Example/BetterSegmentedControl.xcodeproj/project.pbxproj b/Example/BetterSegmentedControl.xcodeproj/project.pbxproj index 16362f8..3d0f70a 100644 --- a/Example/BetterSegmentedControl.xcodeproj/project.pbxproj +++ b/Example/BetterSegmentedControl.xcodeproj/project.pbxproj @@ -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 */ @@ -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 = ""; }; 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 = ""; }; F8ECFF07790385FABB531EC7 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 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 = ""; }; + FB06F72326287F9C00158182 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -72,6 +76,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FB06F71D26287F9C00158182 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -102,6 +113,7 @@ 607FACF51AFB993E008FA782 /* Podspec Metadata */, 607FACD21AFB9204008FA782 /* Example for BetterSegmentedControl */, 607FACE81AFB9204008FA782 /* Tests */, + FB06F72126287F9C00158182 /* BetterSegmentedControl */, 607FACD11AFB9204008FA782 /* Products */, 2E0C0F03ED9410652539F30B /* Pods */, D6EA7141AF371DB117A8E6FC /* Frameworks */, @@ -113,6 +125,7 @@ children = ( 607FACD01AFB9204008FA782 /* BetterSegmentedControl_Example.app */, 607FACE51AFB9204008FA782 /* BetterSegmentedControl_Tests.xctest */, + FB06F72026287F9C00158182 /* BetterSegmentedControl.framework */, ); name = Products; sourceTree = ""; @@ -176,8 +189,28 @@ name = Frameworks; sourceTree = ""; }; + FB06F72126287F9C00158182 /* BetterSegmentedControl */ = { + isa = PBXGroup; + children = ( + FB06F72226287F9C00158182 /* BetterSegmentedControl.h */, + FB06F72326287F9C00158182 /* Info.plist */, + ); + path = BetterSegmentedControl; + sourceTree = ""; + }; /* 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; @@ -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 */ @@ -237,6 +288,11 @@ LastSwiftMigration = 1020; TestTargetID = 607FACCF1AFB9204008FA782; }; + FB06F71F26287F9C00158182 = { + CreatedOnToolsVersion = 12.4; + DevelopmentTeam = N34AH7UQAR; + ProvisioningStyle = Automatic; + }; }; }; buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "BetterSegmentedControl" */; @@ -255,6 +311,7 @@ targets = ( 607FACCF1AFB9204008FA782 /* BetterSegmentedControl_Example */, 607FACE41AFB9204008FA782 /* BetterSegmentedControl_Tests */, + FB06F71F26287F9C00158182 /* BetterSegmentedControl */, ); }; /* End PBXProject section */ @@ -278,6 +335,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FB06F71E26287F9C00158182 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ @@ -383,6 +447,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FB06F71C26287F9C00158182 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -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 */ @@ -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 */; diff --git a/Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl.xcscheme b/Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl.xcscheme index 66f9a3d..6d82818 100644 --- a/Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl.xcscheme +++ b/Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl.xcscheme @@ -14,10 +14,10 @@ buildForAnalyzing = "YES"> + ReferencedContainer = "container:BetterSegmentedControl.xcodeproj"> @@ -47,6 +47,15 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> + + + + diff --git a/Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl_Example.xcscheme b/Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl_Example.xcscheme new file mode 100644 index 0000000..f3c294b --- /dev/null +++ b/Example/BetterSegmentedControl.xcodeproj/xcshareddata/xcschemes/BetterSegmentedControl_Example.xcscheme @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/BetterSegmentedControl/BetterSegmentedControl.h b/Example/BetterSegmentedControl/BetterSegmentedControl.h new file mode 100644 index 0000000..dfa6936 --- /dev/null +++ b/Example/BetterSegmentedControl/BetterSegmentedControl.h @@ -0,0 +1,19 @@ +// +// BetterSegmentedControl.h +// BetterSegmentedControl +// +// Created by Daedren on 15/04/2021. +// Copyright © 2021 CocoaPods. All rights reserved. +// + +#import + +//! 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 + + diff --git a/Example/BetterSegmentedControl/Info.plist b/Example/BetterSegmentedControl/Info.plist index eb18faa..9bcb244 100644 --- a/Example/BetterSegmentedControl/Info.plist +++ b/Example/BetterSegmentedControl/Info.plist @@ -3,7 +3,7 @@ CFBundleDevelopmentRegion - en + $(DEVELOPMENT_LANGUAGE) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier @@ -13,27 +13,10 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - APPL + $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString 1.0 - CFBundleSignature - ???? CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - + $(CURRENT_PROJECT_VERSION)