Issues with adding a pod file to my Xcode project

后端 未结 2 1255
一生所求
一生所求 2021-02-19 04:46

I\'ve been trying to create a pod file for my project in my directory using the terminal, but I\'m running into the issue shown below, any suggestions?

I tried restarti

相关标签:
2条回答
  • 2021-02-19 05:11

    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).

    0 讨论(0)
  • 2021-02-19 05:19

    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.

    0 讨论(0)
提交回复
热议问题