我想在SwiftyRSA 2中添加
pod 'SwiftyRSA', :git => 'git@github.com:TakeScoop/SwiftyRSA.git', :branch => 'swift-2.3'吊舱误差
[!] Invalid `Podfile` file: syntax error, unexpected tFID, expecting keyword_end.
# from /Users/sina/Desktop/dev/test/Podfile:7
# -------------------------------------------
# # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
> pod 'SwiftyRSA', :git => 'git@github.com:TakeScoop/SwiftyRSA.git', :branch => 'swift-2.3' use_frameworks!
#
# -------------------------------------------gitHub链路感谢你的帮助
发布于 2018-05-20 06:49:40
在podfile末尾添加 end
platform :ios, '8.3'
install! 'cocoapods', :integrate_targets => false
pod 'SwiftLint', '0.17.0'
target 'SwiftyRSA iOS'
target 'SwiftyRSA watchOS'
target 'SwiftyRSA tvOS'
end发布于 2018-05-20 06:39:34
您是直接从GitHub存储库自述文件复制的吗?如果是这样的话,我的猜测是,您可能有一些隐藏的字符,这些字符会导致问题,因为您在那里获得的格式是有效的。尝试将该行复制到文本编辑器中,并将其转换为纯文本。
https://stackoverflow.com/questions/50423837
复制相似问题