I have a really old iOS app write in Swift (firsts versions) on Xcode. I want to make a new version with Xojo.
For now users save their data on a text file on their own device. Data ara store in a text file. How can I retrieve their data in a future new version and convert to a new format (sqlite)?
I have a similar situation for a desktop app. The preferences have a version number. For a certain version number an SQLite database is created and values from the preferences transferred to the SQLite database. For testing I reset the version number in the preferences again and again.
See if the xml file is present. If it is then move the data into your database and delete/rename the xml. Otherwise just open the database and you are good to go.
Maybe build a specific feature in your older version that exports the text file to a folder accessible by all apps such as SpecialFolder.Documents… then produce your new version and have it migrate the data, allowing users the chance to migrate their data prior to deleting the older version from their devices?
As long as the bundle ID remains the same it doesn’t matter what tool you use to build the app. Could be Xcode and Xojo alternating releases if you really hated yourself