{"action":"opened","issue":{"url":"https://api.github.com/repos/aliatsis/cordova-plugin-segment/issues/2","repository_url":"https://api.github.com/repos/aliatsis/cordova-plugin-segment","labels_url":"https://api.github.com/repos/aliatsis/cordova-plugin-segment/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/aliatsis/cordova-plugin-segment/issues/2/comments","events_url":"https://api.github.com/repos/aliatsis/cordova-plugin-segment/issues/2/events","html_url":"https://github.com/aliatsis/cordova-plugin-segment/issues/2","id":154536141,"number":2,"title":"iOS CocoaPods Integration","user":{"login":"monove","id":4366403,"avatar_url":"https://avatars.githubusercontent.com/u/4366403?v=3","gravatar_id":"","url":"https://api.github.com/users/monove","html_url":"https://github.com/monove","followers_url":"https://api.github.com/users/monove/followers","following_url":"https://api.github.com/users/monove/following{/other_user}","gists_url":"https://api.github.com/users/monove/gists{/gist_id}","starred_url":"https://api.github.com/users/monove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monove/subscriptions","organizations_url":"https://api.github.com/users/monove/orgs","repos_url":"https://api.github.com/users/monove/repos","events_url":"https://api.github.com/users/monove/events{/privacy}","received_events_url":"https://api.github.com/users/monove/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-12T17:20:13Z","updated_at":"2016-05-12T17:20:13Z","closed_at":null,"body":"I have installed CocoaPods in the `platforms/ios` folder using the following Pod file:\r\n```\r\nplatform :ios, '8.0'\r\n\r\ntarget 'MyProject' do\r\n  use_frameworks!\r\n  pod 'Analytics', '~> 3.0'\r\nend\r\n```\r\nWhen I then attempt to do a `cordova build ios` I get:\r\n```\r\nCheck dependencies\r\n\r\n=== BUILD TARGET MyProject OF PROJECT MyProject WITH CONFIGURATION Debug ===\r\n\r\nCheck dependencies\r\n\r\nPhaseScriptExecution Check\\ Pods\\ Manifest.lock build/MyProject.build/Debug-iphonesimulator/MyProject.build/Script-E5E6AE6D7B909D2BD710DAB4.sh\r\n    cd /Applications/XAMPP/xamppfiles/htdocs/MyProject-client/platforms/ios\r\n    /bin/sh -c /Applications/XAMPP/xamppfiles/htdocs/MyProject-client/platforms/ios/build/MyProject.build/Debug-iphonesimulator/MyProject.build/Script-E5E6AE6D7B909D2BD710DAB4.sh\r\ndiff: /../Podfile.lock: No such file or directory\r\ndiff: /Manifest.lock: No such file or directory\r\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following build commands failed:\r\n\tPhaseScriptExecution Check\\ Pods\\ Manifest.lock build/MyProject.build/Debug-iphonesimulator/MyProject.build/Script-E5E6AE6D7B909D2BD710DAB4.sh\r\n(1 failure)\r\nError: Error code 65 for command: xcodebuild with args: -xcconfig,/Applications/XAMPP/xamppfiles/htdocs/MyProject-client/platforms/ios/cordova/build-debug.xcconfig,-project,MyProject.xcodeproj,ARCHS=i386,-target,MyProject,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Applications/XAMPP/xamppfiles/htdocs/MyProject-client/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Applications/XAMPP/xamppfiles/htdocs/MyProject-client/platforms/ios/build/sharedpch\r\n```\r\n\r\nWhat am I doing wrong? Or better yet, what are the exact steps I should take. Up until now I have not used CocoaPods at all."}}