From bc4f8f85d5e10f0b45820cc9556f7862b9ba570d Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Mon, 29 Oct 2018 10:24:13 -0400 Subject: [PATCH] Fix iOS build time warnings * add required new app icon size * add `LSSupportsOpeningDocumentsInPlace` property (false) * set minimum iOS version to 8.0 (minimum allowed by this version of xCode) --- .../AppIcon.appiconset/Contents.json | 5 +++++ .../Free-AppIcon.appiconset/Contents.json | 6 ++++++ .../Free-AppIcon.appiconset/KITTEN-1024x1024.png | Bin 0 -> 251 bytes editions/free/Free-Info.plist | 2 ++ ios/Pods/Pods.xcodeproj/project.pbxproj | 8 ++++---- ios/ScratchJr.xcodeproj/project.pbxproj | 2 ++ 6 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 editions/free/Free-Images.xcassets/Free-AppIcon.appiconset/KITTEN-1024x1024.png diff --git a/editions/free/Free-Images.xcassets/AppIcon.appiconset/Contents.json b/editions/free/Free-Images.xcassets/AppIcon.appiconset/Contents.json index abd908f..97d5dcc 100644 --- a/editions/free/Free-Images.xcassets/AppIcon.appiconset/Contents.json +++ b/editions/free/Free-Images.xcassets/AppIcon.appiconset/Contents.json @@ -44,6 +44,11 @@ "idiom" : "ipad", "size" : "83.5x83.5", "scale" : "2x" + }, + { + "idiom" : "ios-marketing", + "size" : "1024x1024", + "scale" : "1x" } ], "info" : { diff --git a/editions/free/Free-Images.xcassets/Free-AppIcon.appiconset/Contents.json b/editions/free/Free-Images.xcassets/Free-AppIcon.appiconset/Contents.json index e023e76..5f0aa39 100644 --- a/editions/free/Free-Images.xcassets/Free-AppIcon.appiconset/Contents.json +++ b/editions/free/Free-Images.xcassets/Free-AppIcon.appiconset/Contents.json @@ -51,6 +51,12 @@ "idiom" : "ipad", "filename" : "Icon-167.png", "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "KITTEN-1024x1024.png", + "scale" : "1x" } ], "info" : { diff --git a/editions/free/Free-Images.xcassets/Free-AppIcon.appiconset/KITTEN-1024x1024.png b/editions/free/Free-Images.xcassets/Free-AppIcon.appiconset/KITTEN-1024x1024.png new file mode 100644 index 0000000000000000000000000000000000000000..064b6e104d46351a180f735cffee4f09903eab1f GIT binary patch literal 251 zcmeAS@N?(olHy`uVBq!ia0y~yU;#2&7#Nv>lE)e-c@Ne8%D+ zcPEB*=VV?2Im`h*A+EZs9*S_~Jppp3dAc};RNQ)dkdYC{Yf|{XKF`Ae#2iTQo{dG0 Ufsyx~MGD9jp00i_>zopr0AME{Bme*a literal 0 HcmV?d00001 diff --git a/editions/free/Free-Info.plist b/editions/free/Free-Info.plist index 3119fb6..711a2e4 100644 --- a/editions/free/Free-Info.plist +++ b/editions/free/Free-Info.plist @@ -2,6 +2,8 @@ + LSSupportsOpeningDocumentsInPlace + NSMicrophoneUsageDescription Used to record sounds for your projects NSCameraUsageDescription diff --git a/ios/Pods/Pods.xcodeproj/project.pbxproj b/ios/Pods/Pods.xcodeproj/project.pbxproj index f407a96..109f477 100644 --- a/ios/Pods/Pods.xcodeproj/project.pbxproj +++ b/ios/Pods/Pods.xcodeproj/project.pbxproj @@ -481,7 +481,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; VALIDATE_PRODUCT = YES; @@ -493,7 +493,7 @@ baseConfigurationReference = 080B62B69F7897A2E100CCD98EFB9CC3 /* Pods.release.xcconfig */; buildSettings = { ENABLE_STRICT_OBJC_MSGSEND = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; @@ -509,7 +509,7 @@ baseConfigurationReference = 409481B22BCA3781BAF3CBE47FCA34FB /* Pods.debug.xcconfig */; buildSettings = { ENABLE_STRICT_OBJC_MSGSEND = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = YES; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; @@ -616,7 +616,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 7.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; ONLY_ACTIVE_ARCH = YES; STRIP_INSTALLED_PRODUCT = NO; SYMROOT = "${SRCROOT}/../build"; diff --git a/ios/ScratchJr.xcodeproj/project.pbxproj b/ios/ScratchJr.xcodeproj/project.pbxproj index 870a907..d1ccf3f 100644 --- a/ios/ScratchJr.xcodeproj/project.pbxproj +++ b/ios/ScratchJr.xcodeproj/project.pbxproj @@ -600,6 +600,7 @@ "COCOAPODS=1", ); INFOPLIST_FILE = "$(SRCROOT)/../editions/free/Free-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; PRODUCT_BUNDLE_IDENTIFIER = edu.mitmedialab.scratchjrfree; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = ""; @@ -624,6 +625,7 @@ "COCOAPODS=1", ); INFOPLIST_FILE = "$(SRCROOT)/../editions/free/Free-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; PRODUCT_BUNDLE_IDENTIFIER = edu.mitmedialab.scratchjrfree; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE = "";