For xCode v12 I solved that problem with one click:
TARGETS -> Build Phases -> Embed App Extensions
and check: Copy only when installing
For xCode v12 I solved that problem with one click:
TARGETS -> Build Phases -> Embed App Extensions
and check: Copy only when installing