Could not find db file in user directory in IPhone simulator

On my mac, I am using Xcode 4.2 with iOS 5 sdk and Mac OS X 10.7.2.

I am developing an application based on Sqlite, so I can insert, select and delete data from this database.

when I run my application in the simulator, I see the database path in NSLog, but I could not access the database through this directory.

DB path that I received in the log: ==> / Users / username / Library / Application Support / iPhone Simulator / 5.0 / Applications / 3623C505-F568-4B18-986E-F2C7D71D5079 / Documents / SqlUser.sqlite

I could not see the library directory in the / username folder. Therefore, I cannot access the db file.

but on Mac OS X 10.6.8 with Xcode 3.2.5 iOS 4.2, I can see the library directory in the / username folder. Why is this not possible in 10.7.2?

Please help in this regard !!!

Thanks!!!

+6
source share
1 answer

Open the console and write:

chflags nohidden ~/Library/ 

press enter and browse ...

ta da!

+14
source

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


All Articles