[!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword

xiaoxiao2021-02-28  13

此篇文章为记录使用pods过程中自己出现的一些问题

[!] Invalid `Podfile` file: syntax error, unexpected end-of-input, expecting keyword_end.

解决方法,在编辑此处时,添加end

platform :ios, '8.0'

target:'JDtest' do

pod 'Masonry'

end

[!] The dependency `Masonry` is not used in any concrete target.

解决方法,在编辑此处时,添加target, ⚠️target后的'JDtest',为项目名称,'项目名'

platform :ios, '8.0'

target:'JDtest' do

pod 'Masonry'

end

       

转载请注明原文地址: https://www.6miu.com/read-2632023.html

最新回复(0)