crash on Export for Localization

I have a project with 3 localizations. Since something I haven't noticed, when I do "Editor" > "Export for Localization" the xCode (version 10.2.1) is crashing.


I've tried to remove all then localized string files. I've try to export only one language. But it does not fix anything. I'm stuck and I don't want to recreate my project/workspace from scratch.


Any idea ?

Replies

Doesn't the trace tells you on which file you crash ?

What do you mean by trace ? It just crash without saying anything.


xCode crash log seems to give some clues :


Application Specific Information:

Sending buttonPressed: to <NSAlert: 0x7f8f02f96560> from <NSButton: 0x7f8efbed7ea0>

ProductBuildVersion: 10E1001

UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]

UserInfo: (null)

Hints:


Backtrace:

0 __exceptionPreprocess (in CoreFoundation)

1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)

2 objc_exception_throw (in libobjc.A.dylib)

3 -[CFPrefsConfigurationFileSource initWithConfigurationPropertyList:containingPreferences:] (in CoreFoundation)

4 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] (in CoreFoundation)

5 +[NSDictionary dictionaryWithObjects:forKeys:count:] (in CoreFoundation)

6 -[LOCXclocExportRequest _generateContentsJSON] (in Localization)

7 -[LOCXclocExportRequest _copyingSourceFilesWithError:] (in Localization)

8 __25-[LOCExportRequest start]_block_invoke_2 (in Localization)

9 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)

10 -[NSBlockOperation main] (in Foundation)

11 -[__NSOperationInternal _start:] (in Foundation)

12 __NSOQSchedule_f (in Foundation)

13 _dispatch_call_block_and_release (in libdispatch.dylib)

14 _dispatch_client_callout (in libdispatch.dylib)

15 _dispatch_continuation_pop (in libdispatch.dylib)

16 _dispatch_async_redirect_invoke (in libdispatch.dylib)

17 _dispatch_root_queue_drain (in libdispatch.dylib)

18 _dispatch_worker_thread2 (in libdispatch.dylib)

19 _pthread_wqthread (in libsystem_pthread.dylib)

20 start_wqthread (in libsystem_pthread.dylib)