Change your subfile in Xcode.
Open your subfile in Xcode. Edit it. Save it.
When you use TextEdit to edit a Pod file,
pod 'Fabric', '~> 1.7.1′ //notice the quotes
Open a subfile using Xcode.
pod 'Fabric', '~> 1.7.1'
Remove Podfile.lock from the folder.
Close the Xcode project.
Run pod install .
Open the ProjectName.xcworkspace file.
source share