Posts

Post not yet marked as solved
1 Replies
657 Views
I use dataWithPropertyList with NSPropertyListXMLFormat_v1_0 to convert local data in an NSDictionary to NSData to be sent to Server side as a .plist (readable as xml for troubleshooting). Ever since iOS 14.4, the process fails at dataWithPropertyList, with errors as: "Property list invalid for format: 100 (Too many nested arrays or dictionaries)" and in iOS 14.7 a little more verbose: "Property list invalid for format: 100 (Too many nested arrays or dictionaries please use kCFPropertyListBinaryFormat_v1_0 instead which supports references)" The error only takes place when running in iOS 14.4 and above (regardless of actual iOS Device or Simulator). Issue doesn't take place when using same source code but compiling for any iOS 14.3 and lower. Using the Binary option as the latest verbose error suggests does work. Ironically the resulted NSData is larger than original xml based one, and I lose the ability to read xml server side. Anyone else experienced these issues? Apparently Apple is aware of the issue given they updated the verbose error message in iOS 14.7. Do they intend to fix it so it works as it does in iOS 14.3 and lower? Or are there other suggestions on working around the issue so I can still have the xmls? Alternative methods? Regards,
Posted
by DS ED Dev.
Last updated
.
Post not yet marked as solved
11 Replies
17k Views
Getting the error at Linking phase of Running for using valid library class UIMarkupTextPrintFormatter:Showing Recent MessagesUndefined symbol: _OBJC_CLASS_$_UIMarkupTextPrintFormatterValidated all build and signing properties to be Defaulted.Code works for iPad Simulator and Device.
Posted
by DS ED Dev.
Last updated
.