Safari App Extension does not get added on Safari when Mac app runs for the first time

We have a Mac application.

The application contains Safari App Extension.


When we install (.pkg) and run the application for the first time, Safari App Extension does not get added on Safari (It is not shown at Preferences -> Extensions).

But, when we quit the Mac application and start it again, then Safari App Extension gets added on Safari successfully.


Can anyone please give me some pointers on this issue.

Replies

Can you please file a radar and attach a sysdiagnose?