4

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 ?
Tho Vu
  • 1,304
  • 2
  • 8
  • 20

2 Answers2

4

We had the same issue on our project. We used Carthage and in the copy-frameworks build phase we had also included the RxTest framework. Removing it from the build phase should solve the issue.

Amer Hukic
  • 1,494
  • 1
  • 19
  • 29
1

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

Daniel T.
  • 32,821
  • 6
  • 50
  • 72