coinbase / coinbase-ios-sdk

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

`pod try coinbase-official` errors #12

Closed robertkarl closed 8 years ago

robertkarl commented 8 years ago

Hi, looks like there's a few errors on the latest Xcode after running

pod try coinbase-official

Some swift errors

/var/folders/z5/2yprhwq93ss1rv44xc2j2lnnwmbtv2/T/CocoaPods/Try/coinbase-official/Example/coinbase/CoinbaseCurrenciesViewController.swift:21:21: warning: initialization of immutable value 'alertView' was never used; consider replacing with assignment to '_' or removing it
                let alertView = UIAlertView(title: "Error", message: error?.localizedDescription ?? "Unknown error.", delegate: nil, cancelButtonTitle: "OK")
                ~~~~^~~~~~~~~
                _
/var/folders/z5/2yprhwq93ss1rv44xc2j2lnnwmbtv2/T/CocoaPods/Try/coinbase-official/Example/coinbase/CoinbaseCurrenciesViewController.swift:36:76: error: downcast from 'UITableViewCell?' to 'UITableViewCell' only unwraps optionals; did you mean to use '!'?
        let cell = tableView.dequeueReusableCellWithIdentifier("currency") as? UITableViewCell

Missing header

/var/folders/z5/2yprhwq93ss1rv44xc2j2lnnwmbtv2/T/CocoaPods/Try/coinbase-official/Example/coinbase/CoinbaseViewController.m:12:9: fatal error: 'coinbase-Swift.h' file not found
#import "coinbase-Swift.h"
        ^
1 error generated.
14lox commented 8 years ago

@robertkarl We're pushing out a new version in the next few days which fixes these issues. Thanks for highlighting them.