Is there an environment variable for the target name of the parent Extension application

I want to set the extension bundle identifier to a script according to its parent application. (Therefore, I can reuse the extension without duplicating the purpose of the extension.

right now the extension is tied to it -

com.XXXXXX.FirstTargetName.QOD-Notification-Extention

I want to create a script that will run when the extension is created and dynamically set the package identifier to other target names.

Is there any environment variable that I can achieve to get the target name of the parent application.

thank

+4
source share
1 answer

Short answer: No (but I hope I'm wrong)

: , , script, . -, . , - .

, : " " Xcode?

: Bash script XCode - ?

0

Source: https://habr.com/ru/post/1653271/


All Articles