Signatures created with OS X Mountain Lion 10.8.5 or earlier (v1 signatures) will be obsoleted and Gatekeeper will no longer recognize them. Users may receive a Gatekeeper warning and will need to exempt your app to continue using it. To ensure your apps will run without warning on updated versions of OS X, they must be signed on OS X Mavericks 10.9 or later (v2 signatures).
Apple says that if you build code with an older version of OS X, you should use OS X Mavericks 10.9 or later to sign your app and create v2 signatures using the codesign tool. Structure your bundle according to the signature evaluation requirements for OS X Mavericks 10.9 or later.
● Signed code should only be placed in directories where the system expects to find signed code.
● Resources should not be located in directories where the system expects to find signed code.
● The --resource-rules flag and ResourceRules.plist are not supported.
Developers should test their apps work properly with Gatekeeper on OS X Mavericks 10.9.5 and OS X Yosemite 10.10 Developer Preview 5 or later. Apps signed with v2 signatures will work on older versions of OS X.
For more details hit the link below...