Issues with adding a pod file to my Xcode project

﹥>﹥吖頭↗ 提交于 2019-12-03 23:36:03

You have to create your PodFile in the same directory as your Blurr Messenger.xcodeproj.

In your case should be in /Users/sarabytestudios/Desktop/Blurr\Messenger/.

In that directory, create a file called PodFile where you must declare the cocoapods you want to include in your project (you can do it by hand or call pod init). The you must type pod install.

After that, you must open the new generated file called Blurr Messenger.xcworkspace.

1) Run 'pod init' command inside the project directory(directory containing YourProject.xcodeproj file)(This will create a Podfile, a YourProject.xcworkspace file, Podfile.lock file and a Pods folder)

2) Run 'pod install' command inside the same directory.

3)Open your project using YourProject.xcworkspace file and NOT the YourProject.xcodeproj file(otherwise build fails).

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!