I lost my podfile

I lost my podfile and cannot 'pod update'. I think it's the cause of why I got 'This app couldn't be installed' in Simulator. How do you think? Wiil 'sudo gem install cocoapods' cause anything to my project? Do anyone has other solutions? Please help. Thanks.

Replies

I got the error 'Couldn't load project' but still can run the app successfully but still got 'This app could not be installed'. I found that I lost my podfile again but still can 'pod install' and 'pod update'. Anyone knows what is happenning?

This has nothing to do with Safari.

I fixed the problem by running sudo gem install cocoapods. But I lost the Podfile again because I run sudo gem install cocoapods -pre to update cocoapods. Can anyone help me?