coinbase / coinbase-ios-sdk

Integrate bitcoin into your iOS application with Coinbase
https://www.coinbase.com/
Apache License 2.0
171 stars 66 forks source link

Example project build errors with Podfile.lock and Manifest.lock #10

Closed PrabakarMP closed 9 years ago

PrabakarMP commented 9 years ago

Hi,

My Xcode is 6.3 and trying to run Coinbase example project. But, unable to build it. Your help is appreciated!

I downloaded Coinbase 2 from this link, [Note, I HAVE NOT CLONED THIS PROJECT..] https://github.com/coinbase/coinbase-ios-sdk

I did run pod install from the Example directory

After that I opened “example/coinbase.xcodeproj” Xcode project and trying to build. I am getting error as,

Diff: /../Podfile.lock: No such file or directory

Diff: /Manifest.lock: No such file or directory

The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Your help is appreciated!

PrabakarMP commented 9 years ago

It has been fixed. Able to build it with the following commands:

  1. sudo gem update --system
  2. sudo gem install cocoapods
  3. pod setup
  4. sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
  5. git clone git://github.com/coinbase/coinbase-ios-sdk.git

To run the example project, clone the repo, and run pod install from the Example directory first.

  1. go to Example directory
  2. Remove xcworkspace and podfile.lock files using the below command: rm -rf coinbase.xcworkspace rm Podfile.lock
  3. pod install
  4. Open coinbase.xcworkspace in Xcode