Passing version and build from main target to Notification Service extension.

Because of archiving a target needs to keep the same version in a notification service extension as the main app target, are there any option or workaround to do it automatically?

Passing version and build from main target to Notification Service extension.
 
 
Q