Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sgs1

macrumors newbie
Original poster
Jul 14, 2014
28
0
Hi everybody!

I have an sql file. How i can import it in Xcode project or in my app?
Thanks for the reply!
 
Cmd+Shift+Option. (I believe that's the correct key combination; I don't have a Mac in front of me at the moment.) You should then get a dialogue box that lets you browse for the file. At the bottom of the dialogue box is a check box which, if checked, will cause the file to be copied rather than moved. This is true for any file you add to your project.

Please note that your app's bundle is read-only. So if you want to write to the database, you need to copy the file to your app's document folder when the app launches.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.