Hi,
when trying to compose a HMTL email, the email composing screen is shown for a few seconds but then closes down automatically. It seems as if a nil argument causes the issue. This crash also applies to Corona’s own SMS/Email sample code - try to compile for XCode Simulator and see console for error report:
[lua]Process: MailCompositionService [4998]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/MailCompositionService.app/MailCompositionService
Identifier: MailCompositionService
Version: 2220.1
Code Type: X86-64 (Native)
Parent Process: launchd_sim [4701]
Responsible: launchd_sim [4701]
User ID: 501
Date/Time: 2014-09-28 11:54:02.821 +0200
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 06C18819-18FA-3462-EB92-32B6F9243D2D
Sleep/Wake UUID: DB53B035-8D39-4A93-A093-26C48F29194C
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** -[NSRegularExpression enumerateMatchesInString:options:range:usingBlock:]: nil argument’
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 110.2 - Device: iPhone 6 Plus - Runtime: iOS 8.0 (12A365) - DeviceType: iPhone 6 Plus[/lua]
I am using build 2014.2446, built for XCode Simulator, iOS8.
Is this a known bug?
Thanks,
Jens