Executing this file-copy works fine on an iPhone but throws an exception on an iPad....
Running on an iPad the error report......
I thought the file structure was identical between the devices....?
B4X:
File.Copy(File.DirAssets,"MyDatabase.sqlite",File.DirLibrary,"MyDatabase.sqlite")
Running on an iPad the error report......
Copying updated assets files (1)
Application_Start
Error occurred on line: 52 (main)
Error copying file: Error Domain=NSCocoaErrorDomain Code=260 "The operation couldn’t be completed. (Cocoa error 260.)" UserInfo=0x16e7fcb0 {NSFilePath=/private/var/mobile/Containers/Data/Application/E3DE5780-3630-4138-8400-96052B5F7EEF/tmp/virtual_assets/MyDatabase.sqlite, NSUnderlyingError=0x16e7fc20 "The operation couldn’t be completed. No such file or directory"}
Stack Trace: (..........
I thought the file structure was identical between the devices....?