2017-07-28 44 views
0

我試圖在使用cocoaPods安裝Card.io時在我的設備上運行我的項目(iPhone 7 Plus:我已經將我的固件DiskImage複製到此Xcode文件夾) Xcode(8.2)與Swift 2.3。使用Xcode 8.2和Swift 2.3 Card.io的錯誤

但compilator表明我這個錯誤:

Undefined symbols for architecture arm64: 
    "_OBJC_CLASS_$_CardIOPaymentViewController", referenced from: 
type metadata accessor for __ObjC.CardIOPaymentViewController in CheckoutViewController.o 
    "_OBJC_CLASS_$_CardIOUtilities", referenced from: 
type metadata accessor for __ObjC.CardIOUtilities in CheckoutViewController.o 
ld: symbol(s) not found for architecture arm64 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

我Podfile包含:

pod 'PureLayout' 
pod 'Fabric', '~> 1.6.8' 
pod 'Crashlytics' 
pod 'AFNetworking' 
pod 'RealmSwift', '~> 0.98.6' 
pod 'MBProgressHUD' 
pod 'SDWebImage' 
pod 'HCSStarRatingView' 
pod 'DateTools' 
pod 'SWTableViewCell' 
pod 'Stripe' 
pod 'CardIO' 
pod 'SAMTextView' 
pod 'IQKeyboardManagerSwift', '4.0.5' 

我剛纔輸入pod install並推出它創造了.xcworkspace

我試着在模擬器上運行這個,但我無法得到這個工作。誰能幫我?

我也試過這個帖子的解決方案: CocoaPods error with Card.io

但是$(inherited)已經存在於我的其他鏈接器標誌一節。

我無法弄清楚它爲什麼不能在我的系統上工作。任何幫助將不勝感激。

回答