How to automate sqlite db creation in Xcode and put it in application bundle

I have a sqlite database that has a lot of test data in it. I am currently loading data inside the application code, but it takes a few minutes to use the iPod used for testing.

I wonder if it is possible to do pre-build tests in Xcode that are in db, then add it to the application package, so I can extract it from the iPod.

I am stuck in creating and pre-populating db ..

+3
source share
1 answer

, Ruby Python, ( Objective-C . ).

( Script) Script, , db.

, , , , db .

+1

Source: https://habr.com/ru/post/1730552/


All Articles