App crashing after clicking user's conversation. (This bug has been seen after the commit 'Rename file and remove unnecessary file' ><)
2017-10-20 00:56:03.216808+0800 Swift Chat Demo 2[12966:1132882] [MC] Lazy loading NSBundle MobileCoreServices.framework
2017-10-20 00:56:03.219186+0800 Swift Chat Demo 2[12966:1132882] [MC] Loaded MobileCoreServices.framework
2017-10-20 00:56:03.278304+0800 Swift Chat Demo 2[12966:1132882] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/mayyeung/Library/Developer/CoreSimulator/Devices/92BEB4D0-8E51-4760-9457-33A8174A0E2F/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-10-20 00:56:03.293732+0800 Swift Chat Demo 2[12966:1132882] [Warning] Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a tableview cell's content view. We're considering the collapse unintentional and using standard height instead.
2017-10-20 00:56:04.056805+0800 Swift Chat Demo 2[12966:1132882] [MC] Reading from private effective user settings.
2017-10-20 00:56:13.138948+0800 Swift Chat Demo 2[12966:1138420] User logged in with UserRecordID 3ade1b07-9a5f-46e5-a518-ca2e2bcc8143.
2017-10-20 00:56:14.408910+0800 Swift Chat Demo 2[12966:1132882] Received response = {
conversations = (
{
"_access" = (
{
level = write;
role = "conversation-admin-ff57eceb-41ec-41ec-a8c6-0cc1fbf1534e";
},
{
level = read;
role = "conversation-participant-ff57eceb-41ec-41ec-a8c6-0cc1fbf1534e";
}
);
"_created_at" = "2017-10-18T10:12:44.528524Z";
"_created_by" = "cb301e92-e324-42a9-8683-34c36fa5289f";
"_id" = "conversation/ff57eceb-41ec-41ec-a8c6-0cc1fbf1534e";
"_ownerID" = "cb301e92-e324-42a9-8683-34c36fa5289f";
"_updated_at" = "2017-10-18T10:12:44.528524Z";
"_updated_by" = "cb301e92-e324-42a9-8683-34c36fa5289f";
"admin_ids" = (
"cb301e92-e324-42a9-8683-34c36fa5289f"
);
"distinct_by_participants" = 1;
"last_message" = "<null>";
"last_message_ref" = "<null>";
"last_read_message" = "<null>";
"last_read_message_ref" = "<null>";
"participant_ids" = (
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143",
"cb301e92-e324-42a9-8683-34c36fa5289f"
);
title = may;
"unread_count" = 0;
},
{
"_access" = (
{
level = write;
role = "conversation-admin-33cb0d39-5ac2-498c-bf23-d46ff75394a3";
},
{
level = read;
role = "conversation-participant-33cb0d39-5ac2-498c-bf23-d46ff75394a3";
}
);
"_created_at" = "2017-10-18T10:05:35.729515Z";
"_created_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_id" = "conversation/33cb0d39-5ac2-498c-bf23-d46ff75394a3";
"_ownerID" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_updated_at" = "2017-10-18T10:05:35.729515Z";
"_updated_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"admin_ids" = (
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
"distinct_by_participants" = 1;
"last_message" = "<null>";
"last_message_ref" = "<null>";
"last_read_message" = "<null>";
"last_read_message_ref" = "<null>";
"participant_ids" = (
"1533baec-f9a9-49a7-9421-88ea18324724",
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
title = david;
"unread_count" = 0;
},
{
"_access" = (
{
level = write;
role = "conversation-admin-e5ac2683-35a6-404b-afb8-cd50cf71fdcf";
},
{
level = read;
role = "conversation-participant-e5ac2683-35a6-404b-afb8-cd50cf71fdcf";
}
);
"_created_at" = "2017-10-18T07:27:33.835647Z";
"_created_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_id" = "conversation/e5ac2683-35a6-404b-afb8-cd50cf71fdcf";
"_ownerID" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_updated_at" = "2017-10-18T07:27:33.835647Z";
"_updated_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"admin_ids" = (
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
"distinct_by_participants" = 1;
"last_message" = "<null>";
"last_message_ref" = "<null>";
"last_read_message" = "<null>";
"last_read_message_ref" = "<null>";
"participant_ids" = (
"6213ecb8-fc1d-421f-b1b5-b312f223f9b1",
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
title = ten;
"unread_count" = 0;
}
);
}
Fetched Conversations
2017-10-20 00:56:14.468436+0800 Swift Chat Demo 2[12966:1132882] Received response = {
conversations = (
{
"_access" = (
{
level = write;
role = "conversation-admin-ff57eceb-41ec-41ec-a8c6-0cc1fbf1534e";
},
{
level = read;
role = "conversation-participant-ff57eceb-41ec-41ec-a8c6-0cc1fbf1534e";
}
);
"_created_at" = "2017-10-18T10:12:44.528524Z";
"_created_by" = "cb301e92-e324-42a9-8683-34c36fa5289f";
"_id" = "conversation/ff57eceb-41ec-41ec-a8c6-0cc1fbf1534e";
"_ownerID" = "cb301e92-e324-42a9-8683-34c36fa5289f";
"_updated_at" = "2017-10-18T10:12:44.528524Z";
"_updated_by" = "cb301e92-e324-42a9-8683-34c36fa5289f";
"admin_ids" = (
"cb301e92-e324-42a9-8683-34c36fa5289f"
);
"distinct_by_participants" = 1;
"last_message" = "<null>";
"last_message_ref" = "<null>";
"last_read_message" = "<null>";
"last_read_message_ref" = "<null>";
"participant_ids" = (
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143",
"cb301e92-e324-42a9-8683-34c36fa5289f"
);
title = may;
"unread_count" = 0;
},
{
"_access" = (
{
level = write;
role = "conversation-admin-33cb0d39-5ac2-498c-bf23-d46ff75394a3";
},
{
level = read;
role = "conversation-participant-33cb0d39-5ac2-498c-bf23-d46ff75394a3";
}
);
"_created_at" = "2017-10-18T10:05:35.729515Z";
"_created_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_id" = "conversation/33cb0d39-5ac2-498c-bf23-d46ff75394a3";
"_ownerID" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_updated_at" = "2017-10-18T10:05:35.729515Z";
"_updated_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"admin_ids" = (
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
"distinct_by_participants" = 1;
"last_message" = "<null>";
"last_message_ref" = "<null>";
"last_read_message" = "<null>";
"last_read_message_ref" = "<null>";
"participant_ids" = (
"1533baec-f9a9-49a7-9421-88ea18324724",
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
title = david;
"unread_count" = 0;
},
{
"_access" = (
{
level = write;
role = "conversation-admin-e5ac2683-35a6-404b-afb8-cd50cf71fdcf";
},
{
level = read;
role = "conversation-participant-e5ac2683-35a6-404b-afb8-cd50cf71fdcf";
}
);
"_created_at" = "2017-10-18T07:27:33.835647Z";
"_created_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_id" = "conversation/e5ac2683-35a6-404b-afb8-cd50cf71fdcf";
"_ownerID" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"_updated_at" = "2017-10-18T07:27:33.835647Z";
"_updated_by" = "3ade1b07-9a5f-46e5-a518-ca2e2bcc8143";
"admin_ids" = (
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
"distinct_by_participants" = 1;
"last_message" = "<null>";
"last_message_ref" = "<null>";
"last_read_message" = "<null>";
"last_read_message_ref" = "<null>";
"participant_ids" = (
"6213ecb8-fc1d-421f-b1b5-b312f223f9b1",
"3ade1b07-9a5f-46e5-a518-ca2e2bcc8143"
);
title = ten;
"unread_count" = 0;
}
);
}
Fetched Conversations
2017-10-20 00:56:16.142377+0800 Swift Chat Demo 2[12966:1132882] Unknown class _TtC17Swift_Chat_Demo_214ViewController in Interface Builder file.
Could not cast value of type 'UIViewController' (0x10920abe0) to 'Swift_Chat_Demo_2.CustomSKYChatConversationViewController' (0x105ee9ad8).
2017-10-20 00:56:16.152723+0800 Swift Chat Demo 2[12966:1132882] Could not cast value of type 'UIViewController' (0x10920abe0) to 'Swift_Chat_Demo_2.CustomSKYChatConversationViewController' (0x105ee9ad8).
(lldb)