Search code examples
iosrx-swiftrxtest

RxTest is still using libswiftXCTest.dylib


I'm facing an issue of "Disallowed framework" when submitting to App Store. The issue is as follows

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

Upon my research, I found that RxTest framework is still using restricted framework libswiftXCTest.dylib

Xcode Version : 11.6

RxSwift Version : 5.1.1

  1. How do I solve this issue ?
  2. Has RxTest resolved this issue ?

Solution

  • Don't import RxTest into your application. It should only be imported into the test target, not the application target.