{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3318","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3318/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3318/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3318/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3318","id":64560293,"number":3318,"title":".pch wont recognise included files","user":{"login":"mikeRozen","id":11506268,"avatar_url":"https://avatars.githubusercontent.com/u/11506268?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeRozen","html_url":"https://github.com/mikeRozen","followers_url":"https://api.github.com/users/mikeRozen/followers","following_url":"https://api.github.com/users/mikeRozen/following{/other_user}","gists_url":"https://api.github.com/users/mikeRozen/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeRozen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeRozen/subscriptions","organizations_url":"https://api.github.com/users/mikeRozen/orgs","repos_url":"https://api.github.com/users/mikeRozen/repos","events_url":"https://api.github.com/users/mikeRozen/events{/privacy}","received_events_url":"https://api.github.com/users/mikeRozen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-26T15:40:53Z","updated_at":"2015-03-30T20:22:13Z","closed_at":null,"body":"Header import wont be recognised in .pch in the subsec\r\n```\r\nPod::Spec.new do |s|\r\n  s.name         = \"YooshUiIos\"\r\n  s.version      = \"0.0.2\"\r\n  s.summary      = \"A short description of YooshUiIos.\"\r\n\r\n\r\ns.frameworks   = ['Foundation', 'UIKit', 'CoreGraphics', 'QuartzCore']\r\n#s.xcconfig = { 'OTHER_LDFLAGS' => '-force_load' }\r\ns.prefix_header_file = 'YooshUiIos-Prefix.pch'\r\ns.requires_arc = true\r\n  s.description  = <<-DESC\r\n                   A longer description of YooshUiIos in Markdown format.\r\n\r\n                   * Think: Why did you write this? What is the focus? What does it do?\r\n                   * CocoaPods will be using this to generate tags, and improve search results.\r\n                   * Try to keep it short, snappy and to the point.\r\n                   * Finally, don't worry about the indent, CocoaPods strips it!\r\n                   DESC\r\n\r\n  s.homepage     = \"http://EXAMPLE/YooshUiIos\"\r\n  s.author       = { \"Mike\" => \"blabla@gmail.com\" }\r\n  s.platform     = :ios, \"7.0\"\r\n  s.source       = { :git => \"git@bitbucket.org:bla/bla.git\" }\r\n\r\ns.public_header_files = 'UIHelpers/ARNStyles.h','UIHelpers/ARNCGAdditions.h'\r\ns.source_files = 'UIHelpers/MGConferenceDatePicker/*.{h,m}','UIHelpers/ARNCGAdditions.{h,m}','UIHelpers/ARNStyles.{h,m}'\r\n\r\n\r\n#ForkmatterKit - WorkAround Start------------------------------------------------------------\r\ns.subspec 'AddressFormatter' do |ss|\r\n   ss.requires_arc = true\r\n#ss.public_header_files = \"UIHelpers/ARNStyles.h\",\"UIHelpers/ARNCGAdditions.h\"\r\n   ss.ios.source_files  = \"Pods/FormatterKit/FormatterKit/TTTAddressFormatter.{h,m}\"\r\n end\r\n\r\nend\r\n```\r\n\r\nThe validation with ```spec ``` will fail. Validation with ```lib ``` will pass. \r\n```\r\nPods-YooshUiIos-prefix.pch:24:9: fatal error: 'ARNStyles.h' file not found\r\n```\r\nWhen I use it as pod in my library everything  get downloaded and compiled.\r\n\r\nAnother strange issue that I notice is even when it pass validation and in case I have more then one supspec ONLY last subspec will be generated.... And I actually can see it in the logs that he rebuild every subspec from  beginning.\r\nCan you please suggest what can be done? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/87819121","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3318#issuecomment-87819121","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3318","id":87819121,"user":{"login":"kylef","id":44164,"avatar_url":"https://avatars.githubusercontent.com/u/44164?v=3","gravatar_id":"","url":"https://api.github.com/users/kylef","html_url":"https://github.com/kylef","followers_url":"https://api.github.com/users/kylef/followers","following_url":"https://api.github.com/users/kylef/following{/other_user}","gists_url":"https://api.github.com/users/kylef/gists{/gist_id}","starred_url":"https://api.github.com/users/kylef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylef/subscriptions","organizations_url":"https://api.github.com/users/kylef/orgs","repos_url":"https://api.github.com/users/kylef/repos","events_url":"https://api.github.com/users/kylef/events{/privacy}","received_events_url":"https://api.github.com/users/kylef/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T20:22:13Z","updated_at":"2015-03-30T20:22:13Z","body":"@mikeRozen Can you please add an example project or full steps to reproduce this issue? This pod spec won't work since the source is redacted."}}