How can I open Podfile for editing [closed]

空扰寡人 提交于 2019-12-03 05:11:06

问题


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.


回答1:


Open the Podfile with TextEdit use terminal

 $ cd "your_project_location"
 $ open -a TextEdit Podfile



回答2:


I think you will try these steps :

1- $ cd Your file location

2- $ open -a Xcode Podfile




回答3:


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.




回答5:


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



来源:https://stackoverflow.com/questions/38307085/how-can-i-open-podfile-for-editing

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