我想通過podfile安裝和使用SwiftyXMLParser(https://github.com/yahoojapan/SwiftyXMLParser)。該吊艙文件安裝庫中沒有任何問題,但只要我使用import語句在我的源代碼,並建立工程我與消息相處一堆錯誤"No such module SwiftyXMLParser"
無法安裝和使用SwiftyXMLParser庫通過pod
我使用的Xcode 7和斯威夫特2.3和我的podfile看起來像這樣。
Podfile
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
target 'ApplePaySwag' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for ApplePaySwag
pod 'SwiftyXMLParser', :git => 'https://github.com/yahoojapan/SwiftyXMLParser.git'
target 'ApplePaySwagTests' do
inherit! :search_paths
# Pods for testing
end
end
試過但沒有工作 – user2325154