无法编译Podfile“缺少输入而没有构建规则”

问题描述 投票:1回答:2

我目前无法在Xcode10中编译我的podfile,并且似乎没有关于如何解决此问题的在线信息...

我得到的当前消息是:

Showing All Messages
:-1: missing input '(File location)...Podfile.o' and no rule to build it

这是我的podfile:

source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

target 'App' do
project '/Users/Oskilla/Desktop/Swift/App/App.xcodeproj'
pod 'GoogleMaps'
pod 'GooglePlaces'
pod 'Google-Maps-iOS-Utils'
pod 'INSPhotoGallery'
end

有没有人对如何解决这个问题有任何想法?

非常感谢

swift xcode podfile
2个回答
1
投票

您不编译Podfile。您使用CocoaPods gem来安装和设置CocoaPods集成工作区:Getting Started with CocoaPods


0
投票

开放式终端,cd /toPodFileDir/,然后pod install

然后打开项目文件夹中的xcworkspace文件并尝试编译。

如果您在尝试上述操作后遇到错误,请告诉我,我可以编辑。

© www.soinside.com 2019 - 2024. All rights reserved.