`pod try coinbase-official` errors
Closed this issue · 1 comments
robertkarl commented
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
@robertkarl We're pushing out a new version in the next few days which fixes these issues. Thanks for highlighting them.