FCUUID是一个Objective-C pod,我想将它集成到我的Swift项目中。
我的podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'ME' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for ME
pod 'PayPal-iOS-SDK'
pod 'FCUUID'
end
然后我尝试了导入FCUUID模块的方法:
let a = FCUUID()
#import "FCUUID.h"
(找不到'FCUUID.h'文件)但这一切都失败了。
那么将FCUUID导入Swift项目的正确方法是什么?
PS:
我已尝试过来自How to use Objective-C Cocoapods in a Swift Project?的所有方法,但它只是失败了......