在生产环境中使用数据集调试app的任何方法? [英] Any way to debug app with dataset in production environment?

查看:106
本文介绍了在生产环境中使用数据集调试app的任何方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 CloudKit 生产环境中的数据集略大于开发,和其他奇特的差异可能存在。

My CloudKit dataset in Production Environment is somewhat bigger than Development, and other exotic difference could exist.

有一个讨厌的死锁在生产模式下使用我的应用程序是否可以以任何方式调试客户端?或者我应该记录尽可能多的东西并以某种方式发送出来?

There is a nasty deadlock using my app in Production Mode. Is it possible to debug client in any way? Or should I log as many thing as possible and send somehow out?

这是一个线程问题,因此如果不检查Xcode中的线程,它实际上是做任何事情。任何想法?我正在使用Core Data进行本地存储。

It is a threading issue, so without examining threads in Xcode it is really though to do anything. Any idea? I am using Core Data to local storage.

推荐答案


  1. 回滚源代码中的更改,能够运行应用程序。

  2. 将生产环境中的记录同步到本地Core Data Storage。

  3. 从容器中复制出Xcode Device菜单中的sqlite数据库。

  4. 创建一个具有相同模型的临时项目,用数据库填充它。

  5. 设置临时项目以使用以前的CloudKit容器。

  6. 在仪表板中重置开发环境。

  7. 上传来自临时项目的所有记录。

  8. 使用原始源代码运行原始项目。

  1. Rollback changes in the source code, to be able to run app.
  2. Sync down records from Production Environment to local Core Data Storage.
  3. Copy out in Xcode Device menu the sqlite database from container.
  4. Create an temporary project with same model, populate it with the database.
  5. Set up temporary project to able to use previous CloudKit container.
  6. Reset Development Environment in Dashboard.
  7. Upload all record from temporary project.
  8. Run original project with original source code.

这篇关于在生产环境中使用数据集调试app的任何方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆