I have been having a problem with my project where I can install the app on my device but upon refreshing the project (holding down three fingers), with error handling added the message "Disk I/O Error" is displayed.
This started happening between 8th April and the morning of the 10th April (UK time)
The below example is based on the "sample-sqlite" project from Sample Projects
To reproduce the error
- Select "Run", then select "Build" (Or choose build and deploy and ignore step 2)
- Click "iOS", then select "Provision"
- Once installed the sample app functions as expected
- Refresh the project (holding down three fingers)
- Try writing to the database by adding a "task"
- The app seems to freeze due to the fact that an error has occurred
- Close app then re-open the app, nothing is displayed in the "task list"
This has been tested on multiple iOS devices (iOS 7.0 and iOS 7.1)
Other Details
Currently the only way to refresh the project at this time is to rebuild the project and rescan the QR Code.
It appears that projects built before the 8th April are able to be refreshed and continue to work as expected.
The "Download Package" box is styled differently. Working versions are shown as a grey box, the version that are not updating correctly are shown as a smaller blue box (this may or may not be related).
iPhone Configuration Utility Logs
On refreshing the app (holding down three fingers) the log is as follows:
Apr 14 17:11:34 Tanyas-iPad Cordova320[1242] <Warning>: Resetting plugins due to page load.
Apr 14 17:11:34 Tanyas-iPad Cordova320[1242] <Warning>: Finished load of: file:///var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Documents/index.html
Apr 14 17:11:35 Tanyas-iPad Cordova320[1242] <Warning>: Good news: SQLite is thread safe!
On closing and reopening the app, the log is as follows:
Apr 14 17:12:33 Tanyas-iPad kernel[0] <Debug>: launchd[1245] Container: /private/var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737 (sandbox)
Apr 14 17:12:33 Tanyas-iPad backboardd[31] <Error>: HID: The 'Passive' connection 'Cordova320' access to protected services is denied.
Apr 14 17:12:33 Tanyas-iPad Cordova320[1245] <Warning>: Multi-tasking -> Device: YES, App: YES
Apr 14 17:12:33 Tanyas-iPad Cordova320[1245] <Warning>: Unlimited access to network resources
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: [CDVTimer][splashscreen] 8.944035ms
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: [CDVTimer][TotalPluginStartup] 9.678006ms
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Resetting plugins due to page load.
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Finished load of: file:///var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Cordova320.app/www/index.html
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Detected docs path: /var/mobile/Applications/6888B79C-CC8E-448B-B0B5-3EBE2F234737/Documents
Apr 14 17:12:34 Tanyas-iPad Cordova320[1245] <Warning>: Good news: SQLite is thread safe!
Thank you in advance,
Tanya