project-imas / encrypted-core-data

v2.0 - iOS Core Data encrypted SQLite store using SQLCipher
Other
785 stars 236 forks source link

EncryptedCoreData at containerURLForSecurityApplicationGroupIdentifier in iOS causes silent crash when application enters background #316

Open AKoulabukhov opened 5 years ago

AKoulabukhov commented 5 years ago

Steps to reproduce:

  1. Use EncryptedCoreData 3.1 with databaseURL at containerURLForSecurityApplicationGroupIdentifier (App Group container URL).
  2. Run app.
  3. Add store to coordinator
  4. Press home button
  5. AppDelegate's applicationDidEnterBackground become called, then application closes without any logs, errors or exceptions.

What else is known

Only App Group + ECD produces this results without any debug information. Hope somebody can help.