New Target for project with an App Clip

I have a SwiftuI App which includes an App Clip. There is one target for the iOS app and one for the App Clip. All good.

But I want to create a new target for the test flight app so that test users can distinguish it from the App Store app. E.g. Test Flight app has a different icon Asset file in the target but includes all the other source code files.

However, when I try to build the test flight target I see the message:

The com.apple.developer.parent-application-identifiers entitlement (...]') of an App Clip must match the application-identifier entitlement ('...') of its containing parent app.

I can't figure how to do this without messing up the original production App. Any ideas?

Posted in the wrong forum and I cannot figure how to move it so I’m closing this post.

New Target for project with an App Clip
 
 
Q