Ionic 3 - xcode error with cocoapods
Open up terminal and run
pod deintegrate
This will remove all connections of pods and your project.
Then you can run
pod install
Please check the path of the xcode project
project 'MyProject.xcodeproj'
Does your podfile and the 'MyProject.xcodeproj' are located on the same directory ? If so you can try removing the ligne above from your podfile