title: How can I use Objective-C extension functions in Swift with XCode 12.2?
body: <p>As shown in the following screenshots, I have an NSString extension in Objective-C which is called in Swift. <br/>
  Recently, I used XCode 11.7 and it worked completely fine. Then I updated XCode to 12.2 and this error appeared. I tried again with XCode 11.7 and it still worked fine.<br/>
  It seems to only happen to Objective-C Extension functions because the rest of the Objective-C classes can be used normally in the Swift codes. In the bridging header file, at line 14, the &quot;UIImage+Overlay.h&quot; also has the same issue.<br/>
  How can I use Objective-C Extension in Swift codes with XCode 12.2?<br/>
  <br/>
  <a href="https://i.stack.imgur.com/0bTsU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0bTsU.png" alt="enter image description here" /></a>
  <br/>
  <br/>
  <a href="https://i.stack.imgur.com/Wvybq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wvybq.png" alt="enter image description here" /></a>
  <br/>
  <br/>
  <a href="https://i.stack.imgur.com/BpB3O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BpB3O.png" alt="enter image description here" /></a></p>