diff --git a/Package.swift b/Package.swift index 843af29..a99feac 100644 --- a/Package.swift +++ b/Package.swift @@ -5,7 +5,7 @@ import PackageDescription let package = Package( name: "mParticle-Appboy", - platforms: [ .iOS(.v11), .tvOS(.v11) ], + platforms: [ .iOS(.v12), .tvOS(.v12) ], products: [ .library( name: "mParticle-Appboy", @@ -21,7 +21,7 @@ let package = Package( .upToNextMajor(from: "8.0.0")), .package(name: "braze-swift-sdk", url: "https://github.com/braze-inc/braze-swift-sdk", - .upToNextMajor(from: "7.3.0")), + .upToNextMajor(from: "8.0.0")), ], targets: [ .target( diff --git a/Sources/PrivacyInfo.xcprivacy b/Sources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..8ceb89c --- /dev/null +++ b/Sources/PrivacyInfo.xcprivacy @@ -0,0 +1,18 @@ + + + + + NSPrivacyTracking + + NSPrivacyTrackingDomains + + NSPrivacyCollectedDataTypes + + + + NSPrivacyAccessedAPITypes + + + + + diff --git a/mParticle-Appboy.podspec b/mParticle-Appboy.podspec index ee027dc..5ada23d 100755 --- a/mParticle-Appboy.podspec +++ b/mParticle-Appboy.podspec @@ -15,18 +15,18 @@ Pod::Spec.new do |s| s.static_framework = true s.swift_version = '5.3' - s.ios.deployment_target = "11.0" + s.ios.deployment_target = "12.0" s.ios.source_files = 'Sources/**/*.{h,m,mm}' s.ios.dependency 'mParticle-Apple-SDK', '~> 8.0' - s.ios.dependency 'BrazeKit', '~> 7.3' - s.ios.dependency 'BrazeKitCompat', '~> 7.3' - s.ios.dependency 'BrazeUI', '~> 7.3' + s.ios.dependency 'BrazeKit', '~> 8.0' + s.ios.dependency 'BrazeKitCompat', '~> 8.0' + s.ios.dependency 'BrazeUI', '~> 8.0' - s.tvos.deployment_target = "11.0" + s.tvos.deployment_target = "12.0" s.tvos.source_files = 'Sources/**/*.{h,m,mm}' s.tvos.dependency 'mParticle-Apple-SDK', '~> 8.0' - s.tvos.dependency 'BrazeKit', '~> 7.3' - s.tvos.dependency 'BrazeKitCompat', '~> 7.3' + s.tvos.dependency 'BrazeKit', '~> 8.0' + s.tvos.dependency 'BrazeKitCompat', '~> 8.0' end diff --git a/mParticle-Appboy.xcodeproj/project.pbxproj b/mParticle-Appboy.xcodeproj/project.pbxproj index e1103c2..f629621 100644 --- a/mParticle-Appboy.xcodeproj/project.pbxproj +++ b/mParticle-Appboy.xcodeproj/project.pbxproj @@ -22,6 +22,8 @@ 539B2EA12A13D6AB00C8339D /* BrazeKitCompat in Frameworks */ = {isa = PBXBuildFile; productRef = 539B2EA02A13D6AB00C8339D /* BrazeKitCompat */; }; D31A98A92153F73400358293 /* mParticle_AppboyTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D31A98A82153F73400358293 /* mParticle_AppboyTests.m */; }; D31A98AB2153F73400358293 /* mParticle_Appboy.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB94016C1CB703F2007ABB18 /* mParticle_Appboy.framework */; }; + D34423302B960F44006CD046 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D344232F2B960F44006CD046 /* PrivacyInfo.xcprivacy */; }; + D34423312B960F44006CD046 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = D344232F2B960F44006CD046 /* PrivacyInfo.xcprivacy */; }; DB76F1CF25D2E71D00CAB3EB /* MPKitAppboy.h in Headers */ = {isa = PBXBuildFile; fileRef = DB76F1CB25D2E71D00CAB3EB /* MPKitAppboy.h */; settings = {ATTRIBUTES = (Public, ); }; }; DB76F1D025D2E71D00CAB3EB /* mParticle_Appboy.h in Headers */ = {isa = PBXBuildFile; fileRef = DB76F1CC25D2E71D00CAB3EB /* mParticle_Appboy.h */; settings = {ATTRIBUTES = (Public, ); }; }; DB76F1D125D2E71D00CAB3EB /* MPKitAppboy.m in Sources */ = {isa = PBXBuildFile; fileRef = DB76F1CD25D2E71D00CAB3EB /* MPKitAppboy.m */; }; @@ -59,6 +61,7 @@ D31A98A62153F73400358293 /* mParticle_AppboyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = mParticle_AppboyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; D31A98A82153F73400358293 /* mParticle_AppboyTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = mParticle_AppboyTests.m; sourceTree = ""; }; D31A98AA2153F73400358293 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D344232F2B960F44006CD046 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; DB76F1CB25D2E71D00CAB3EB /* MPKitAppboy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPKitAppboy.h; sourceTree = ""; }; DB76F1CC25D2E71D00CAB3EB /* mParticle_Appboy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = mParticle_Appboy.h; sourceTree = ""; }; DB76F1CD25D2E71D00CAB3EB /* MPKitAppboy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPKitAppboy.m; sourceTree = ""; }; @@ -138,6 +141,7 @@ children = ( DB76F1C925D2E71D00CAB3EB /* mParticle-Appboy */, DB76F1CE25D2E71D00CAB3EB /* Info.plist */, + D344232F2B960F44006CD046 /* PrivacyInfo.xcprivacy */, ); path = Sources; sourceTree = ""; @@ -389,6 +393,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + D34423302B960F44006CD046 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -396,6 +401,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + D34423312B960F44006CD046 /* PrivacyInfo.xcprivacy in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -500,6 +506,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MARKETING_VERSION = 1.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; @@ -509,6 +516,7 @@ SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -533,6 +541,7 @@ INFOPLIST_KEY_UIMainStoryboardFile = Main; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MARKETING_VERSION = 1.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.mparticle.AppboyTestHost; @@ -542,6 +551,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Release; }; @@ -559,6 +569,7 @@ FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = mParticle_AppboyTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.mparticle.mParticle-AppboyTests"; @@ -568,6 +579,7 @@ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AppboyTestHost.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/AppboyTestHost"; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -585,6 +597,7 @@ FRAMEWORK_SEARCH_PATHS = "$(inherited)"; GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = mParticle_AppboyTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = "com.mparticle.mParticle-AppboyTests"; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -593,6 +606,7 @@ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AppboyTestHost.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/AppboyTestHost"; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Release; }; @@ -723,10 +737,11 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; PRODUCT_BUNDLE_IDENTIFIER = "com.mparticle.mParticle-Appboy"; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -740,10 +755,11 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; PRODUCT_BUNDLE_IDENTIFIER = "com.mparticle.mParticle-Appboy"; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Release; }; @@ -776,6 +792,7 @@ GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = "mParticle-Appboy-tvOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; OTHER_LDFLAGS = ( "-ObjC", "-all_load", @@ -785,6 +802,7 @@ SDKROOT = appletvos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -817,6 +835,7 @@ GCC_C_LANGUAGE_STANDARD = gnu11; INFOPLIST_FILE = "mParticle-Appboy-tvOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; OTHER_LDFLAGS = ( "-ObjC", "-all_load", @@ -826,6 +845,7 @@ SDKROOT = appletvos; SKIP_INSTALL = YES; TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Release; };