From d390c37359f4b3bda5d4f75836598545fd7ac36c Mon Sep 17 00:00:00 2001 From: Muukii Date: Thu, 1 Apr 2021 13:20:35 +0900 Subject: [PATCH 1/2] Add CocoaPods --- .../project.pbxproj | 415 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../contents.xcworkspacedata | 10 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../AppDelegate.swift | 36 ++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 98 +++++ .../Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 ++ .../Base.lproj/Main.storyboard | 24 + .../Info.plist | 66 +++ .../SceneDelegate.swift | 52 +++ .../ViewController.swift | 19 + BrightroomCocoaPodsInstallation/Podfile | 13 + BrightroomCocoaPodsInstallation/Podfile.lock | 39 ++ 16 files changed, 837 insertions(+) create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.pbxproj create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/contents.xcworkspacedata create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/AppDelegate.swift create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/Contents.json create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/LaunchScreen.storyboard create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/Main.storyboard create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Info.plist create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/SceneDelegate.swift create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/ViewController.swift create mode 100644 BrightroomCocoaPodsInstallation/Podfile create mode 100644 BrightroomCocoaPodsInstallation/Podfile.lock diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.pbxproj b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.pbxproj new file mode 100644 index 00000000..8627af61 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.pbxproj @@ -0,0 +1,415 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 41C7536A70F8C23051DAC08E /* Pods_BrightroomCocoaPodsInstallation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0273EAE663DE1322117B853C /* Pods_BrightroomCocoaPodsInstallation.framework */; }; + 4B9557BB261581130024E058 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B9557BA261581130024E058 /* AppDelegate.swift */; }; + 4B9557BD261581130024E058 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B9557BC261581130024E058 /* SceneDelegate.swift */; }; + 4B9557BF261581130024E058 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B9557BE261581130024E058 /* ViewController.swift */; }; + 4B9557C2261581130024E058 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B9557C0261581130024E058 /* Main.storyboard */; }; + 4B9557C4261581140024E058 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B9557C3261581140024E058 /* Assets.xcassets */; }; + 4B9557C7261581140024E058 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B9557C5261581140024E058 /* LaunchScreen.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 0273EAE663DE1322117B853C /* Pods_BrightroomCocoaPodsInstallation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_BrightroomCocoaPodsInstallation.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4B9557B7261581130024E058 /* BrightroomCocoaPodsInstallation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BrightroomCocoaPodsInstallation.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 4B9557BA261581130024E058 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 4B9557BC261581130024E058 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + 4B9557BE261581130024E058 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 4B9557C1261581130024E058 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 4B9557C3261581140024E058 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 4B9557C6261581140024E058 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 4B9557C8261581140024E058 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 91BE3BF2C0A85F5C4D58438A /* Pods-BrightroomCocoaPodsInstallation.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BrightroomCocoaPodsInstallation.debug.xcconfig"; path = "Target Support Files/Pods-BrightroomCocoaPodsInstallation/Pods-BrightroomCocoaPodsInstallation.debug.xcconfig"; sourceTree = ""; }; + B89ECF8565C7172DBAEC0EA8 /* Pods-BrightroomCocoaPodsInstallation.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-BrightroomCocoaPodsInstallation.release.xcconfig"; path = "Target Support Files/Pods-BrightroomCocoaPodsInstallation/Pods-BrightroomCocoaPodsInstallation.release.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4B9557B4261581130024E058 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 41C7536A70F8C23051DAC08E /* Pods_BrightroomCocoaPodsInstallation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 19978A034B6A9B67B1A7CF91 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 0273EAE663DE1322117B853C /* Pods_BrightroomCocoaPodsInstallation.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 4B9557AE261581130024E058 = { + isa = PBXGroup; + children = ( + 4B9557B9261581130024E058 /* BrightroomCocoaPodsInstallation */, + 4B9557B8261581130024E058 /* Products */, + 5157AFC99B3A64879FA2309B /* Pods */, + 19978A034B6A9B67B1A7CF91 /* Frameworks */, + ); + sourceTree = ""; + }; + 4B9557B8261581130024E058 /* Products */ = { + isa = PBXGroup; + children = ( + 4B9557B7261581130024E058 /* BrightroomCocoaPodsInstallation.app */, + ); + name = Products; + sourceTree = ""; + }; + 4B9557B9261581130024E058 /* BrightroomCocoaPodsInstallation */ = { + isa = PBXGroup; + children = ( + 4B9557BA261581130024E058 /* AppDelegate.swift */, + 4B9557BC261581130024E058 /* SceneDelegate.swift */, + 4B9557BE261581130024E058 /* ViewController.swift */, + 4B9557C0261581130024E058 /* Main.storyboard */, + 4B9557C3261581140024E058 /* Assets.xcassets */, + 4B9557C5261581140024E058 /* LaunchScreen.storyboard */, + 4B9557C8261581140024E058 /* Info.plist */, + ); + path = BrightroomCocoaPodsInstallation; + sourceTree = ""; + }; + 5157AFC99B3A64879FA2309B /* Pods */ = { + isa = PBXGroup; + children = ( + 91BE3BF2C0A85F5C4D58438A /* Pods-BrightroomCocoaPodsInstallation.debug.xcconfig */, + B89ECF8565C7172DBAEC0EA8 /* Pods-BrightroomCocoaPodsInstallation.release.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 4B9557B6261581130024E058 /* BrightroomCocoaPodsInstallation */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4B9557CB261581140024E058 /* Build configuration list for PBXNativeTarget "BrightroomCocoaPodsInstallation" */; + buildPhases = ( + 90FFB433E18267EB60EFD185 /* [CP] Check Pods Manifest.lock */, + 4B9557B3261581130024E058 /* Sources */, + 4B9557B4261581130024E058 /* Frameworks */, + 4B9557B5261581130024E058 /* Resources */, + 7E911FF9F5D88D183D794EC0 /* [CP] Embed Pods Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = BrightroomCocoaPodsInstallation; + productName = BrightroomCocoaPodsInstallation; + productReference = 4B9557B7261581130024E058 /* BrightroomCocoaPodsInstallation.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4B9557AF261581130024E058 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1240; + LastUpgradeCheck = 1240; + TargetAttributes = { + 4B9557B6261581130024E058 = { + CreatedOnToolsVersion = 12.4; + }; + }; + }; + buildConfigurationList = 4B9557B2261581130024E058 /* Build configuration list for PBXProject "BrightroomCocoaPodsInstallation" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 4B9557AE261581130024E058; + productRefGroup = 4B9557B8261581130024E058 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4B9557B6261581130024E058 /* BrightroomCocoaPodsInstallation */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 4B9557B5261581130024E058 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4B9557C7261581140024E058 /* LaunchScreen.storyboard in Resources */, + 4B9557C4261581140024E058 /* Assets.xcassets in Resources */, + 4B9557C2261581130024E058 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 7E911FF9F5D88D183D794EC0 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-BrightroomCocoaPodsInstallation/Pods-BrightroomCocoaPodsInstallation-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-BrightroomCocoaPodsInstallation/Pods-BrightroomCocoaPodsInstallation-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-BrightroomCocoaPodsInstallation/Pods-BrightroomCocoaPodsInstallation-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 90FFB433E18267EB60EFD185 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-BrightroomCocoaPodsInstallation-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 4B9557B3261581130024E058 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4B9557BF261581130024E058 /* ViewController.swift in Sources */, + 4B9557BB261581130024E058 /* AppDelegate.swift in Sources */, + 4B9557BD261581130024E058 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 4B9557C0261581130024E058 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 4B9557C1261581130024E058 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 4B9557C5261581140024E058 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 4B9557C6261581140024E058 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 4B9557C9261581140024E058 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 4B9557CA261581140024E058 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 4B9557CC261581140024E058 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 91BE3BF2C0A85F5C4D58438A /* Pods-BrightroomCocoaPodsInstallation.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = BrightroomCocoaPodsInstallation/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = app.muukii.BrightroomCocoaPodsInstallation; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 4B9557CD261581140024E058 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B89ECF8565C7172DBAEC0EA8 /* Pods-BrightroomCocoaPodsInstallation.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + INFOPLIST_FILE = BrightroomCocoaPodsInstallation/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = app.muukii.BrightroomCocoaPodsInstallation; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4B9557B2261581130024E058 /* Build configuration list for PBXProject "BrightroomCocoaPodsInstallation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4B9557C9261581140024E058 /* Debug */, + 4B9557CA261581140024E058 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4B9557CB261581140024E058 /* Build configuration list for PBXNativeTarget "BrightroomCocoaPodsInstallation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4B9557CC261581140024E058 /* Debug */, + 4B9557CD261581140024E058 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4B9557AF261581130024E058 /* Project object */; +} diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/contents.xcworkspacedata b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..e259bc1f --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/AppDelegate.swift b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/AppDelegate.swift new file mode 100644 index 00000000..bf3a9e3d --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// BrightroomCocoaPodsInstallation +// +// Created by Muukii on 2021/04/01. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + // MARK: UISceneSession Lifecycle + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + + func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + } + + +} + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AccentColor.colorset/Contents.json b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 00000000..eb878970 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AppIcon.appiconset/Contents.json b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..9221b9bb --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,98 @@ +{ + "images" : [ + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/Contents.json b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/LaunchScreen.storyboard b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..865e9329 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/Main.storyboard b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/Main.storyboard new file mode 100644 index 00000000..25a76385 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Info.plist b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Info.plist new file mode 100644 index 00000000..5b531f7b --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/Info.plist @@ -0,0 +1,66 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/SceneDelegate.swift b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/SceneDelegate.swift new file mode 100644 index 00000000..28f58c0b --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// BrightroomCocoaPodsInstallation +// +// Created by Muukii on 2021/04/01. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/ViewController.swift b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/ViewController.swift new file mode 100644 index 00000000..1a5107cf --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation/ViewController.swift @@ -0,0 +1,19 @@ +// +// ViewController.swift +// BrightroomCocoaPodsInstallation +// +// Created by Muukii on 2021/04/01. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} + diff --git a/BrightroomCocoaPodsInstallation/Podfile b/BrightroomCocoaPodsInstallation/Podfile new file mode 100644 index 00000000..ad1595d0 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/Podfile @@ -0,0 +1,13 @@ +# Uncomment the next line to define a global platform for your project +# platform :ios, '9.0' + +target 'BrightroomCocoaPodsInstallation' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + + pod "Brightroom/Engine", path: "../" + pod "Brightroom/UI-Classic", path: "../" + pod "Brightroom/UI-Crop", path: "../" + # Pods for BrightroomCocoaPodsInstallation + +end diff --git a/BrightroomCocoaPodsInstallation/Podfile.lock b/BrightroomCocoaPodsInstallation/Podfile.lock new file mode 100644 index 00000000..bd98cd2f --- /dev/null +++ b/BrightroomCocoaPodsInstallation/Podfile.lock @@ -0,0 +1,39 @@ +PODS: + - Brightroom/Engine (2.0.0-alpha.3): + - Verge (~> 8.9.1) + - Brightroom/UI-Classic (2.0.0-alpha.3): + - Brightroom/Engine + - TransitionPatch + - Verge (~> 8.9.1) + - Brightroom/UI-Crop (2.0.0-alpha.3): + - Brightroom/Engine + - Verge (~> 8.9.1) + - TransitionPatch (1.0.2) + - Verge (8.9.1): + - Verge/Store (= 8.9.1) + - Verge/ObjcBridge (8.9.1) + - Verge/Store (8.9.1): + - Verge/ObjcBridge + +DEPENDENCIES: + - Brightroom/Engine (from `../`) + - Brightroom/UI-Classic (from `../`) + - Brightroom/UI-Crop (from `../`) + +SPEC REPOS: + trunk: + - TransitionPatch + - Verge + +EXTERNAL SOURCES: + Brightroom: + :path: "../" + +SPEC CHECKSUMS: + Brightroom: 41461e74288960572bd94566f60014db8d75eb6e + TransitionPatch: c02b48b1429255b14ef82b7e411034e0958b9681 + Verge: ff2be8ea208d5f6fb9b8921c03b122307a040a49 + +PODFILE CHECKSUM: ac26c712220b3a3a1c817ee43e01e2173aae8796 + +COCOAPODS: 1.10.1 From 1cdb594d7cddf71303e9e0420598f8bed7818a40 Mon Sep 17 00:00:00 2001 From: Muukii Date: Fri, 2 Apr 2021 01:02:31 +0900 Subject: [PATCH 2/2] Fix using CocoaPods fails compile --- .../BrightroomCocoaPodsInstallation.xcscheme | 78 +++++++++++++++++++ .../BrightroomEngine/Core/EditingStack.swift | 6 +- 2 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/xcshareddata/xcschemes/BrightroomCocoaPodsInstallation.xcscheme diff --git a/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/xcshareddata/xcschemes/BrightroomCocoaPodsInstallation.xcscheme b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/xcshareddata/xcschemes/BrightroomCocoaPodsInstallation.xcscheme new file mode 100644 index 00000000..20ff45a9 --- /dev/null +++ b/BrightroomCocoaPodsInstallation/BrightroomCocoaPodsInstallation.xcodeproj/xcshareddata/xcschemes/BrightroomCocoaPodsInstallation.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sources/BrightroomEngine/Core/EditingStack.swift b/Sources/BrightroomEngine/Core/EditingStack.swift index c46af485..2dd303b3 100644 --- a/Sources/BrightroomEngine/Core/EditingStack.swift +++ b/Sources/BrightroomEngine/Core/EditingStack.swift @@ -73,7 +73,11 @@ open class EditingStack: Equatable, StoreComponentType { public let metadata: ImageProvider.State.ImageMetadata private let initialEditing: Edit - public fileprivate(set) var currentEdit: Edit { + /** + + - TODO: Should be marked as `fileprivate(set)`, but compile fails in CocoaPods installed. + */ + public var currentEdit: Edit { didSet { editingPreviewImage = currentEdit.filters.apply(to: editingSourceImage) }