Disallowed Framework - libswiftXCTest.dylib

Xcode: 11.6

Deployment target: 11.0

After submiting to appstore I recieve email that:


ITMS-90726: Disallowed frameworks - Your app submission contains usages of the restricted framework libswiftXCTest.dylib. Remove these, rebuild and resubmit.

When I check the archive no such framework exists. It's not linked in the main app. I have no clue from where or how it's used.


Replies

Hello,

we receive the same warning today:
Code Block
ITMS-90726: Disallowed frameworks - Your app submission contains usages of the restricted framework libswiftXCTest.dylib. Remove these, rebuild and resubmit. 

also on
Xcode: 11.6
Deployment target: 11.0

What is the reason for this message and how can it be solved?