You may have solved it by yourself at this time, but I'm leaving an answer to help you.
If you installed it with CocoaPods, there are two ways.
If you used use_frameworks! as flag in Podfile first,
//Podfile
use_frameworks!
pod 'The corresponding framework'
You don't have to use Bridging-Header separately, but you can import it right away and use it.
// You use.swift
imported installed framework
Conversely, if you did not use use_frames! as flag in Podfile
//Podfile
pod 'The corresponding framework'
The framework must be imported into Bridging-Header before it can be used.
// App name-Bridging-Header
#import" corresponding framework.h"
Please feel free to let me know if there is anything wrong. :)
© 2024 OneMinuteCode. All rights reserved.