{"action":"created","issue":{"url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/299","labels_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/299/comments","events_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/299/events","html_url":"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/299","id":56875508,"number":299,"title":"Cannot Build on Cordova 4.2.0","user":{"login":"fsbatista","id":7033810,"avatar_url":"https://avatars.githubusercontent.com/u/7033810?v=3","gravatar_id":"","url":"https://api.github.com/users/fsbatista","html_url":"https://github.com/fsbatista","followers_url":"https://api.github.com/users/fsbatista/followers","following_url":"https://api.github.com/users/fsbatista/following{/other_user}","gists_url":"https://api.github.com/users/fsbatista/gists{/gist_id}","starred_url":"https://api.github.com/users/fsbatista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsbatista/subscriptions","organizations_url":"https://api.github.com/users/fsbatista/orgs","repos_url":"https://api.github.com/users/fsbatista/repos","events_url":"https://api.github.com/users/fsbatista/events{/privacy}","received_events_url":"https://api.github.com/users/fsbatista/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-06T22:12:59Z","updated_at":"2015-02-14T15:35:05Z","closed_at":null,"body":"When I try to build the app, after doing the install, I get the following msg:\r\n```sh\r\nThe following build commands failed:\r\n\tCompileC build/side.build/Debug-iphonesimulator/side.build/Objects-normal/i386/SocialSharing.o side/Plugins/nl.x-services.plugins.socialsharing/SocialSharing.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n(1 failure)\r\nError: /PATH/Ionic Examples/side/platforms/ios/cordova/run: Command failed with exit code 65\r\n    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)\r\n    at ChildProcess.emit (events.js:98:17)\r\n    at maybeClose (child_process.js:756:16)\r\n    at Process.ChildProcess._handle.onexit (child_process.js:823:5)\r\n```\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/comments/74379461","html_url":"https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/299#issuecomment-74379461","issue_url":"https://api.github.com/repos/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/299","id":74379461,"user":{"login":"calendee","id":57374,"avatar_url":"https://avatars.githubusercontent.com/u/57374?v=3","gravatar_id":"","url":"https://api.github.com/users/calendee","html_url":"https://github.com/calendee","followers_url":"https://api.github.com/users/calendee/followers","following_url":"https://api.github.com/users/calendee/following{/other_user}","gists_url":"https://api.github.com/users/calendee/gists{/gist_id}","starred_url":"https://api.github.com/users/calendee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calendee/subscriptions","organizations_url":"https://api.github.com/users/calendee/orgs","repos_url":"https://api.github.com/users/calendee/repos","events_url":"https://api.github.com/users/calendee/events{/privacy}","received_events_url":"https://api.github.com/users/calendee/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T15:35:05Z","updated_at":"2015-02-14T15:35:05Z","body":"So, here's my \"fix\" for this.\r\n\r\n- Install 4.3.12 instead of 4.3.13\r\n```\r\ncordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#81c25f57e27edfbb5bef9709c845bc29c6e3179b\r\n```\r\n\r\n- Perform the cordova build from the command line (it will fail)\r\n```\r\ncordova build ios\r\n```\r\n\r\n- Add the `Social.framework` and `MessageUI.framework` to Xcode : Build Phases -> Link Binary With Libraries as described in README.\r\n\r\n- Build in Xcode one time\r\n- Now, can successfully use plugin and build from command line\r\n"}}