Using 7.01. I'm trying all day to export our xliff for localizations. I spoke to several people at WWDC and had hoped most of these issues would be resolved in Xcode 7 - but alas not to be.
What are those issues? Well…I can't even test any of them because I can't export the project! I've already filed a bug, but this is stop-ship for me right now and I've got to twiddle my thumbs.
Everytime I do an export, I get this wonderful error that's totally useless:
9/29/15 1:33:07.878 PM Xcode[28186]: [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8228/IDEFoundation/Localization/IDELocalizationWork.m:527
Details: Failed to read strings file "/var/folders/3l/y2j2wt7x4_357qnkmcmbgc700000gn/T/Xcode3SourceStringsAdaptor-2EA23218-33BE-40AD-923B-FA228A574CD6/Localizable.strings", underlying error:
The data couldn’t be read because it isn’t in the correct format.
Object: <IDELocalizationWork>
Method: +readStringsWorkForContext:
Thread: <NSThread: 0x7ffdf0e19730>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.The file is empty. Great! I thought I remember being told that Xcode 7 wouldn't choke on empty strings files, but obviously that's not the case. OK - lets go through the project looking for any empty localization files. I've got a few thousand files…but I go through every single one and got rid of them all. I have double, triple and quadruple checked. I've run scripts to look for empty strings files, and so on.
Yet I still cannot export my xliff. Sorry but this is simple programming 101 - if I can't process an empty file - don't process an empty file. Why do I have to spend HOURS trying to find empty files for what should be a simple xcode conditional? And why can't the error tell me WHERE its getting this empty file?
OK enough ranting…I'm guessing Xcode is generating this nice empty file for me (boy is that helpful), does anyone else have ideas for what to do next? Otherwise I'm going to strip all localizations from my build and just screw them for now.