-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
Brian Co Aug 20, 2019 1:33 AM (in response to VincenDev)Hello @VincenDev. I actually have the samed bug on watchOS 6 with this message, when trying to store approximately 5mb of data :
Attempting to store >= 1048576 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid. This is a bug in WatchApp Extension or a library it uses
On the other hand, I have no problem storing the same data in UserDefaults on iOS 13.
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
VincenDev Aug 20, 2019 5:04 AM (in response to Brian Co)So ... what do we have to do? Is it a confirmed bug? Will it be fixed in next betas?
-
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
VincenDev Aug 23, 2019 11:48 AM (in response to VincenDev)Problem persist in iOS 13 Beta 6
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
totalidea Aug 28, 2019 7:49 AM (in response to VincenDev)Same issue on iOS 13.1 Beta. Any resolution? Any reason for this issue? Is the amount of data that can be stored in NSUserDefaulsts limited in iOS 13? The documentation does not list any API changes related to this.
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
Jespercr Oct 2, 2019 12:02 PM (in response to VincenDev)I'm having the same problem. Unable to share image files to main app due to this constrain. Anyone knows if this will be fixed or if it is intentional?
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
ChristopheC Oct 28, 2019 2:36 AM (in response to VincenDev)Hello every one,
I have exactly the same issue on iOS 13.1.3. Did you find any solution ?
Best regards,
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
perecrisalix Oct 30, 2019 8:07 AM (in response to VincenDev)This problem persist in iPadOS 13.2
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
appdev Nov 25, 2019 11:02 AM (in response to VincenDev)Could the issue possibly be the use of
synchronize
? According to the docs we are not supposed to use it anymore. It isn't officially deprecated, but it is not supposed to be used.
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
ChristopheC Nov 29, 2019 6:47 AM (in response to appdev)I don't think so. I don't use "synchronize" and I got this error.
For me, it's when I try to store data >= 4mo in my UserDefaults group (ShareExtension <=> Host app).
-
-
Re: iOS 13 - Attempting to store >= 4194304 bytes of data in CFPreferences/NSUserDefaults on this platform is invalid
simonfromhelix Dec 6, 2019 1:35 PM (in response to VincenDev)Does anyone have any news on this? I'm still seeing the problem occur on WatchOS 6.1.