App installed outside of Xcode interrupts library code

I have a sample app here: https://github.com/AaronBratcher/MoneyTrak where, if I install it onto a device from Xcode it runs fine. (Shows a list of accounts) However if I archive and add the .ipa onto the device the database isn't initialized properly and I don't understand why. When the database is initially created in the AgileDB package, 2 tables should be created: __settings and __tableArrayColumns. If anyone can help, I would greatly appreciate it.

Replies

found my issue… it involved an assert with a bool returning func that didn't throw. somehow,, wrapping the method call in assert caused it to not run.