diff --git a/ios/tooot.xcodeproj/project.pbxproj b/ios/tooot.xcodeproj/project.pbxproj index 30e5e8a6..58ae0126 100644 --- a/ios/tooot.xcodeproj/project.pbxproj +++ b/ios/tooot.xcodeproj/project.pbxproj @@ -184,7 +184,7 @@ 83CBB9F71A601CBA00E9B192 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1130; + LastUpgradeCheck = 1320; TargetAttributes = { 13B07F861A680F5B00A75B9A = { DevelopmentTeam = 8EGBLQ2MA6; @@ -391,10 +391,12 @@ PRODUCT_BUNDLE_IDENTIFIER = com.xmflsct.app.tooot; PRODUCT_NAME = tooot; PROVISIONING_PROFILE_SPECIFIER = "match AdHoc com.xmflsct.app.tooot"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SWIFT_OBJC_BRIDGING_HEADER = "tooot-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -422,9 +424,11 @@ PRODUCT_BUNDLE_IDENTIFIER = com.xmflsct.app.tooot; PRODUCT_NAME = tooot; PROVISIONING_PROFILE_SPECIFIER = "match AppStore com.xmflsct.app.tooot"; + SUPPORTS_MACCATALYST = YES; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES; SWIFT_OBJC_BRIDGING_HEADER = "tooot-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; @@ -452,6 +456,7 @@ 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; @@ -514,6 +519,7 @@ 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; @@ -542,6 +548,7 @@ ); MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; VALIDATE_PRODUCT = YES; }; name = Release; diff --git a/ios/tooot.xcodeproj/xcshareddata/xcschemes/tooot.xcscheme b/ios/tooot.xcodeproj/xcshareddata/xcschemes/tooot.xcscheme index 2b18cadf..7e3f825d 100644 --- a/ios/tooot.xcodeproj/xcshareddata/xcschemes/tooot.xcscheme +++ b/ios/tooot.xcodeproj/xcshareddata/xcschemes/tooot.xcscheme @@ -1,6 +1,6 @@ 2102022230 ITSAppUsesNonExemptEncryption + LSApplicationCategoryType + public.app-category.social-networking LSRequiresIPhoneOS NSAppTransportSecurity @@ -50,12 +52,14 @@ - NSMicrophoneUsageDescription - $(PRODUCT_NAME) DOES NOT need microphone permission. Please reject this request. NSCameraUsageDescription Allow $(PRODUCT_NAME) to capture photo or video and attach it to your toot NSLocationWhenInUseUsageDescription - + + NSMainNibFile + LaunchScreen + NSMicrophoneUsageDescription + $(PRODUCT_NAME) DOES NOT need microphone permission. Please reject this request. NSPhotoLibraryAddUsageDescription Allow $(PRODUCT_NAME) to save an image to your camera roll NSPhotoLibraryUsageDescription diff --git a/ios/tooot/tooot.entitlements b/ios/tooot/tooot.entitlements index 018a6e20..d7a186c6 100644 --- a/ios/tooot/tooot.entitlements +++ b/ios/tooot/tooot.entitlements @@ -1,8 +1,20 @@ - - aps-environment - development - - \ No newline at end of file + + aps-environment + development + com.apple.security.app-sandbox + + com.apple.security.device.audio-input + + com.apple.security.device.camera + + com.apple.security.network.client + + com.apple.security.personal-information.location + + com.apple.security.personal-information.photos-library + + + diff --git a/package.json b/package.json index d66511c0..2a3b001e 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "versions": { "native": "220102", "major": 3, - "minor": 2, - "patch": 2, + "minor": 3, + "patch": 0, "expo": "44.0.0" }, "description": "tooot app for Mastodon", @@ -17,7 +17,8 @@ "scripts": { "start": "react-native start", "android": "react-native run-android", - "ios": "react-native run-ios", + "iphone": "react-native run-ios", + "ipad": "react-native run-ios --simulator 'iPad mini (6th generation)'", "app:build": "bundle exec fastlane build", "release": "scripts/release.sh", "clean": "react-native-clean-project",