I have a simple piece of code where I connect my sqliteDb.
My sqlite3\_prepare\_v2 though repeatedly fails. I narrowed it down to the following piece of code:

```
NSString *sqLiteDb = [[NSBundle mainBundle] pathForResource:@"xyz" ofType:@"sqlite3"];

```

sqLiteDb returns null. I don't know why - tried everything I could and followed many threads.
Really struggling here - please help.