Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MagicalRecord iCloud issues

I am TRYING to use MagicalRecord with iCloud and every time I call

    [MagicalRecord setupCoreDataStackWithiCloudContainer:nil localStoreNamed:@"MyApp.sqlite"];

for the first time I get these logs below...has anyone seen this before. I have cleaned the project and deleted the app, but I am getting it every time.

I can see my app in Settings>iCloud, but nothing in the developer.icloud.com documents folder

    2013-02-13 09:25:56.247 MyApp[6902:5d17] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/current.nosync/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    Confused by: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    2013-02-13 09:25:56.248 MyApp[6902:5807] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    Confused by: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    2013-02-13 09:25:56.253 MyApp[6902:1507] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/.stage.nosync/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    Confused by: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    2013-02-13 09:25:56.259 MyApp[6902:1507] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=/staging.nosync
    Confused by: staging.nosync
    2013-02-13 09:25:56.261 MyApp[6902:1507] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/current.nosync/iCloudStore
    Confused by: iCloudStore
    2013-02-13 09:25:56.263 MyApp[6902:1507] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.cdmetadata/metadata.nosync/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/metadata.store-wal
    Confused by: metadata.store-wal
    2013-02-13 09:25:56.274 MyApp[6902:170b] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/Data.nosync/.baseline/current.nosync/iCloudStore/YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY=/baseline.model
    Confused by: baseline.model
    2013-02-13 09:25:56.279 MyApp[6902:1413] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.cdmetadata/metadata.nosync/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/metadata.store-shm
    Confused by: metadata.store-shm
    2013-02-13 09:25:56.286 MyApp[6902:170b] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/mobile.DDDDDD-DDDD-DDDD-DDDD-DDDDDDDDD/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    Confused by: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    2013-02-13 09:25:56.291 MyApp[6902:170b] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=/baseline.zip
    Confused by: baseline.zip
    2013-02-13 09:25:56.292 MyApp[6902:1413] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/SyncData/com.walshitech.sbrspeeds/ClientDevices/ZZZZZZZZ-ZZZZ-ZZZZ-ZZZZ-ZZZZZZZZZZZZ-ZZZZ-ZZZZZZZZZ
    Confused by: ZZZZZZZZ-ZZZZ-ZZZZ-ZZZZ-ZZZZZZZZZZZZ-ZZZZ-ZZZZZZZZZ
    2013-02-13 09:25:56.297 MyApp[6902:1413] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/current.nosync/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=/baseline.meta
    Confused by: baseline.meta
    2013-02-13 09:25:56.298 MyApp[6902:170b] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=/staging.nosync/iCloudStore.sqlite
    Confused by: iCloudStore.sqlite
    2013-02-13 09:25:56.306 MyApp[6902:5d17] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/Data.nosync/.baseline/current.nosync/iCloudStore/YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY=/baseline.meta
    Confused by: baseline.meta
    2013-02-13 09:25:56.310 MyApp[6902:5d17] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/Data.nosync/.baseline/iCloudStore/YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY=/baseline.zip
    Confused by: baseline.zip
    2013-02-13 09:25:56.315 MyApp[6902:170b] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.cdmetadata/metadata.nosync/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/metadata.store
    Confused by: metadata.store
    2013-02-13 09:25:56.315 MyApp[6902:1507] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.cdmetadata/metadata.nosync/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY
    Confused by: mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY
    2013-02-13 09:25:56.324 MyApp[6902:1507] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/SyncData/com.walshitech.sbrspeeds/Information/DeletedDocuments
    Confused by: DeletedDocuments
    2013-02-13 09:25:56.324 MyApp[6902:5d17] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/current.nosync/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=/baseline.model
    Confused by: baseline.model
    2013-02-13 09:25:56.324 MyApp[6902:170b] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/SyncData/com.walshitech.sbrspeeds/Information/DeletedClients
    Confused by: DeletedClients
    2013-02-13 09:25:56.325 MyApp[6902:1413] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/SyncData/com.walshitech.sbrspeeds/ClientDevices/YYYYYYY-YYYY-YYYY-YYYY-YYYYYYYY-YYYY-YYYYYYYYYYY5
    Confused by: YYYYYYY-YYYY-YYYY-YYYY-YYYYYYYY-YYYY-YYYYYYYYYYY5
    2013-02-13 09:25:56.328 MyApp[6902:5807] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/.stage.nosync/iCloudStore
    Confused by: iCloudStore
    2013-02-13 09:25:56.330 MyApp[6902:1507] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/current.nosync/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=/baseline.gcmodel
    Confused by: baseline.gcmodel
    2013-02-13 09:25:56.330 MyApp[6902:5207] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.baseline/iCloudStore/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    Confused by: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
    2013-02-13 09:25:56.346 MyApp[6902:5d17] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.cdmetadata/metadata.nosync/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/iCloudStore
    Confused by: iCloudStore
    2013-02-13 09:25:56.348 MyApp[6902:5207] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/iCloudData/.cdmetadata/metadata.nosync/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY/iCloudStore/CCCCCC-CCCC-CCCC-CCCC-CCCCCCCCC.cid
    Confused by: CCCCCC-CCCC-CCCC-CCCC-CCCCCCCCC.cid
    2013-02-13 09:25:56.349 MyApp[6902:5d17] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/Data.nosync/.baseline/iCloudStore/YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY=/mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY
    Confused by: mobile.YYYYYYY-YYYY-YYYY-YYYYYYYY
    2013-02-13 09:25:56.358 MyApp[6902:5207] +[PFUbiquityLocation createUbiquityLocationForPath:withUbiquityRootPath:](821): CoreData: Ubiquity:  Unable to continue parse components of URL: /var/mobile/Library/Mobile Documents/XXXXXXXXXXX~com~my~app/Data.nosync/.baseline/current.nosync/iCloudStore/YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY=/baseline.gcmodel
    Confused by: baseline.gcmodel
like image 414
Tim Walsh Avatar asked Nov 03 '22 04:11

Tim Walsh


1 Answers

I know this a old question but for the people that just came across the issue, I think I found the solution. For me this was an issue with the simulator. Apparently the simulator creates some weird files the device cannot properly access.

Try doing the following in the following order and see if it goes away:

  1. Delete your app from the iOS Simulator and the devices and you have installed it on.
  2. On your iPhone / iPad (not the simulator), go to Settings > iCloud > Storage & Backup > Manage Storage > Your_app_name > Edit (top right) > Delete All.
  3. Try installing the app again on your device.

Hopefully the weird errors will no longer be there. Running the app on the simulator again though will probably create them all over again and you will have to repeat the procedure.

like image 100
George Marmaridis Avatar answered Nov 15 '22 09:11

George Marmaridis