xcodewatchkitunnotificationserviceextension

Can i inherit the Version and build from main app to my Extension app


since i have an extension app inside my main App and my main app update the version and build according to the commit. I am wondering if is possible to update the extension version and build according to my main app automatically.


Solution

  • If you add a user defined variable at the project level to hold the shared number, you can then use this variable to set the version number or build number in each target in the solution.

    The screen shots hopefully explain what I mean better ...

    Project Build Settings Info.plist