相关疑难解决方法(0)

项目构建中的CocoaPods错误

我无法构建使用CocoaPods的项目.我收到以下错误:

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.`
Run Code Online (Sandbox Code Playgroud)

$ pod install似乎工作正常,并将一个Pods项目添加到我的工作区.我试过$ pod update但这没有用.

似乎PODS_ROOT没有设定.

Podfile:

platform :ios, '6.0'

workspace 'Example.xcworkspace'
xcodeproj 'example/Example.xcodeproj' 

pod 'TestFlightSDK', '~> 1.3.0-beta.5'
pod 'TestFlightLogger', '~> 0.0.2'
pod 'CocoaLumberjack', '~> 1.6.2'
pod 'Reachability', '~> 3.1.0'
pod 'SBJson', '~> 3.2'
pod 'MKMapViewZoom', '~> 1.0.0'
Run Code Online (Sandbox Code Playgroud)

cocoa-touch objective-c build-error cocoapods

178
推荐指数
11
解决办法
13万
查看次数

'pod install'不会更新现有的pod

我正在尝试更新我的pod使用pod install并发现它没有正确更新,除非我删除原始pod.

是否需要一些额外步骤,或者是否存在导致更新失败的常见错误?

objective-c cocoapods

39
推荐指数
3
解决办法
3万
查看次数

标签 统计

cocoapods ×2

objective-c ×2

build-error ×1

cocoa-touch ×1