appium: iOS Driver Build is Broken: SQLITE_CANTOPEN
I’ve tracked the problem down to there not being a Librarys/Keychains/TrustStore.sqlite3
directory in the sim’s data
dir, on Travis. Not sure why this would be. But the certificate trust store module then dies with SQLITE_CANTOPEN
error that is uncatchable, for some reason.
The temporary solution is probably to quarantine the test on Travis. See https://github.com/appium/appium-ios-driver/pull/201
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (14 by maintainers)
The most naive, brute force way to fix this is to create the paths/file/table. This is obviously fragile and can break without notice. Is there some way to trigger the simulator to create these files without have to manually recreate a SQLite database/table/schema?
Otherwise, here’s a patch for getting the file created. It goes in
appium-ios-simulator
. I’m not inclined to submit a PR for this since it’s sooo hacky:The schema was lifted from opening and inspecting the TrustStore DB after drag/dropping a self-signed cert onto the simulator and installing it.