Sure:
2012-01-21 18:23:35.272 QC DBSync Example[13582:fb03]
beginning of loopData 0 from server: {
"sync_type_GameResult" = {
UUID = "26642CB8-53E4-4299-A183-A2CD3483BD32";
eventType = create;
gameName = Neki;
player = {
"sync_type_Person" = {
UUID = "2C9B63A3-5304-4792-8DA2-0ACB5C86344F";
eventType = create;
games = (
{
UUID = "26642CB8-53E4-4299-A183-A2CD3483BD32";
}
);
name = Test;
updateTime = "2012-01-21 15:44:11";
};
};
score = 1234;
updateTime = "2012-01-21 15:44:11";
};
}
2012-01-21 18:23:35.273 QC DBSync Example[13582:fb03]
Starting new object from dictionary.
2012-01-21 18:23:35.273 QC DBSync Example[13582:fb03] type:
sync_type_GameResult description: {
UUID = "26642CB8-53E4-4299-A183-A2CD3483BD32";
eventType = create;
gameName = Neki;
player = {
"sync_type_Person" = {
UUID = "2C9B63A3-5304-4792-8DA2-0ACB5C86344F";
eventType = create;
games = (
{
UUID = "26642CB8-53E4-4299-A183-A2CD3483BD32";
}
);
name = Test;
updateTime = "2012-01-21 15:44:11";
};
};
score = 1234;
updateTime = "2012-01-21 15:44:11";
}
2012-01-21 18:23:35.274 QC DBSync Example[13582:fb03] working with a
GameResult
2012-01-21 18:23:35.275 QC DBSync
Example[13582:fb03] !!!!!!!!!!!!!!!!!!!!!!creating!!!!!!!!!!!!!!!!
2012-01-21 18:23:35.275 QC DBSync Example[13582:fb03] setting
attribute: gameName with value: Neki
2012-01-21 18:23:35.276 QC DBSync Example[13582:fb03] setting
attribute: UUID with value: 26642CB8-53E4-4299-A183-A2CD3483BD32
2012-01-21 18:23:35.276 QC DBSync Example[13582:fb03] setting
attribute: score with value: 1234
2012-01-21 18:23:35.277 QC DBSync Example[13582:fb03] setting
attribute: updateTime with value: 2012-01-21 15:44:11
2012-01-21 18:23:35.278 QC DBSync Example[13582:fb03]
Starting new object from dictionary.
2012-01-21 18:23:35.278 QC DBSync Example[13582:fb03] type:
sync_type_Person description: {
UUID = "2C9B63A3-5304-4792-8DA2-0ACB5C86344F";
eventType = create;
games = (
{
UUID = "26642CB8-53E4-4299-A183-A2CD3483BD32";
}
);
name = Test;
updateTime = "2012-01-21 15:44:11";
}
2012-01-21 18:23:35.278 QC DBSync Example[13582:fb03] working with a
Person
2012-01-21 18:23:35.279 QC DBSync
Example[13582:fb03] !!!!!!!!!!!!!!!!!!!!!!creating!!!!!!!!!!!!!!!!
2012-01-21 18:23:35.280 QC DBSync Example[13582:fb03] setting
attribute: UUID with value: 2C9B63A3-5304-4792-8DA2-0ACB5C86344F
2012-01-21 18:23:35.280 QC DBSync Example[13582:fb03] setting
attribute: name with value: Test
2012-01-21 18:23:35.281 QC DBSync Example[13582:fb03] setting
attribute: updateTime with value: 2012-01-21 15:44:11
2012-01-21 18:23:35.374 QC DBSync Example[13582:fb03] failed: Error
Domain=org.quickconnectfamily.qcsync Code=1 "*** -[__NSArrayI
objectAtIndex:]: index 2 beyond bounds [0 .. 0]" UserInfo=0x6ba89f0
{NSFilePath=sync:, NSUnderlyingError=0x6ba8970 "The operation couldn’t
be completed. Invalid argument", NSLocalizedDescription=*** -
[__NSArrayI objectAtIndex:]: index 2 beyond bounds [0 .. 0]}
2012-01-21 18:23:35.376 QC DBSync Example[13582:fb03] deleting
<NSManagedObject: 0x6ba7a10> (entity: Person; id: 0x6ba7a70 <x-
coredata:///Person/t55F54B26-4DFC-45A0-BEB5-00991FCB15B94> ; data: {
UUID = nil;
eventType = nil;
flaggedAsDeleted = nil;
games = (
);
isRemoteData = nil;
name = nil;
updateTime = nil;
})
2012-01-21 18:23:35.376 QC DBSync Example[13582:fb03] deleting
<NSManagedObject: 0xcf797c0> (entity: GameResult; id: 0xcf79820 <x-
coredata:///GameResult/t55F54B26-4DFC-45A0-BEB5-00991FCB15B93> ; data:
{
UUID = nil;
eventType = nil;
flaggedAsDeleted = nil;
gameName = nil;
isRemoteData = nil;
player = nil;
score = 0;
updateTime = nil;
})
2012-01-21 18:23:35.377 QC DBSync Example[13582:fb03] deleting
<NSManagedObject: 0x6d8e680> (entity: SyncTracker; id: 0x6d8e6d0 <x-
coredata:///SyncTracker/t55F54B26-4DFC-45A0-BEB5-00991FCB15B92> ;
data: {
lastSync = nil;
})
On 21 jan., 18:20, Barney Cit <
barney....@gmail.com> wrote:
> Could you post the error message as it is displayed?
>
> Sent from my iPad
>
> >> If you go tohttp://
www.quickconnectfamily.org/iOSDevConyouwill find a file called presentations.zip. In that zip file you will find a presentation on using the synchronization libraries, Enterprise_Sync.ppt. Included in this presentation you will find a slide containing the format of the JSON messages that the device will send and that the device expects. Each change for each object is sent. Included in each message regarding each change is the full description of the object at that time. This is shown on the slide as the key-value description. If you make changes using your app and then call sync you should be able to print out what the messages are for the objects you are using in your app.