[英]Integration Spotify sdk with other framework
I'm trying to include the Spotify downloaded from the official github. 我正在尝试包括从官方github下载的Spotify。 I copy / paste in my project. 我复制/粘贴我的项目。
However I can't import Spotify library. 但是我无法导入Spotify库。
I think it's due with my cocoapods library which have been installed with this corrsponding podfile: 我认为这是由于我的cocoapods库已与此相应的podfile安装在一起的:
use_frameworks!
target 'ApplicationTest' do
pod 'Facebook-iOS-SDK', '~> 3.21'
pod 'MBProgressHUD', '~> 0.9.1'
end
In the "Other Linker Flags" I have : -ObjC -framework "FBSDKLoginKit" etc.. 在“其他链接器标志”中,我有:-ObjC-框架“ FBSDKLoginKit”等。
I don't know what to do to use Spotify library 我不知道如何使用Spotify库
You need to import the Spotify.h header file via your app's bridging header. 您需要通过应用程序的桥接标头导入Spotify.h标头文件。
If you already have a bridging header in your project, simply add to it: 如果您的项目中已经有了桥接头,则只需添加到它:
#import <Spotify/Spotify.h>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.