C64Emulator
C64Emulator copied to clipboard
Can't see any files on iOS 15.2
Greetings!
I downloaded the master tree from github, built and installed with XCode 13.2.1 on an iPhone with iOS 15.2. I see the "Programs/Disks" selection, select "Disks", tap on "Upload", browse to the URL which is displayed on the device. I uploaded several files through the web interface - some are named .d64, others are named .sid. When closing+killing the app and restarting, the files are still there, so I think they have been transferred to the device. However, I can't see any. The screen remains empty.
- Which file format is expected, are .d64 files the right format?
- Is this a bug with iOS 15 (other issues seem to relate to older iOS versions)?
Thanks, l
Upon further inspection the problem seems to be that the database can't be opened because this line returns nil: https://github.com/AndyQ/C64Emulator/blob/7f024f532956b35b925059eaabd19240452ee129/C64Emulator/Utils/DatabaseManager.swift#L62
Apparently the app bundle is searched for a (sqlite?) file "games.db" and fails. I can't find this file in the project, is it there?
I fixed this by adding the games.db folder from the /resources/roms folder into the corresponding resources folder in Xcode, I can confirm it runs fine on IOS 16 with this small change.
markiehill, I see the file games.db in C64Emulator/Resources, not in /resources/roms. I don't understand what you mean with "corresponding resources folder in Xcode", could you give a few more details? On a sidenote, to make sure I have everything right I made a fresh clone from the repo. The install instructions say I should run "pod install", but there is no Podfile found. Do I have to run cocoapods or otherwise I will miss crucial files?
I updated this a while ago - from memory I just pulled down the code and then moved the games.db into the right place and everything worked perfectly for me.
I have enclosed a screenshot of where the games.db file should be.