iOS 17 Debug Log- Failed to convert from bundle ID

Hello,

I just tried running by iOS project today for the first time with iOS 17 as the target, I am on Xcode 15 beta 4.

I get the errors below when running the app on an iPhone with iOS 17 public beta installed. The first error was present in iOS 16, I never found a solution for it. But the second error is new. I don't know what is causing it, but it seems that it might be serous.

I tried looking up the error, but I could not find any relevant information. Please provide direction as to how to diagnose the problem.

Thank you in advanced.

Couldn't read values in CFPrefsPlistSource<0x281ca5b90> (Domain: group.com.davidalvarezdev.Proaneer, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.davidalvarezdev.Proaneer) to UUID. This could lead to wrong data usage accounting. nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.davidalvarezdev.Proaneer) to UUID. This could lead to wrong data usage accounting. nw_parameters_set_source_application_by_bundle_id_internal Failed to convert from bundle ID (com.davidalvarezdev.Proaneer) to UUID. This could lead to wrong data usage accounting.

Answered by Davicito in 759931022

Hello, with the latest beta software, this issue seems to be resolved. Thanks!

Accepted Answer

Hello, with the latest beta software, this issue seems to be resolved. Thanks!

Issue is still occurring in Xcode 15 beta 7 when running on an actual device. Any Ideas on how to fix this? Or is it just a beta bug?

Issue is still occurring in Xcode 15 beta 7 when running on an actual device. When I use Cloudkit & SwiftData, I can see the error

same here with Xcode 15 beta 8 :( i was trying to implement interactivity to my widget (that shares data with the app via App groups...

this still happens in iOS17 final

It still happens in iOS17, Xcode15 full version.

It still happens in iOS17, Xcode15 full version.

still happening as of Sep 30 2023 Xcode 15 and iOS 17

Yes, the message came back for me too. I think it went away when I had the "developer version" of iOS installed, but comes back on my personal device.

I’m seeing the same error on both Xcode 15.0 and Xcode 15.1 Beta.

For me, I think this issue stemmed from NSPersistentCloudKitContainerOptions.

I’m using NSPersistentCloudKitContainer in my app. If I set NSPersistentStoreDescription.cloudKitContainerOptions to nil, this error would go away. Of course my app can’t sync via CloudKit if I do that.

Another issue may or may not related to this warning: ever since I built my app on Xcode 15, I’ve seen excessive disk read on the sqlite file of CoreData on launch. The amount of disk read can be as much as twice the size of the sql file, basically making the app impossible to use for some users with large data set.

But if cloudKitContainerOptions is nil, this excessive disk read would disappear.

Last issue may or may not related to this warning: the size of CoreData sqlite file in my app is 130 MB. But in iPhone Settings → [User Name] → iCloud → Manage Account Storage, it says my app takes up a whopping 2.7 GB of space. No matter how the calculation is done, it can’t be right. The app takes 300 MB of space as shown in iPhone Settings → General → iPhone Storage. So I wonder what This could lead to wrong data usage accounting. could be saying.

iOS 17 Debug Log- Failed to convert from bundle ID
 
 
Q