From 1a35083a0aaba09ab4f3ec31601a0a1ffad094e3 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 23 Sep 2019 11:44:41 -0400 Subject: [PATCH] Add Framework --- Sheet.xcodeproj/project.pbxproj | 209 ++++++++++++++++++++++++++++++-- Sheet/Info.plist | 25 +--- Sheet/Sheet.h | 19 +++ 3 files changed, 217 insertions(+), 36 deletions(-) create mode 100644 Sheet/Sheet.h diff --git a/Sheet.xcodeproj/project.pbxproj b/Sheet.xcodeproj/project.pbxproj index 9208b84..7b92c65 100644 --- a/Sheet.xcodeproj/project.pbxproj +++ b/Sheet.xcodeproj/project.pbxproj @@ -7,6 +7,14 @@ objects = { /* Begin PBXBuildFile section */ + D679709B23391FD200B1EC82 /* Sheet.h in Headers */ = {isa = PBXBuildFile; fileRef = D679709923391FD200B1EC82 /* Sheet.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D679709E23391FD200B1EC82 /* Sheet.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D679709723391FD200B1EC82 /* Sheet.framework */; }; + D679709F23391FD200B1EC82 /* Sheet.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = D679709723391FD200B1EC82 /* Sheet.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + D67970A423391FDA00B1EC82 /* FluidTimingCurve.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E77B2316CAEE00251A21 /* FluidTimingCurve.swift */; }; + D67970A523391FDA00B1EC82 /* SheetViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E76E2316CAA300251A21 /* SheetViewController.swift */; }; + D67970A623391FDA00B1EC82 /* SheetPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E7702316CAA300251A21 /* SheetPresenter.swift */; }; + D67970A723391FDA00B1EC82 /* SheetPresentationWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E7712316CAA300251A21 /* SheetPresentationWindow.swift */; }; + D67970A823391FDA00B1EC82 /* SheetContainerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E7722316CAA300251A21 /* SheetContainerViewController.swift */; }; DDF6E75A2316CA9000251A21 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E7592316CA9000251A21 /* AppDelegate.swift */; }; DDF6E75C2316CA9000251A21 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E75B2316CA9000251A21 /* ViewController.swift */; }; DDF6E75F2316CA9000251A21 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DDF6E75D2316CA9000251A21 /* Main.storyboard */; }; @@ -19,8 +27,35 @@ DDF6E77F2316CAEE00251A21 /* FluidTimingCurve.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF6E77B2316CAEE00251A21 /* FluidTimingCurve.swift */; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + D679709C23391FD200B1EC82 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DDF6E74E2316CA8F00251A21 /* Project object */; + proxyType = 1; + remoteGlobalIDString = D679709623391FD200B1EC82; + remoteInfo = Sheet; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + D67970A023391FD200B1EC82 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + D679709F23391FD200B1EC82 /* Sheet.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ - DDF6E7562316CA9000251A21 /* Sheet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sheet.app; sourceTree = BUILT_PRODUCTS_DIR; }; + D679709723391FD200B1EC82 /* Sheet.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Sheet.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D679709923391FD200B1EC82 /* Sheet.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Sheet.h; sourceTree = ""; }; + D679709A23391FD200B1EC82 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + DDF6E7562316CA9000251A21 /* SheetTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SheetTest.app; sourceTree = BUILT_PRODUCTS_DIR; }; DDF6E7592316CA9000251A21 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; DDF6E75B2316CA9000251A21 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; DDF6E75E2316CA9000251A21 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; @@ -35,20 +70,38 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - DDF6E7532316CA9000251A21 /* Frameworks */ = { + D679709423391FD200B1EC82 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; + DDF6E7532316CA9000251A21 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + D679709E23391FD200B1EC82 /* Sheet.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + D679709823391FD200B1EC82 /* Sheet */ = { + isa = PBXGroup; + children = ( + D679709923391FD200B1EC82 /* Sheet.h */, + D679709A23391FD200B1EC82 /* Info.plist */, + ); + path = Sheet; + sourceTree = ""; + }; DDF6E74D2316CA8F00251A21 = { isa = PBXGroup; children = ( DDF6E7582316CA9000251A21 /* Sheet */, + D679709823391FD200B1EC82 /* Sheet */, DDF6E7572316CA9000251A21 /* Products */, ); sourceTree = ""; @@ -56,7 +109,8 @@ DDF6E7572316CA9000251A21 /* Products */ = { isa = PBXGroup; children = ( - DDF6E7562316CA9000251A21 /* Sheet.app */, + DDF6E7562316CA9000251A21 /* SheetTest.app */, + D679709723391FD200B1EC82 /* Sheet.framework */, ); name = Products; sourceTree = ""; @@ -113,14 +167,26 @@ }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + D679709223391FD200B1EC82 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + D679709B23391FD200B1EC82 /* Sheet.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ - DDF6E7552316CA9000251A21 /* Sheet */ = { + D679709623391FD200B1EC82 /* Sheet */ = { isa = PBXNativeTarget; - buildConfigurationList = DDF6E7682316CA9100251A21 /* Build configuration list for PBXNativeTarget "Sheet" */; + buildConfigurationList = D67970A323391FD200B1EC82 /* Build configuration list for PBXNativeTarget "Sheet" */; buildPhases = ( - DDF6E7522316CA9000251A21 /* Sources */, - DDF6E7532316CA9000251A21 /* Frameworks */, - DDF6E7542316CA9000251A21 /* Resources */, + D679709223391FD200B1EC82 /* Headers */, + D679709323391FD200B1EC82 /* Sources */, + D679709423391FD200B1EC82 /* Frameworks */, + D679709523391FD200B1EC82 /* Resources */, ); buildRules = ( ); @@ -128,7 +194,26 @@ ); name = Sheet; productName = Sheet; - productReference = DDF6E7562316CA9000251A21 /* Sheet.app */; + productReference = D679709723391FD200B1EC82 /* Sheet.framework */; + productType = "com.apple.product-type.framework"; + }; + DDF6E7552316CA9000251A21 /* SheetTest */ = { + isa = PBXNativeTarget; + buildConfigurationList = DDF6E7682316CA9100251A21 /* Build configuration list for PBXNativeTarget "SheetTest" */; + buildPhases = ( + DDF6E7522316CA9000251A21 /* Sources */, + DDF6E7532316CA9000251A21 /* Frameworks */, + DDF6E7542316CA9000251A21 /* Resources */, + D67970A023391FD200B1EC82 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + D679709D23391FD200B1EC82 /* PBXTargetDependency */, + ); + name = SheetTest; + productName = Sheet; + productReference = DDF6E7562316CA9000251A21 /* SheetTest.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -141,6 +226,9 @@ LastUpgradeCheck = 1030; ORGANIZATIONNAME = "Guilherme Rambo"; TargetAttributes = { + D679709623391FD200B1EC82 = { + CreatedOnToolsVersion = 11.0; + }; DDF6E7552316CA9000251A21 = { CreatedOnToolsVersion = 10.3; }; @@ -159,12 +247,20 @@ projectDirPath = ""; projectRoot = ""; targets = ( - DDF6E7552316CA9000251A21 /* Sheet */, + DDF6E7552316CA9000251A21 /* SheetTest */, + D679709623391FD200B1EC82 /* Sheet */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + D679709523391FD200B1EC82 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; DDF6E7542316CA9000251A21 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -178,6 +274,18 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + D679709323391FD200B1EC82 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D67970A823391FDA00B1EC82 /* SheetContainerViewController.swift in Sources */, + D67970A523391FDA00B1EC82 /* SheetViewController.swift in Sources */, + D67970A723391FDA00B1EC82 /* SheetPresentationWindow.swift in Sources */, + D67970A423391FDA00B1EC82 /* FluidTimingCurve.swift in Sources */, + D67970A623391FDA00B1EC82 /* SheetPresenter.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; DDF6E7522316CA9000251A21 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -194,6 +302,14 @@ }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + D679709D23391FD200B1EC82 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = D679709623391FD200B1EC82 /* Sheet */; + targetProxy = D679709C23391FD200B1EC82 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + /* Begin PBXVariantGroup section */ DDF6E75D2316CA9000251A21 /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -214,6 +330,62 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + D67970A123391FD200B1EC82 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = 6ABEVHK7CE; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Sheet/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = codes.rambo.Sheet; + 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 = Debug; + }; + D67970A223391FD200B1EC82 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = 6ABEVHK7CE; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Sheet/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = codes.rambo.Sheet; + 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; + }; DDF6E7662316CA9100251A21 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -333,6 +505,7 @@ DDF6E7692316CA9100251A21 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 6ABEVHK7CE; @@ -342,7 +515,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = codes.rambo.Sheet; + PRODUCT_BUNDLE_IDENTIFIER = codes.rambo.SheetTest; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -352,6 +525,7 @@ DDF6E76A2316CA9100251A21 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 6ABEVHK7CE; @@ -361,7 +535,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = codes.rambo.Sheet; + PRODUCT_BUNDLE_IDENTIFIER = codes.rambo.SheetTest; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -371,6 +545,15 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + D67970A323391FD200B1EC82 /* Build configuration list for PBXNativeTarget "Sheet" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D67970A123391FD200B1EC82 /* Debug */, + D67970A223391FD200B1EC82 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; DDF6E7512316CA8F00251A21 /* Build configuration list for PBXProject "Sheet" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -380,7 +563,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - DDF6E7682316CA9100251A21 /* Build configuration list for PBXNativeTarget "Sheet" */ = { + DDF6E7682316CA9100251A21 /* Build configuration list for PBXNativeTarget "SheetTest" */ = { isa = XCConfigurationList; buildConfigurations = ( DDF6E7692316CA9100251A21 /* Debug */, diff --git a/Sheet/Info.plist b/Sheet/Info.plist index 89d7858..9bcb244 100644 --- a/Sheet/Info.plist +++ b/Sheet/Info.plist @@ -13,31 +13,10 @@ CFBundleName $(PRODUCT_NAME) CFBundlePackageType - APPL + $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString 1.0 CFBundleVersion - 1 - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - + $(CURRENT_PROJECT_VERSION) diff --git a/Sheet/Sheet.h b/Sheet/Sheet.h new file mode 100644 index 0000000..0baa5bd --- /dev/null +++ b/Sheet/Sheet.h @@ -0,0 +1,19 @@ +// +// Sheet.h +// Sheet +// +// Created by Shadowfacts on 9/23/19. +// Copyright © 2019 Guilherme Rambo. All rights reserved. +// + +#import + +//! Project version number for Sheet. +FOUNDATION_EXPORT double SheetVersionNumber; + +//! Project version string for Sheet. +FOUNDATION_EXPORT const unsigned char SheetVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +