From 51274dc95056a58dc68ca978dc42d986f25a8a77 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Thu, 16 Nov 2017 11:05:57 -0800 Subject: [PATCH 1/2] Explicitly support iOS back to version 10.3 (arbitrary one version back rule) --- FootlessParser.xcodeproj/project.pbxproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FootlessParser.xcodeproj/project.pbxproj b/FootlessParser.xcodeproj/project.pbxproj index 30067cf..6defb14 100644 --- a/FootlessParser.xcodeproj/project.pbxproj +++ b/FootlessParser.xcodeproj/project.pbxproj @@ -269,6 +269,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_NS_ASSERTIONS = YES; GCC_OPTIMIZATION_LEVEL = 0; + IPHONEOS_DEPLOYMENT_TARGET = 10.3; MACOSX_DEPLOYMENT_TARGET = 10.10; ONLY_ACTIVE_ARCH = YES; OTHER_SWIFT_FLAGS = "-DXcode"; @@ -279,6 +280,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 4.0; USE_HEADERMAP = NO; + VALID_ARCHS = "i386 x86_64 armv7"; }; name = Debug; }; @@ -330,6 +332,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_OPTIMIZATION_LEVEL = s; + IPHONEOS_DEPLOYMENT_TARGET = 10.3; MACOSX_DEPLOYMENT_TARGET = 10.10; OTHER_SWIFT_FLAGS = "-DXcode"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -339,6 +342,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 4.0; USE_HEADERMAP = NO; + VALID_ARCHS = "i386 x86_64 armv7"; }; name = Release; }; From cf82173ca92bca766e3ede7f6b85b43dc9e90bf1 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Thu, 16 Nov 2017 11:16:54 -0800 Subject: [PATCH 2/2] Set build number explicitly to ensure it is set for Carthage builds. This is required for app store submission. Add additional iOS architectures to supported list. --- .../FootlessParser_Info.plist | 41 ++++++++++--------- FootlessParser.xcodeproj/project.pbxproj | 4 +- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/FootlessParser.xcodeproj/FootlessParser_Info.plist b/FootlessParser.xcodeproj/FootlessParser_Info.plist index 57ada9f..427f011 100644 --- a/FootlessParser.xcodeproj/FootlessParser_Info.plist +++ b/FootlessParser.xcodeproj/FootlessParser_Info.plist @@ -1,25 +1,26 @@ + - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 400 + NSPrincipalClass + diff --git a/FootlessParser.xcodeproj/project.pbxproj b/FootlessParser.xcodeproj/project.pbxproj index 6defb14..c579f2a 100644 --- a/FootlessParser.xcodeproj/project.pbxproj +++ b/FootlessParser.xcodeproj/project.pbxproj @@ -280,7 +280,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 4.0; USE_HEADERMAP = NO; - VALID_ARCHS = "i386 x86_64 armv7"; + VALID_ARCHS = "i386 x86_64 armv7 armv7s arm64"; }; name = Debug; }; @@ -342,7 +342,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 4.0; USE_HEADERMAP = NO; - VALID_ARCHS = "i386 x86_64 armv7"; + VALID_ARCHS = "i386 x86_64 armv7 armv7s arm64"; }; name = Release; };