0
向每个目标添加相同的窗格是多余的。“Podfile”文件无效:未初始化的常量
def RedundantPod
pod "Pod"
end
target 'targetOne' do
RedundantPod
end
target 'targetTwo' do
RedundantPod
end
以下设置将引发错误类型:[ ! ] Invalid Podfile file: uninitialized constant
。这里有什么问题?
这是一个拼写错误。即使我更改了双引号,初始化的常量错误也会返回。在连接到git:'pod“Pod”,:git =>“url”,:branch =>“master”'之前允许引用。 – Eric
那么,把整个podfile放在你的问题中,它会帮助我 –
你认为这可能是命名吗? – Eric