From 59ee6e2d03cc286af35641f222a8ee66e90e79b2 Mon Sep 17 00:00:00 2001 From: Arthur Ariel Sabintsev Date: Wed, 11 Oct 2017 20:04:21 -0400 Subject: [PATCH] Added iOS 10+ compatible openURL method. Also, fixed Carthage support by adding dynamic framework --- Harpy/Harpy.h | 6 +- Harpy/Harpy.m | 6 +- HarpyExample/Harpy/Harpy.h | 19 ++ HarpyExample/Harpy/Info.plist | 24 +++ .../HarpyExample.xcodeproj/project.pbxproj | 203 ++++++++++++++++-- .../xcschemes/HarpyExample.xcscheme | 4 +- .../HarpyExample/Base.lproj/Main.storyboard | 17 +- 7 files changed, 250 insertions(+), 29 deletions(-) create mode 100644 HarpyExample/Harpy/Harpy.h create mode 100644 HarpyExample/Harpy/Info.plist diff --git a/Harpy/Harpy.h b/Harpy/Harpy.h index 0c0bbb8..77a9aa4 100755 --- a/Harpy/Harpy.h +++ b/Harpy/Harpy.h @@ -192,7 +192,7 @@ typedef NS_ENUM(NSUInteger, HarpyAlertType) It will specifically be used to test the string localizations. - @param stringKey: The string that should be looked up and localized. + @param stringKey The string that should be looked up and localized. @return The localized string. */ @@ -204,7 +204,7 @@ typedef NS_ENUM(NSUInteger, HarpyAlertType) It will specifically be used to temporarily set the installed version of the app. - @param version: The temporary version that should be set for the app. + @param version The temporary version that should be set for the app. */ @@ -216,7 +216,7 @@ typedef NS_ENUM(NSUInteger, HarpyAlertType) It will specifically be used to temporarily set the app store version of the app. - @param version: The temporary version that should be set for the app. + @param version The temporary version that should be set for the app. */ diff --git a/Harpy/Harpy.m b/Harpy/Harpy.m index b23f12b..57416ca 100755 --- a/Harpy/Harpy.m +++ b/Harpy/Harpy.m @@ -302,7 +302,11 @@ - (void)launchAppStore { NSURL *iTunesURL = [NSURL URLWithString:iTunesString]; dispatch_async(dispatch_get_main_queue(), ^{ - [[UIApplication sharedApplication] openURL:iTunesURL]; + if (@available(iOS 10.0, *)) { + [[UIApplication sharedApplication] openURL:iTunesURL options:@{} completionHandler:nil]; + } else { + [[UIApplication sharedApplication] openURL:iTunesURL]; + } if ([self.delegate respondsToSelector:@selector(harpyUserDidLaunchAppStore)]){ [self.delegate harpyUserDidLaunchAppStore]; diff --git a/HarpyExample/Harpy/Harpy.h b/HarpyExample/Harpy/Harpy.h new file mode 100644 index 0000000..c59fc40 --- /dev/null +++ b/HarpyExample/Harpy/Harpy.h @@ -0,0 +1,19 @@ +// +// Harpy.h +// Harpy +// +// Created by Arthur Sabintsev on 10/11/17. +// Copyright © 2017 Arthur Ariel Sabintsev. All rights reserved. +// + +#import + +//! Project version number for Harpy. +FOUNDATION_EXPORT double HarpyVersionNumber; + +//! Project version string for Harpy. +FOUNDATION_EXPORT const unsigned char HarpyVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/HarpyExample/Harpy/Info.plist b/HarpyExample/Harpy/Info.plist new file mode 100644 index 0000000..1007fd9 --- /dev/null +++ b/HarpyExample/Harpy/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/HarpyExample/HarpyExample.xcodeproj/project.pbxproj b/HarpyExample/HarpyExample.xcodeproj/project.pbxproj index facc97b..0c8885e 100644 --- a/HarpyExample/HarpyExample.xcodeproj/project.pbxproj +++ b/HarpyExample/HarpyExample.xcodeproj/project.pbxproj @@ -12,8 +12,12 @@ 55B03A8C1E6A7A7F00BE8DAC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 55B03A8A1E6A7A7F00BE8DAC /* main.m */; }; 55B03A911E6A7A8500BE8DAC /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 55B03A8D1E6A7A8500BE8DAC /* LaunchScreen.storyboard */; }; 55B03A921E6A7A8500BE8DAC /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 55B03A8F1E6A7A8500BE8DAC /* Main.storyboard */; }; - 55B03A951E6A7AD400BE8DAC /* HarpyTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 55B03A931E6A7AD400BE8DAC /* HarpyTests.m */; }; - 8E78694D1E98B842001B4BBB /* Harpy.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 8E78694A1E98B842001B4BBB /* Harpy.bundle */; }; + 8E2206551F8EE724003FB62C /* Harpy.h in Headers */ = {isa = PBXBuildFile; fileRef = 8E2206531F8EE724003FB62C /* Harpy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8E2206581F8EE724003FB62C /* Harpy.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8E2206511F8EE724003FB62C /* Harpy.framework */; }; + 8E2206591F8EE724003FB62C /* Harpy.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 8E2206511F8EE724003FB62C /* Harpy.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 8E22065D1F8EE730003FB62C /* Harpy.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 8E78694A1E98B842001B4BBB /* Harpy.bundle */; }; + 8E22065E1F8EE732003FB62C /* Harpy.h in Headers */ = {isa = PBXBuildFile; fileRef = 8E78694B1E98B842001B4BBB /* Harpy.h */; }; + 8E22065F1F8EE735003FB62C /* Harpy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E78694C1E98B842001B4BBB /* Harpy.m */; }; 8E78694E1E98B842001B4BBB /* Harpy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8E78694C1E98B842001B4BBB /* Harpy.m */; }; /* End PBXBuildFile section */ @@ -25,6 +29,13 @@ remoteGlobalIDString = 55CF3A221BC212E30023B63D; remoteInfo = "Sample Project"; }; + 8E2206561F8EE724003FB62C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 55CF3A1B1BC212E30023B63D /* Project object */; + proxyType = 1; + remoteGlobalIDString = 8E2206501F8EE724003FB62C; + remoteInfo = Harpy; + }; /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -34,6 +45,7 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 8E2206591F8EE724003FB62C /* Harpy.framework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -49,13 +61,15 @@ 55B03A8A1E6A7A7F00BE8DAC /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = HarpyExample/main.m; sourceTree = SOURCE_ROOT; }; 55B03A8E1E6A7A8500BE8DAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = HarpyExample/Base.lproj/LaunchScreen.storyboard; sourceTree = SOURCE_ROOT; }; 55B03A901E6A7A8500BE8DAC /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = HarpyExample/Base.lproj/Main.storyboard; sourceTree = SOURCE_ROOT; }; - 55B03A931E6A7AD400BE8DAC /* HarpyTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = HarpyTests.m; path = HarpyExampleTests/HarpyTests.m; sourceTree = SOURCE_ROOT; }; - 55B03A941E6A7AD400BE8DAC /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = HarpyExampleTests/Info.plist; sourceTree = SOURCE_ROOT; }; 55B79D921D36EC23001197C0 /* HarpyExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HarpyExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 55CF3A231BC212E30023B63D /* HarpyExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HarpyExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 8E2206511F8EE724003FB62C /* Harpy.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Harpy.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 8E2206531F8EE724003FB62C /* Harpy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Harpy.h; sourceTree = ""; }; + 8E2206541F8EE724003FB62C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 8E78694A1E98B842001B4BBB /* Harpy.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = Harpy.bundle; sourceTree = ""; }; 8E78694B1E98B842001B4BBB /* Harpy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Harpy.h; sourceTree = ""; }; 8E78694C1E98B842001B4BBB /* Harpy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Harpy.m; sourceTree = ""; }; + 8EC33AA01F7ED63600CD70CA /* HarpyExampleTests */ = {isa = PBXFileReference; lastKnownFileType = folder; path = HarpyExampleTests; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -67,6 +81,14 @@ runOnlyForDeploymentPostprocessing = 0; }; 55CF3A201BC212E30023B63D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 8E2206581F8EE724003FB62C /* Harpy.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8E22064D1F8EE724003FB62C /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( @@ -76,22 +98,13 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 55B79D9D1D372AD7001197C0 /* HarpyExampleTests */ = { - isa = PBXGroup; - children = ( - 55B03A931E6A7AD400BE8DAC /* HarpyTests.m */, - 55B03A941E6A7AD400BE8DAC /* Info.plist */, - ); - name = HarpyExampleTests; - path = HarpyTests; - sourceTree = ""; - }; 55CF3A1A1BC212E30023B63D = { isa = PBXGroup; children = ( 8E7869491E98B842001B4BBB /* Harpy */, 55CF3A251BC212E30023B63D /* HarpyExample */, - 55B79D9D1D372AD7001197C0 /* HarpyExampleTests */, + 8EC33AA01F7ED63600CD70CA /* HarpyExampleTests */, + 8E2206521F8EE724003FB62C /* Harpy */, 55CF3A241BC212E30023B63D /* Products */, ); sourceTree = ""; @@ -101,6 +114,7 @@ children = ( 55CF3A231BC212E30023B63D /* HarpyExample.app */, 55B79D921D36EC23001197C0 /* HarpyExampleTests.xctest */, + 8E2206511F8EE724003FB62C /* Harpy.framework */, ); name = Products; sourceTree = ""; @@ -129,6 +143,15 @@ name = "Supporting Files"; sourceTree = ""; }; + 8E2206521F8EE724003FB62C /* Harpy */ = { + isa = PBXGroup; + children = ( + 8E2206531F8EE724003FB62C /* Harpy.h */, + 8E2206541F8EE724003FB62C /* Info.plist */, + ); + path = Harpy; + sourceTree = ""; + }; 8E7869491E98B842001B4BBB /* Harpy */ = { isa = PBXGroup; children = ( @@ -142,6 +165,18 @@ }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 8E22064E1F8EE724003FB62C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 8E2206551F8EE724003FB62C /* Harpy.h in Headers */, + 8E22065E1F8EE732003FB62C /* Harpy.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ 55B79D911D36EC23001197C0 /* HarpyExampleTests */ = { isa = PBXNativeTarget; @@ -173,12 +208,31 @@ buildRules = ( ); dependencies = ( + 8E2206571F8EE724003FB62C /* PBXTargetDependency */, ); name = HarpyExample; productName = "Sampe Project"; productReference = 55CF3A231BC212E30023B63D /* HarpyExample.app */; productType = "com.apple.product-type.application"; }; + 8E2206501F8EE724003FB62C /* Harpy */ = { + isa = PBXNativeTarget; + buildConfigurationList = 8E22065C1F8EE724003FB62C /* Build configuration list for PBXNativeTarget "Harpy" */; + buildPhases = ( + 8E22064C1F8EE724003FB62C /* Sources */, + 8E22064D1F8EE724003FB62C /* Frameworks */, + 8E22064E1F8EE724003FB62C /* Headers */, + 8E22064F1F8EE724003FB62C /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Harpy; + productName = Harpy; + productReference = 8E2206511F8EE724003FB62C /* Harpy.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -186,7 +240,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 0810; + LastUpgradeCheck = 0900; ORGANIZATIONNAME = "Arthur Ariel Sabintsev"; TargetAttributes = { 55B79D911D36EC23001197C0 = { @@ -198,6 +252,11 @@ CreatedOnToolsVersion = 7.0.1; DevelopmentTeam = HT94948NDD; }; + 8E2206501F8EE724003FB62C = { + CreatedOnToolsVersion = 9.0; + DevelopmentTeam = HT94948NDD; + ProvisioningStyle = Automatic; + }; }; }; buildConfigurationList = 55CF3A1E1BC212E30023B63D /* Build configuration list for PBXProject "HarpyExample" */; @@ -215,6 +274,7 @@ targets = ( 55CF3A221BC212E30023B63D /* HarpyExample */, 55B79D911D36EC23001197C0 /* HarpyExampleTests */, + 8E2206501F8EE724003FB62C /* Harpy */, ); }; /* End PBXProject section */ @@ -232,11 +292,18 @@ buildActionMask = 2147483647; files = ( 55B03A911E6A7A8500BE8DAC /* LaunchScreen.storyboard in Resources */, - 8E78694D1E98B842001B4BBB /* Harpy.bundle in Resources */, 55B03A921E6A7A8500BE8DAC /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; + 8E22064F1F8EE724003FB62C /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8E22065D1F8EE730003FB62C /* Harpy.bundle in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -244,7 +311,6 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 55B03A951E6A7AD400BE8DAC /* HarpyTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -259,6 +325,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 8E22064C1F8EE724003FB62C /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8E22065F1F8EE735003FB62C /* Harpy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -267,6 +341,11 @@ target = 55CF3A221BC212E30023B63D /* HarpyExample */; targetProxy = 55B79D971D36EC23001197C0 /* PBXContainerItemProxy */; }; + 8E2206571F8EE724003FB62C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 8E2206501F8EE724003FB62C /* Harpy */; + targetProxy = 8E2206561F8EE724003FB62C /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -327,14 +406,20 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 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_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -372,14 +457,20 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 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_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -407,6 +498,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; DEVELOPMENT_TEAM = HT94948NDD; INFOPLIST_FILE = "$(SRCROOT)/HarpyExample/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; @@ -420,6 +512,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_IDENTITY = "iPhone Developer"; DEVELOPMENT_TEAM = HT94948NDD; INFOPLIST_FILE = "$(SRCROOT)/HarpyExample/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; @@ -429,6 +522,71 @@ }; name = Release; }; + 8E22065A1F8EE724003FB62C /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = HT94948NDD; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = Harpy/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.sabintsev.Harpy; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 8E22065B1F8EE724003FB62C /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = HT94948NDD; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = Harpy/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.sabintsev.Harpy; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -459,6 +617,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 8E22065C1F8EE724003FB62C /* Build configuration list for PBXNativeTarget "Harpy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8E22065A1F8EE724003FB62C /* Debug */, + 8E22065B1F8EE724003FB62C /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 55CF3A1B1BC212E30023B63D /* Project object */; diff --git a/HarpyExample/HarpyExample.xcodeproj/xcshareddata/xcschemes/HarpyExample.xcscheme b/HarpyExample/HarpyExample.xcodeproj/xcshareddata/xcschemes/HarpyExample.xcscheme index bfee4d0..aced9f5 100644 --- a/HarpyExample/HarpyExample.xcodeproj/xcshareddata/xcschemes/HarpyExample.xcscheme +++ b/HarpyExample/HarpyExample.xcodeproj/xcshareddata/xcschemes/HarpyExample.xcscheme @@ -1,6 +1,6 @@ - + + + + + - + + + - + - + - +