Scrivener iOS syncing via Dropbox continues to crash the app

Same issue as original poster: upgraded to iOS 13 and scrivener crashes when either syncing with dropbox or accessing the editor menu of the scrivener settings from the iOS settings app.

The Scrivener’s staff seem to have no time now for react at this bug. I find a work around for “sync” for those who use iMazing. Test before and use it with care…

  1. Connecting iPhone with Mac via USB.
  2. On iMazing : iPhone>Files>Scrivener>Dropbox.
  3. Back up and close the Scrivener’ file that needs to be “sync”.
  4. Slide this Scrivener file from Dropbox Finder on Dropbox iMazing.
  5. When the file appearing on iPhone, open it, and choose Ignore Sync.
  6. Working on file.
  7. By coming back on Mac, slide this Scrivener file from Dropbox iMazing on Dropbox Finder.

iPhone X working fine.

It could be that changes made to the Dropbox mechanism have caused its internal caching to require a refresh. In Settings, scroll down to the Scrivener section, and at the bottom of that you’ll find a section for resetting various aspects of Scrivener. You’re looking for a toggle that resets the Dropbox sync cache. Set that, and use the multitasking screen to restart Scrivener.

No way for me ! After three attempts, the app continue to crash !

Okay, if a reset doesn’t work, try to send us a crash report via Settings: Privacy: Analytics: Analytics Data. There will hopefully be some entries for Scrivener in here, and when viewing the raw data for one, you’ll find a “share” button in the top right corner. Send that in to our support address so we can take a look at it.

In the meanwhile, please note the section in the Mac user manual under §14.2.1, Basic Usage, on page 358. Dropbox is only one way of getting data on and off the device, and so there are alternatives until this can be sorted out. (Note iOS 13 broke AirDrop support, so that option isn’t available at the moment.)

You can also of course use iTunes to roll your device back to the stable OS and wait for early bugs to be sorted out.

Since there are mixed results being reported, what I’d suggest for anyone experience persistent crashing is to fully reset the sync environment:

  1. In Scrivener’s project screen, tap Edit and then the gear button.
  2. Select the option to unlink Dropbox. You’ll be given a choice here to move your projects to “local” storage or delete them. Do whatever works best for your situation. They won’t be deleted from Dropbox of course.
  3. Using your Mac, create a new folder Dropbox and leave it empty.
  4. Go through the Dropbox setup procedure on iOS, and when asked which folder to sync to, select this new empty folder.
  5. Run a test sync. There is nothing there, so nothing should happen, but this will test whether it works at all with your equipment.
  6. If it doesn’t throw an error or crash, then create one empty project on the iOS side and save it into the new sync folder. Test sync.
  7. All good still? Try modifying it slightly, sync again.
  8. Still good? Now try dragging one project from either your Mac or the iOS local storage into the Dropbox sync folder. Let it fully sync if you started from the Mac here. Now try from iOS.

At some point you may want to just try restoring all of your projects. If it goes without flaw then you should be okay here on out. But if it starts crashing again, you’ll want to get things back to a simpler state again, and see which project is the culprit.

Conformed:
Settings App -> Scrivener tap Editor and the Settings app crashes

The most recent report here for me is a Scrivener.cpu_ressource dated 2019-09-20, with version’s mention is iPhone OS 12.4.1, before upgrading to 13.0. Is that useful ?

Probably not! Hmm, that may mean the crash isn’t really happening in Scrivener if that makes sense. It could be the system itself or perhaps some aspect of Dropbox that wouldn’t associate itself with Scrivener (though I don’t think that’s possible with iOS). So next best bet is to cause a crash, note the date and time, and then look for any logs that occur at that time.

In my case Scrivener doesn’t crash anymore since I turned dark mode off and on again. But I still can’t sync. Notification says it can’t reach the host. The problem seems to be Dropbox, as I can’t connect to the Dropbox app anymore either.

(I’ll try the above mentioned steps in a minute)

Should the crash reports in analytics start with „Scrivener“ or do I have to search within other log files, e. g. „analytics daily“?

There is definitely a problem with Dropbox, I can’t even open dropbox.com on my iPhone, neither with Safari nor with iCab imitating a desktop browser.

I don’t think anything with the word “daily” in it will be terribly useful. Like I say, it’s more the precise time of the crash that is important, are there any reports from that time?

Hm, Dropbox works again (might just have been a bad Internet connection), but Scrivener still crashes on iPhone XS Max with iOS13 when trying to sync. It works on my iPad with iOS12.

I’d recommend installing iOS 13.1, released this morning, before proceeding with further troubleshooting.

Katherine

Okay, so this is highly mysterious. I tried the steps you suggested, unlinked Dropbox from the iPhone app, created a new folder and it worked. Then I copied my projects into that folder on my Mac, one by one, syncing in between each time. It worked on the phone with the first project, with the second, the third. When I added a fourth project and tried to sync Scrivener on iPhone once more, it crashed. So I thought I identified the bad guy. I deleted that project from my test-folder again and synced again. But still Scrivener crashed on the phone, even though the suspicous project wasn’t in the folder anymore. As if some tainted file still remained in that folder from the bad project.
So I deleted that test folder and created another one. I put that evil project (and only that one) into it and synced again – and it worked. I put another one in it and it worked. I put all other ones (a total of six) inside the folder and now it crashed again.
I repeated that process once more, put one project (that I was also suspicious of) inside another virgin folder and it worked, a second one, it worked, then put the rest inside (each of them had proved to work already in previous arrangements) and now it crashed. So I can confirm it is not one specific project that causes the crash but it seems to happen when a certain number of them is exceeded. Or randomly? I don’t get it.

I didn’t find any log file that fit the times of the crashes (but there’s lots of them, maybe I missed it). Certainly no log file that has “Scrivener” in the name.

And now I updated to 13.1, it still crashes.

Oh, and more information: For me as well the setting app crashed when I tapped „syncing & sharing“ (as discussed here: [url]https://forum.literatureandlatte.com/t/scrivener-1-2-ios-13-settings-syncing-sharing-crash/47178/1]), but I can’t reproduce that anymore after updating to 13.1

yes, me too