-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone 下来运行错误 #7
Comments
你pod install了么? |
哦,最后pod install解决了,不过由于AFN更新了,其中一些调用方法发生了变动,屏蔽了两个报红方法,播放器可以正常运行了,3q |
不应该啊,我这边AFNetworking3.1.0,没有任何报红的方法 |
CTVideoManager里面, - (void)resumeDownloadWithUrl:(NSURL *)url 和 - (void)downloadWithUrl:(NSURL *)url 这两个方法,调用AFN的[self.sessionManager downloadTaskWithRequest:request 我进入sessionManager查看了下这个方法
|
你的AFN是3.1.0的吗? |
这个怎么不知道怎么查看啊,我只是用你的Profile里面的库,直接pod install的,你的里面是 Uncomment this line to define a global platform for your projectplatform :ios, '9.0'target 'CTVideoView' do Uncomment this line if you're using Swift or would like to use dynamic frameworksuse_frameworks!Pods for CTVideoViewpod "AFNetworking" end |
你cd进~/.cocoapods/repos/master,然后git pull origin master,然后再回项目pod update一下。 |
照楼主的方法做了,
就是不知为啥自动导入的是低版本的...在看楼主写的RTNetworking,写的非常好. |
你是不是在你自己的项目里面引用CTPlayerView的?你直接在CTPlayerView这个项目里面pod install呢? |
是在CTVideoPlayerView项目里面,pod install的,也有可能是我pod安装的不正确,导致的. |
淘宝源已经不可用了,装cocoapods的时候gem source要换一个源。你可以网上搜一下,貌似是开源中国的源。 |
ok |
PhaseScriptExecution 📦\ Check\ Pods\ Manifest.lock /Users/ios/Library/Developer/Xcode/DerivedData/CTVideoView-gwmiwslchfcwozageloqcjhgajdy/Build/Intermediates/CTVideoView.build/Debug-iphonesimulator/CTVideoView.build/Script-C7F799C8385037A3FAE95CAE.sh
cd /Users/ios/Desktop/CTVideoPlayerView
/bin/sh -c /Users/ios/Library/Developer/Xcode/DerivedData/CTVideoView-gwmiwslchfcwozageloqcjhgajdy/Build/Intermediates/CTVideoView.build/Debug-iphonesimulator/CTVideoView.build/Script-C7F799C8385037A3FAE95CAE.sh
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
不知道是什么问题,缺少文件么?
The text was updated successfully, but these errors were encountered: