Skip to content

Commit

Permalink
Revert "RDART-964: Add PrivacyInfo.xcprivacy for iOS and macOS (#1646)"
Browse files Browse the repository at this point in the history
This reverts commit 6111633.
  • Loading branch information
nielsenko committed May 2, 2024
1 parent 30527bd commit a2611aa
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 69 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
31 changes: 0 additions & 31 deletions packages/realm/ios/Resources/PrivacyInfo.xcprivacy

This file was deleted.

3 changes: 1 addition & 2 deletions packages/realm/ios/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -63,5 +63,4 @@ Pod::Spec.new do |s|
:execution_position => :before_compile
}
]
s.resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] }
end
31 changes: 0 additions & 31 deletions packages/realm/macos/Resources/PrivacyInfo.xcprivacy

This file was deleted.

7 changes: 3 additions & 4 deletions packages/realm/macos/realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ Pod::Spec.new do |s|
s.license = { :file => '../LICENSE' }
s.author = { 'Realm' => '[email protected]' }
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
Expand All @@ -65,5 +65,4 @@ Pod::Spec.new do |s|
:execution_position => :before_compile
}
]
s.resource_bundles = { 'realm_privacy' => [ 'Resources/PrivacyInfo.xcprivacy' ] }
end

0 comments on commit a2611aa

Please sign in to comment.