From a2611aaed181b46bd9ba8ffa82b1eff71eafee67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Overg=C3=A5rd=20Nielsen?= Date: Thu, 2 May 2024 10:14:16 +0200 Subject: [PATCH] Revert "RDART-964: Add PrivacyInfo.xcprivacy for iOS and macOS (#1646)" This reverts commit 6111633c1b25f065054034b73c0038fd43fe4646. --- CHANGELOG.md | 1 - .../realm/ios/Resources/PrivacyInfo.xcprivacy | 31 ------------------- packages/realm/ios/realm.podspec | 3 +- .../macos/Resources/PrivacyInfo.xcprivacy | 31 ------------------- packages/realm/macos/realm.podspec | 7 ++--- 5 files changed, 4 insertions(+), 69 deletions(-) delete mode 100644 packages/realm/ios/Resources/PrivacyInfo.xcprivacy delete mode 100644 packages/realm/macos/Resources/PrivacyInfo.xcprivacy diff --git a/CHANGELOG.md b/CHANGELOG.md index 65edcd562..27744d794 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,7 +34,6 @@ }) { ... } ``` (Issue [#292](https://github.com/realm/realm-dart/issues/292)) -* Add privacy manifest to apple binaries. (Issue [#1551](https://github.com/realm/realm-dart/issues/1551)) ### Fixed * Avoid: Attempt to execute code removed by Dart AOT compiler (TFA). (Issue [#1647](https://github.com/realm/realm-dart/issues/1647)) diff --git a/packages/realm/ios/Resources/PrivacyInfo.xcprivacy b/packages/realm/ios/Resources/PrivacyInfo.xcprivacy deleted file mode 100644 index 2e4e91574..000000000 --- a/packages/realm/ios/Resources/PrivacyInfo.xcprivacy +++ /dev/null @@ -1,31 +0,0 @@ - - - - - NSPrivacyTrackingDomains - - NSPrivacyCollectedDataTypes - - NSPrivacyAccessedAPITypes - - - NSPrivacyAccessedAPITypeReasons - - C617.1 - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryFileTimestamp - - - NSPrivacyAccessedAPITypeReasons - - E174.1 - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryDiskSpace - - - NSPrivacyTracking - - - diff --git a/packages/realm/ios/realm.podspec b/packages/realm/ios/realm.podspec index 9be033953..4d7e6a3ba 100644 --- a/packages/realm/ios/realm.podspec +++ b/packages/realm/ios/realm.podspec @@ -33,7 +33,7 @@ Pod::Spec.new do |s| s.vendored_frameworks = 'realm_dart.xcframework' s.dependency 'Flutter' s.platform = :ios, '8.0' - s.compiler_flags = "-DBUNDLE_ID='\"#{bundleId}\"'" + s.compiler_flags = "-DBUNDLE_ID='\"#{bundleId}\"'" s.library = 'c++', 'z', 'compression' s.swift_version = '5.0' @@ -63,5 +63,4 @@ Pod::Spec.new do |s| :execution_position => :before_compile } ] - s.resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] } end \ No newline at end of file diff --git a/packages/realm/macos/Resources/PrivacyInfo.xcprivacy b/packages/realm/macos/Resources/PrivacyInfo.xcprivacy deleted file mode 100644 index 2e4e91574..000000000 --- a/packages/realm/macos/Resources/PrivacyInfo.xcprivacy +++ /dev/null @@ -1,31 +0,0 @@ - - - - - NSPrivacyTrackingDomains - - NSPrivacyCollectedDataTypes - - NSPrivacyAccessedAPITypes - - - NSPrivacyAccessedAPITypeReasons - - C617.1 - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryFileTimestamp - - - NSPrivacyAccessedAPITypeReasons - - E174.1 - - NSPrivacyAccessedAPIType - NSPrivacyAccessedAPICategoryDiskSpace - - - NSPrivacyTracking - - - diff --git a/packages/realm/macos/realm.podspec b/packages/realm/macos/realm.podspec index f6a96dc5f..5eeb1fb12 100644 --- a/packages/realm/macos/realm.podspec +++ b/packages/realm/macos/realm.podspec @@ -45,12 +45,12 @@ Pod::Spec.new do |s| s.license = { :file => '../LICENSE' } s.author = { 'Realm' => 'help@realm.io' } s.source = { :path => '.' } - s.source_files = 'Classes/**/*' + s.source_files = 'Classes/**/*' s.dependency 'FlutterMacOS' s.platform = :osx, '10.11' - s.compiler_flags = "-DBUNDLE_ID='\"#{bundleId}\"'" - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } + s.compiler_flags = "-DBUNDLE_ID='\"#{bundleId}\"'" + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.swift_version = '5.0' s.vendored_libraries = "#{realmLibName}" s.prepare_command = "touch #{realmPackageDir}/librealm_dart.dylib" #librealm_dart.dylib is needed before the build is started @@ -65,5 +65,4 @@ Pod::Spec.new do |s| :execution_position => :before_compile } ] - s.resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] } end