Why does my app take 10 seconds to launch?

Below are the very first few lines genarated at the inception of my app's life (before & afer appDidFinish (0.04 secs)

There are 3 things occuring that I do not understand:

1) the error showing in line 5 'SecCodeCopySigningInformation() returned 100013'.

What is this? Can I just ignore this???


2) the activity of mDNSResponser which browses for a key '....p6arpa'.

What causes this behavior? I am not aware of anything in my code which might do this....


3) the series of 6 denials by the sandbox daemon for file-read of 'com.apple.security.revocation.plist'.

Is this related to item 1 or 2?

Is there something in my code which might trigger this behavior?


The net result of all of this is that it takes my app >10 seconds to launch when it should take about 0.4 seconds.

BTW. it runs fine it just takes a long time to start.....


Any help appreicated!

Steve


8/10/15 12:38:36.281 PM MyNewMacApp[2145]: Product: MyNewMacApp
8/10/15 12:38:36.283 PM MyNewMacApp[2145]: Version: 1.0.1 - Build: 5782
8/10/15 12:38:36.284 PM MyNewMacApp[2145]: Country: US - Language: en
8/10/15 12:38:36.300 PM MyNewMacApp[2145]: CoreData: √
8/10/15 12:38:36.308 PM appleeventsd[52]: <rdar://problem/11489077> A sandboxed application with pid 2145, "MyNewMacApp" checked in with appleeventsd, but its code signature could not be validated ( either because it was corrupt, or could not be read by appleeventsd ) and so it cannot receive AppleEvents targeted by name, bundle id, or signature. Error=ERROR: #100013  { "NSDescription"="SecCodeCopySigningI 100013, -." }  (handleMessage()/appleEventsD.cp #2100) com.apple.root.default-qos
8/10/15 12:38:36.315 PM MyNewMacApp[2145]: MyNewMacApp.app launched by a 'Run' in Xcode
8/10/15 12:38:36.315 PM MyNewMacApp[2145]: DidFinishLaunching:  0.04 seconds 
8/10/15 12:38:36.516 PM MyNewMacApp[2145]: MyNewMacApp.app -> NOT a Service invocation
8/10/15 12:38:36.579 PM mDNSResponder[93]: AwdlD2d AwdlD2dStartBrowsingForKey: 'c2468befffe75dc300000000000008efip6arpa' Browsing service started
8/10/15 12:38:36.726 PM mDNSResponder[93]: AwdlD2d AwdlD2dStopBrowsingForKey: 'c2468befffe75dc300000000000008efip6arpa' Browsing service stopped
8/10/15 12:38:36.777 PM Xcode[551]:  DVTAssertions: Warning in /SourceCache/IDEFrameworks/IDEFrameworks-7720/IDEFoundation/Diagnostic/IDEClangDiagnosticActivityLogMessage.m:184
Details:  Unable to create location for diagnostic.
mainFile: /Users/steve/Documents/MacCompany/Workspace/MyNewMacApp/main/MyNewMacAppWindowController.m
startLine: 4294967295, endLine: 4294967295, startColumn: 4294967295, endColumn: 4294967295
startFile: <NULL>
endFile: <NULL>
Object:  <IDEClangDiagnosticActivityLogMessage: 0x7feb22e1d440>
Method:  -initWithDiagnostic:timestamp:pathMap:workingDirectory:documentURL:
Thread:  <NSThread: 0x7feb425f97c0>{number = 81, name = (null)}
Please file a bug at http:/
8/10/15 12:38:38.983 PM sandboxd[456]: ([449]) mdworker(449) deny file-read-data /Users/steve/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 29841646)
8/10/15 12:38:38.987 PM sandboxd[456]: ([449]) mdworker(449) deny file-read-data /Users/steve/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 29841646)
8/10/15 12:38:38.990 PM sandboxd[456]: ([449]) mdworker(449) deny file-read-data /Users/steve/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 29841646)
8/10/15 12:38:38.993 PM sandboxd[456]: ([449]) mdworker(449) deny file-read-data /Users/steve/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 29841646)
8/10/15 12:38:38.996 PM sandboxd[456]: ([449]) mdworker(449) deny file-read-data /Users/steve/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 29841646)
8/10/15 12:38:38.999 PM sandboxd[456]: ([449]) mdworker(449) deny file-read-data /Users/steve/Library/Preferences/com.apple.security.revocation.plist (import fstype:hfs fsflag:480D000 flags:250000025E diag:0 isXCode:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 29841646)
8/10/15 12:38:41.663 PM mDNSResponder[93]: AwdlD2d AwdlD2dStartBrowsingForKey: 'c2468befffe75dc300000000000008efip6arpa' Browsing service started
8/10/15 12:38:41.665 PM mDNSResponder[93]: AwdlD2d AwdlD2dStopBrowsingForKey: 'c2468befffe75dc300000000000008efip6arpa' Browsing service stopped
8/10/15 12:38:41.692 PM mDNSResponder[93]: AwdlD2d AwdlD2dStartBrowsingForKey: 'c2468befffe75dc300000000000008efip6arpa' Browsing service started
8/10/15 12:38:41.694 PM mDNSResponder[93]: AwdlD2d AwdlD2dStopBrowsingForKey: 'c2468befffe75dc300000000000008efip6arpa' Browsing service stopped
8/10/15 12:38:46.756 PM MyNewMacApp[2145]: RESIZED MAIN NOTIFICATION - bottom NOT Collapsed
Why does my app take 10 seconds to launch?
 
 
Q