> On Mar 6, 2017, at 5:10 PM, David Duncan <david.dun...@apple.com> wrote: > >> >> On Mar 6, 2017, at 2:05 PM, davel...@mac.com wrote: >> >>> >>> On Mar 6, 2017, at 12:37 PM, Chris Ridd <chrisr...@mac.com> wrote: >>> >>> >>>> On 6 Mar 2017, at 13:28, davel...@mac.com wrote: >>>> >>>> I have an iOS app (Attendance2) written in Objective-C. One of my users >>>> upgraded to the public 10.3 iOS beta and reported he could no longer open >>>> his documents (I have a subclass of UIManagedDocument so they are Core >>>> Data files stored in the package/directory format that UIManagedDocument >>>> uses). I didn’t notice any issues with my test device using the developer >>>> beta of 10.3. He changed the file names from Arabic to Roman and then he >>>> said he could open them. >>>> >>>> Everything I do with NSString is via UTF8 (and it worked fine with Arabic >>>> letters for this person before updating to the 10.3 beta) so I don’t think >>>> I’m doing anything wrong. >>>> >>>> Any suggestions? >>> >>> If that iOS beta has upgraded the user’s filesystem to APFS, then it may be >>> an iOS bug that you need to report. >>> >>> Chris >> >> I'm assuming the public beta upgraded to APFS (as I believe I read the >> developer betas upgraded to APFS). I'm trying to figure out if this an Apple >> bug (i.e., either APFS isn't handling his Arabic filenames correctly or >> perhaps something went wrong in the upgrade from HFS+ to APFS) or if perhaps >> it is a bug in my app (I doubt since all I'm doing is taking the NSString >> they enter and using it as the filename). >> >> Is there anything else we could try to see which one of those it likely is? >> I'm going to ask him to create a new file and use an Arabic name and see if >> that works (i.e., was it just an issue with existing files in Arabic). > > I would highly recommend you file a bug that includes enough of your code to > reproduce the issue now. You can update it later if you determine it is your > issue. > > -- > David Duncan
If I had the time and could easily do that, I would but pairing my app down to just the minimal parts would be time consuming. It would probably be quicker to create a brand new app that creates a subclass of UIDocument and see if it happens with that. And then I need to figure out how to get my phone in to an Arabic locale (which should be easy), but more challenging is to get back out since I can't read Arabic and navigating the UI settings might be challenging. In the meantime, I've asked the person who ran into the problem to create a new document that uses Arabic as the filename and see if it happens with the new file. Thanks, Dave Reed _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com