{"action":"closed","issue":{"url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/87","labels_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/87/comments","events_url":"https://api.github.com/repos/jeduan/cordova-plugin-facebook4/issues/87/events","html_url":"https://github.com/jeduan/cordova-plugin-facebook4/issues/87","id":117799804,"number":87,"title":"Building error on Xcode 7.1.1","user":{"login":"bboyjeans","id":3773090,"avatar_url":"https://avatars.githubusercontent.com/u/3773090?v=3","gravatar_id":"","url":"https://api.github.com/users/bboyjeans","html_url":"https://github.com/bboyjeans","followers_url":"https://api.github.com/users/bboyjeans/followers","following_url":"https://api.github.com/users/bboyjeans/following{/other_user}","gists_url":"https://api.github.com/users/bboyjeans/gists{/gist_id}","starred_url":"https://api.github.com/users/bboyjeans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboyjeans/subscriptions","organizations_url":"https://api.github.com/users/bboyjeans/orgs","repos_url":"https://api.github.com/users/bboyjeans/repos","events_url":"https://api.github.com/users/bboyjeans/events{/privacy}","received_events_url":"https://api.github.com/users/bboyjeans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T12:03:50Z","updated_at":"2015-11-19T12:07:36Z","closed_at":"2015-11-19T12:07:36Z","body":"Hi I got the following error when build in Xcode 7.1.1:\r\n\r\n```\r\nUndefined symbols for architecture x86_64:\r\n  \"_FBTokenInformationExpirationDateKey\", referenced from:\r\n      -[PFFacebookTokenCachingStrategy cacheTokenInformation:] in Parse(PFFacebookTokenCachingStrategy.o)\r\n      -[PFFacebookTokenCachingStrategy expirationDate] in Parse(PFFacebookTokenCachingStrategy.o)\r\n      -[PFFacebookTokenCachingStrategy setExpirationDate:] in Parse(PFFacebookTokenCachingStrategy.o)\r\n  \"_FBTokenInformationTokenKey\", referenced from:\r\n      -[PFFacebookTokenCachingStrategy accessToken] in Parse(PFFacebookTokenCachingStrategy.o)\r\n      -[PFFacebookTokenCachingStrategy setAccessToken:] in Parse(PFFacebookTokenCachingStrategy.o)\r\n  \"_FBTokenInformationUserFBIDKey\", referenced from:\r\n      -[PFFacebookTokenCachingStrategy facebookId] in Parse(PFFacebookTokenCachingStrategy.o)\r\n      -[PFFacebookTokenCachingStrategy setFacebookId:] in Parse(PFFacebookTokenCachingStrategy.o)\r\n  \"_OBJC_CLASS_$_FBAppCall\", referenced from:\r\n      objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)\r\n  \"_OBJC_CLASS_$_FBRequest\", referenced from:\r\n      objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)\r\n  \"_OBJC_CLASS_$_FBSession\", referenced from:\r\n      objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)\r\n  \"_OBJC_CLASS_$_FBSessionTokenCachingStrategy\", referenced from:\r\n      _OBJC_CLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)\r\n  \"_OBJC_METACLASS_$_FBSessionTokenCachingStrategy\", referenced from:\r\n      _OBJC_METACLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```\r\n\r\nI'm using Ionic but I don't think this matters. What I did was simply:\r\n`ionic plugin add cordova-plugin-facebook4 --variable APP_ID=\"MyAppID\" --variable APP_NAME=\"MyAppName\"`\r\n\r\n`ionic platform add ios`\r\n\r\n`ionic build ios`\r\n\r\nThanks\r\n"}}