Comments (25)
Yes, the plan is for us to publish a version with a corrected privacy manifest.
from realm-swift.
Folks, we've released 10.49.2 of the Realm Swift SDK which should be addressing the privacy manifest issues. Can you test it out and confirm you no longer get warnings from Apple about it?
Nope. Also in 10.49.2 still have same issue.
from realm-swift.
If there is a hurry you can just add your own Privacy manifest and describe missing apis there.
Yes, but is not the right way let me say. Basically, Apple gives us a global task for everyone. The best solution of course is that all SDK have their privacy manifest. Also because I not have an idea how the SDK uses the Disk API for example.
I think the current issue is because inside this folder:
![Screenshot 2024-04-10 at 09 58 24](https://private-user-images.githubusercontent.com/20614870/321153112-af4b9dcd-1253-45cc-8d54-83792bf0ecac.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzODAzNTgsIm5iZiI6MTcyMTM4MDA1OCwicGF0aCI6Ii8yMDYxNDg3MC8zMjExNTMxMTItYWY0YjlkY2QtMTI1My00NWNjLThkNTQtODM3OTJiZjBlY2FjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDA5MDczOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYxNWZkYWRkZWI5NmY1YWZmZGMzZDVhZWI4ZThkMmZiM2IyMjViODgzNWM2N2M5N2ViZGZiZjE5NDViOGEyNDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7kixH-RCuuiDit4gtJfy2et23odIfph0diC995exjbo)
the privacy manifest is empty
I hope you could fix it asap.
thanks
from realm-swift.
@salvatoreboemia The reason for the empty privacy manifest was discussed earlier in this thread here
#8535 (comment)
Yes, the RealmSwift package is just a thin wrapper around the obj-c and c++ frameworks and doesn't directly touch the filesystem at all.
We might need to move the privacy manifest from the obj-c framework to the c++ framework for SPM since the c++ layer is actually exposed as a separate target. It sure would be nice if Apple actually provided validation tools for this (or did a less half-assed job of documenting it).
from realm-swift.
This is already being discussed in #8558. We'll consider backporting the privacy manifest for 10.48, but we need to first confirm that what we have works at all. We believe it should, but we had a user open #8555 claiming it doesn't without coming back with more info. That's why we're looking for help from the community to try and gather more details.
from realm-swift.
10.48.2 was only released for people who are on SPM. Our understanding is that 10.48.1 should work for developers who are using Cocoapods and pull in the correct privacy manifests. If that's not the case, please file a new issue outlining the behavior you're seeing.
from realm-swift.
➤ PM Bot commented:
Jira ticket: RCOCOA-2328
from realm-swift.
How are you installing Realm?
from realm-swift.
@tgoyne Installed directly via SPM with the instructions from the docs. I submitted a new app to isolate the issue and I get those two warnings after submission from Apple. I'm using the 10.48.1 version number
from realm-swift.
![Screenshot 2024-04-05 at 3 39 06 am](https://private-user-images.githubusercontent.com/50676199/319684162-e8f6d8e1-5fa4-4d6b-bae8-5a501d81d1df.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzODAzNTgsIm5iZiI6MTcyMTM4MDA1OCwicGF0aCI6Ii81MDY3NjE5OS8zMTk2ODQxNjItZThmNmQ4ZTEtNWZhNC00ZDZiLWJhZTgtNWE1MDFkODFkMWRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDA5MDczOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRhNGM5MzQ0OWJiZjRmZWYzNDAwNDJhZmRhNTcxNWVlMTg3NGNlNTQ5MjkzZmNmYmU3YjBhNGQ4NDVmM2VlZjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.eLfuZfb5wibLKuV7_hIsmRCm51Div17xUYBKz4LvJB8)
I also noticed the privacy manifest inside the RealmSwift
package is actually empty. Is that expected? I can see the privacy manifest populated in the Realm target though
from realm-swift.
Yes, the RealmSwift package is just a thin wrapper around the obj-c and c++ frameworks and doesn't directly touch the filesystem at all.
We might need to move the privacy manifest from the obj-c framework to the c++ framework for SPM since the c++ layer is actually exposed as a separate target. It sure would be nice if Apple actually provided validation tools for this (or did a less half-assed job of documenting it).
from realm-swift.
@tgoyne Yeah tbh Apple should've provided some tool for this. The only way for us to be sure our changes are working is to submit the builds to them which is a pain. I've been using this tool for some help.
https://github.com/Wooder/ios_17_required_reason_api_scanner
Yeah let's try moving the privacy manifests as I think at the moment either Apple is not picking them up or there are usages at other places which don't have the privacy manifests declared
from realm-swift.
Sending a build to TestFlight beta review is enough to check if the privacy is correct. They will send a warning to your email if there are issues.
from realm-swift.
@kapitoshka438 Yeah that's what I have been doing which resulted in these two warnings being generated when using realm
from realm-swift.
➤ Steven Poirot commented:
Hi, I'm new to using 3rd party SDKs and Realm, but I do want to use Realm in an app I am planning. I see that RealmSwift is listed as one of the SDKs that must have a signed privacy manifest (https://developer.apple.com/support/third-party-SDK-requirements/). Will Mongo or the community develop a manifest that we can all use? How will this play out? Thanks!
from realm-swift.
Excellent, thanks!
from realm-swift.
Yes, the plan is for us to publish a version with a corrected privacy manifest.
Do you have an ETA for this release? Because we still receive email from Apple due tue NS Disk access.
Thanks a lot
from realm-swift.
Commenting just to add my interest.
App Store Updates do get accepted at the mo, but only till 1st May
Thanks for your work!
from realm-swift.
The plan is to do this before May 1st.
from realm-swift.
If there is a hurry you can just add your own Privacy manifest and describe missing apis there.
from realm-swift.
Is anyone getting warnings not using SPM? I am currently assuming that only the SPM package requires changes.
from realm-swift.
I've locked the conversation for now. As already mentioned, we do plan to release a version of the Realm Swift SDK with the necessary privacy manifest changes ahead of the May 1st deadline by Apple. We've already implemented the fix and it's just pending a release.
from realm-swift.
Folks, we've released 10.49.2 of the Realm Swift SDK which should be addressing the privacy manifest issues. Can you test it out and confirm you no longer get warnings from Apple about it?
from realm-swift.
@nirinchev do you plan to provide long-term support for the old db format and release 10.48.2 with the privacy fixes? We are not sure about when we are going to upgrade our apps to 10.49
from realm-swift.
@nirinchev I am trying to install versions 10.48.2 through Cocoapods but getting below error
[!] CocoaPods could not find compatible versions for pod "RealmSwift":
In Podfile:
RealmSwift (= 10.48.2)
None of your spec sources contain a spec satisfying the dependency: RealmSwift (= 10.48.2)
.
You have either:
- mistyped the name or version.
- not added the source repo that hosts the Podspec to your Podfile.
Please help me out here as i am really struggling to update the Realm with the latest Privacy Manifest Changes. I can't use version 10.49 as i have a production app which is using older Realm DB version (Realm version - 3.21)
from realm-swift.
Related Issues (20)
- Consider implementing a SwiftData Custom Store (new in iOS18) for Realm HOT 6
- Xcode 16: Write Blocks Risk Data Races Warnings HOT 11
- Update all uses of _unsafeInheritExecutor to use #isolation instead HOT 1
- Code sign our published xcframeworks HOT 1
- Update Binding for iOS 18's API changes HOT 1
- Switch to building RealmSwift in Swift 6 mode HOT 1
- Investigate explicitly built modules for RealmSwift HOT 1
- Add support for logging categories HOT 1
- After upgrading to 10.52.0 our app crashes on launch when we attempt to observe a collection HOT 2
- App crash for iOS 12 using 'RealmSwift', '~> 3.20.0' HOT 5
- Delete Realm if file is an unsupported version HOT 1
- Is it possible to fully deallocate the Memory used by Realm HOT 4
- Doesn't Map value type work at all? HOT 3
- Multiple methods named 'initWithValue:' found with mismatched result, parameter type or attributes v10.50.1 HOT 2
- ObjectId does not conform to SortableType - sorted(by:ascending:) not working as expected HOT 3
- Namespace DYLD, Code 1 Library missing HOT 1
- RealmSwift Crashing on Xcode 16 beta 2 when used in XCFramework as Dependency HOT 1
- Support "Cascading/Inheritable" Writes HOT 10
- Realm crash when accessing PersistableEnum HOT 2
- 极个别用户数据会莫名删除清空 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-swift.