Issues with adding a pod file to my Xcode project

后端 未结 2 1259
一生所求
一生所求 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).

提交回复
热议问题