
我采取的步骤是:
>在连接到Xcode的设备上运行应用程序
>通过设备面板下载我的数据。
>将.xcappdata命名为“simple.xcappdata”并将其拉入我的Xcode项目中
>选择“simple.xcappdata”作为我正在运行的方案中的应用程序数据
>运行应用程序,列表视图中没有数据。
我采取的步骤概述如下:http://corporationunknown.com/blog/2014/07/10/preloading-development-data-into-your-ios-app/
这是Xcode中的已知错误,我做错了什么,错过了什么?
我验证了.xcappdata包含sqlite数据库中的条目。
我正在运行XCode的6.3版(6D570)。 iOS 8.3 SDK。该应用程序位于商店中,因此我知道列表视图和核心数据堆栈正在运行。
写作博客的人用作参考,用以下内容更新了博客:
总结Update 2015-04-20: This worked great in Xcode 5. Unfortunately Xcode 6 (through 6.3 as of this writing) does not behave as described for the Simulator (it does load a device just fine). Versions <6.3 will tell you “The application data package will be installed the next time you run your app in the Simulator”—every time. Version 6.3 will just silently fail to load the package. I have reported this as rdar://20622011 / Open Radar
以上是内存溢出为你收集整理的ios – Xcode没有将.xcappdata加载到应用程序中全部内容,希望文章能够帮你解决ios – Xcode没有将.xcappdata加载到应用程序中所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)