CocoaPods无法正常工作

时间:2014-04-11 15:59:31

标签: ios cocoapods

我在新机器上安装了CocoaPods。

我的podfile文件就像这样:

platform :ios, '6.0'
pod 'MBProgressHUD', '~> 0.8'

但是当我运行 pod install

Unable to find a specification for `MBProgressHUD (= 0.8)`.

我尝试重新安装CocoaPods,但没有帮助。

1 个答案:

答案 0 :(得分:0)

试试这个:

#define FPS_INTERVAL 1.0 //seconds.

Uint32 fps_lasttime = SDL_GetTicks(); //the last recorded time.
Uint32 fps_current; //the current FPS.
Uint32 fps_frames = 0; //frames passed since the last recorded fps.

// you would initalise these in a main method, really.

void loop()
{
   //YOUR PAINTING STUFF HERE...
   //********//

   fps_frames++;
   if (fps_lasttime < SDL_GetTicks() - FPS_INTERVAL*1000)
   {
      fps_lasttime = SDL_GetTicks();
      fps_current = fps_frames;
      fps_frames = 0;
   }
}

Cocoapods - Unable to find a Specification for [Github framework]