Swift version: 5
tvOS Deployment Targe 15.6
Integrated with Swift Package manager
I am facing the following issue: My app runs perfect and without any issue on Simulator, but when publishing with TestFlight the app crashes on Start, only flickering. In Xcode Organizar I see that the crash is with the statement
db = try Connection("(path)/db.sqlite3")
here the complete code:
import SQLite
var db: Connection!
`do {
let path = NSSearchPathForDirectoriesInDomains(
.documentDirectory, .userDomainMask, true
).first!
db = try Connection("\(path)/db.sqlite3")
} catch let parsingError {
print ("ERROR", parsingError)
}
`It seams that the database is not possible to create on real AppleTV. Any idea?
Swift version: 5 tvOS Deployment Targe 15.6 Integrated with Swift Package manager
I am facing the following issue: My app runs perfect and without any issue on Simulator, but when publishing with TestFlight the app crashes on Start, only flickering. In Xcode Organizar I see that the crash is with the statement
db = try Connection("(path)/db.sqlite3")
here the complete code:
import SQLite
var db: Connection!
`do { let path = NSSearchPathForDirectoriesInDomains( .documentDirectory, .userDomainMask, true ).first!
`It seams that the database is not possible to create on real AppleTV. Any idea?
Many thanks for help Dietmar