How Can I Open Podfile for Editing [Closed]

I used CocoaPods with my app I noticed I can't open pod file and the file turn to exec file like the image down, I need to edit it to add new libraries.

3

Open the Podfile with TextEdit use terminal

 $ cd "your_project_location"
 $ open -a TextEdit Podfile
4

I think you will try these steps :

1- $ cd Your file location

2- $ open -a Xcode Podfile

0

Open file from Terminal

vim Podfile

4

1.open podfile from terminal

$ cd "your_project_location that contain podfile"
$ nano Podfile

2.You can also open podfile using xcode

Right click to podfile and choose openwith xcode.

Drag and drop it to TextEdit or open project in XCode and edit there.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest