查詢bugly報了 -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (UserInfoModel) for key (root) because no class named "UserInfoModel" was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target).錯誤
1.網(wǎng)上有說改工程名會報嗡载。這個是會的
2.自己發(fā)現(xiàn)UserInfoModel是以前版本的一個類 后來更新刪除了 但有的用戶是一直更新上來的 ?執(zhí)行NSKeyedUnarchiver unarchiveObjectWithData會崩。? 但是最近2個月才爆發(fā)出來 應(yīng)該是iOS13以后會報這個錯