CocoaPodsでNCMBのSDKのバージョン2.3.3を指定DLしたいのですが、 pod ’NCMB’, :git => ‘https://github.com/NIFTYCloud-mbaas/ncmb_ios.git’, ’~>2.3.3’
をpodファイルに書き込んだ時にエラーが出てしまいます。
環境
CocoaPods 1.2.1
Xcode 8.3.1
[!] Invalid `Podfile` file: syntax error, unexpected '\n', expecting => /Users/User_name/.ghq/bitbucket.org/User_name/App_name/Podfile:25: syntax error, unexpected keyword_do_block, expecting keyword_end installer.pods_project.targets.each do |target| ^ /Users/User_name/.ghq/bitbucket.org/User_name/App_name/Podfile:26: syntax error, unexpected keyword_do_block, expecting keyword_end target.build_configurations.each do |config| ^ /Users/User_name/.ghq/bitbucket.org/User_name/App_name/Podfile:29: syntax error, unexpected keyword_end, expecting end-of-input. # from /Users/User_name/.ghq/bitbucket.org/User_name/App_name/Podfile:5 # ------------------------------------------- # target 'App_name' do > pod 'NCMB', :git => 'https://github.com/NIFTYCloud-mbaas/ncmb_ios.git', '~>2.3.3' # pod 'FBSDKCoreKit' # ------------------------------------------- [!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
\n
がどっかに入っている?
と思い、atomで正規表現検索をしているのですが、該当する物が見つからず。
どこ直せばよいのかイマイチわかっていないので、アドバイス貰えますと大変ありがたいです。
追記
pod ’NCMB’, :git => ‘https://github.com/NIFTYCloud-mbaas/ncmb_ios.git’
だけだと問題なく最新版がDLできます。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。