Friday, July 26, 2024
HomeiOS Developmentfirebase - iOS app container construction modified - database not discovered

firebase – iOS app container construction modified – database not discovered


At the moment I am downloading my in-development iOS app container (.xcappdata) from Xcode’s gadgets and simulators window in an effort to see what’s saved within the app utilizing Core Information (and finally use that container to run my exams utilizing testplans). The difficulty is that I am unable to discover the file I am searching for, which is often named myapp.sqlite. A fast seek for .sqlite or .db information and I discover nothing that ressemble my Core Information objects.

10 days in the past I did the identical and located myapp.sqlite, with a very totally different construction of the container. At the moment I am unable to discover the folder Library>Utility Assist (which contained the database) as an exemple (see beneath for container construction).

I do know some issues have modified in my app in 10 days, so I am rolling again my git to 11 days in the past and operating and operating my app, downloading the container, however the container is roughly the identical as earlier than rolling again. The one technique to discover an “outdated container” (with a .sqlite) is to delete the app and run with the outdated git model of the app.

Extra particulars about what modified:

  • Core Information fashions have been eliminated and another have been added
  • Firebase SDK was added (solely the next packages : Crashlytics, Performances, AnalyticsWithoutAdId, and RemoteConfig)

What did not modified:

  • the Core Information configuration and app conf was and is ready to save lots of in CloudKit
  • identical iOS model
  • identical gadget
  • identical macOS model
  • identical mac
  • identical Xcode model

Outdated container construction:

AppData
    - CloudKit
        - somerandomhash
        - cloudd_db
    - Library
        - Utility Assist
        - Caches
        - Preferences
        - Saved Utility State
        - SplashBoard
        - SyncedPreferences

New container construction:

AppData
    - CloudKit
        - somerandomhash
        - cloudd_db
    - Library
        - Caches
        - Saved Utility State
        - SyncedPreferences
        - WebKit

Anybody has any perception on what has occurred ? How can I discover my Core Information objects domestically ? And the way can I get an app container that accommodates my Core Information objects in an effort to run UI exams with these objects already there ? (I attempted to make use of the updated container that is modified but it surely does not appear to be any information when operating my exams)



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments