{"action":"opened","issue":{"url":"https://api.github.com/repos/lucascorrea/SCFacebook/issues/16","labels_url":"https://api.github.com/repos/lucascorrea/SCFacebook/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/lucascorrea/SCFacebook/issues/16/comments","events_url":"https://api.github.com/repos/lucascorrea/SCFacebook/issues/16/events","html_url":"https://github.com/lucascorrea/SCFacebook/issues/16","id":108152175,"number":16,"title":"pod lib lint SCFacebook.podspec  fails validation & thus fails importation into Swift","user":{"login":"valerius","id":2140679,"avatar_url":"https://avatars.githubusercontent.com/u/2140679?v=3","gravatar_id":"","url":"https://api.github.com/users/valerius","html_url":"https://github.com/valerius","followers_url":"https://api.github.com/users/valerius/followers","following_url":"https://api.github.com/users/valerius/following{/other_user}","gists_url":"https://api.github.com/users/valerius/gists{/gist_id}","starred_url":"https://api.github.com/users/valerius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valerius/subscriptions","organizations_url":"https://api.github.com/users/valerius/orgs","repos_url":"https://api.github.com/users/valerius/repos","events_url":"https://api.github.com/users/valerius/events{/privacy}","received_events_url":"https://api.github.com/users/valerius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-24T15:16:58Z","updated_at":"2015-09-24T15:16:58Z","closed_at":null,"body":"I modularize applications I create with Cocoapods (all in Objective C), which use SCFacebook  as a subspec which in turn, has subspec's for Faceebook. Currently, I may use the Facebook subspec's directly without issue, and may likewise use the sample app included in SCFacebook which also uses the Facebook spec's without issue (though all in Obj-C), yet using SCFacebook as a subspec causes problems when imported into a new Swift project with various messages which are likewise returned in the cocoapods lint of the podspec:\r\n\r\n```\r\npod lib lint SCFacebook.podspec \r\n\r\n -> SCFacebook (4.0)\r\n    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information.\r\n    - ERROR | xcodebuild:  FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginButton.h:21:9: error: include of non-modular header inside framework module 'FBSDKLoginKit.FBSDKLoginButton' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginKit/FBSDKLoginConstants.h:21:9: error: include of non-modular header inside framework module 'FBSDKLoginKit.FBSDKLoginConstants' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - NOTE  | xcodebuild:  /Users/ghost/Documents/projects/ic2/SCFacebook/SCFacebook/SCFacebook.h:28:9: fatal error: could not build module 'FBSDKLoginKit'\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupContent.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKAppGroupContent' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupContent.h:22:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKAppGroupContent' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteContent.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKAppInviteContent' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestContent.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKGameRequestContent' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKLikeButton.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKLikeButton' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKLikeObjectType.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKLikeObjectType' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKLikeControl.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKLikeControl' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKSharingContent.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKSharingContent' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKSendButton.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKSendButton' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphObject.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKShareOpenGraphObject' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareButton.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKShareButton' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareConstants.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKShareConstants' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareDialogMode.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKShareDialogMode' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphAction.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKShareOpenGraphAction' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKSharePhoto.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKSharePhoto' [-Werror,-Wnon-modular-include-in-framework-module]\r\n    - ERROR | xcodebuild:  FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKShareVideo.h:21:9: error: include of non-modular header inside framework module 'FBSDKShareKit.FBSDKShareVideo' [-Werror,-Wnon-modular-include-in-framework-module]\r\n\r\n```\r\n\r\nIt seems related to the matters concerning subspecs  hinted in post announcing Swift support:\r\n```\r\nhttp://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/\r\n```\r\nAnd exhibits errors listed therein at **Current Situation with Existing Podspecs / Common Header Pitfalls** \r\n\r\nI will continue to try and resolve it myself and share any findings in a pull request if discovered in a timely manner, etc. As direct usage of Facebook seems to work fine, but I prefer the simplicity of your API all things being equal. Thanks in advance if you have a few cycles, regardless, happy coding :)  \r\n\r\n"}}