In my app i have integrated Googlemap using CocoaPod.
Now I want to integrate CitrusPay using CocoaPod but when i have execute pod install command on terminal then i am getting error -
[!] Invalid Podfile file:
The target Pods-MyApp already has a platform set..
platform :ios, '8.1'
i have the same question with you,and than search answer in the internet,but nothing ,so i solve question myself, step: first : sure you 'Podfile' file only have "platform:ios,'version'" one time; second : add "target 'yourtarget'do" in the file top; third : add "end" in the file bottom.
you must maintain your "Podfile" file have formatter: enter image description here
you will solve this question, wish can help you.thanks.