{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3639","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3639/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3639/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3639/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3639","id":84279490,"number":3639,"title":"Include Pod's Bridging-Header to Build Settings of Project's Target not working","user":{"login":"steffimueller","id":5350431,"avatar_url":"https://avatars.githubusercontent.com/u/5350431?v=3","gravatar_id":"","url":"https://api.github.com/users/steffimueller","html_url":"https://github.com/steffimueller","followers_url":"https://api.github.com/users/steffimueller/followers","following_url":"https://api.github.com/users/steffimueller/following{/other_user}","gists_url":"https://api.github.com/users/steffimueller/gists{/gist_id}","starred_url":"https://api.github.com/users/steffimueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steffimueller/subscriptions","organizations_url":"https://api.github.com/users/steffimueller/orgs","repos_url":"https://api.github.com/users/steffimueller/repos","events_url":"https://api.github.com/users/steffimueller/events{/privacy}","received_events_url":"https://api.github.com/users/steffimueller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-06-03T00:31:22Z","updated_at":"2015-06-03T15:00:36Z","closed_at":"2015-06-03T11:25:58Z","body":"I created a question for this on stack overflow here is the content: \r\n\r\nI created an objective-c pod with two files:\r\n\r\n```\r\nSource/SomeViewController.h\r\nSource/SomeViewController.m\r\n```\r\nI also created a bridging header in the pod:\r\n\r\nSource/Bridging-Header.h\r\nwith the content:\r\n\r\n```\r\n#import \"SomeViewController.h\"\r\n```\r\nMy podspec looks like this:\r\n\r\n```\r\nPod::Spec.new do |s|\r\n  s.name = 'TestLib'\r\n  s.version = '0.0.1'\r\n  s.license = 'MIT'\r\n  s.ios.deployment_target = '7.0' \r\n  s.source_files = 'Source/*.{h,m}'\r\n  s.requires_arc = true\r\n  s.xcconfig = { 'SWIFT_OBJC_BRIDGING_HEADER' => 'Source/Bridging-Header.h' } \r\nend \r\n```\r\nI created a demo project did pod init and inserted my pod. Then after pod install I get the following output:\r\n\r\nInstalling TestLib 0.0.1 (was 0.0.1) Generating Pods project Integrating client project\r\n\r\n[!] The `TestLibProject [Debug]` target overrides the `SWIFT_OBJC_BRIDGING_HEADER` build setting defined in `Pods/Target Support Files/Pods-TestLibProject/Pods-TestLibProject.debug.xcconfig'. This can lead to problems with the CocoaPods installation\r\n    - Use the `$(inherited)` flag, or\r\n    - Remove the build settings from the target.\r\n\r\n[!] The `TestLibProject [Release]` target overrides the `SWIFT_OBJC_BRIDGING_HEADER` build setting defined in `Pods/Target Support Files/Pods-TestLibProject/Pods-TestLibProject.release.xcconfig'. This can lead to problems with the CocoaPods installation\r\n    - Use the `$(inherited)` flag, or\r\n    - Remove the build settings from the target.\r\nWhen I open my TestLibProject.xcworkspace file I see that the pod was installed correctly but the bridging header from the pod is not installed correctly. I my Swift project I tried to do:\r\n\r\n```\r\nlet vc: SomeViewController\r\n```\r\nThis gives an error because the bridging header from the pod ist not installed.\r\n\r\nHow do I have to configure the podspec in order to get the bridging header of the pod being installed correctly?"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/108471397","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3639#issuecomment-108471397","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3639","id":108471397,"user":{"login":"neonichu","id":118992,"avatar_url":"https://avatars.githubusercontent.com/u/118992?v=3","gravatar_id":"","url":"https://api.github.com/users/neonichu","html_url":"https://github.com/neonichu","followers_url":"https://api.github.com/users/neonichu/followers","following_url":"https://api.github.com/users/neonichu/following{/other_user}","gists_url":"https://api.github.com/users/neonichu/gists{/gist_id}","starred_url":"https://api.github.com/users/neonichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neonichu/subscriptions","organizations_url":"https://api.github.com/users/neonichu/orgs","repos_url":"https://api.github.com/users/neonichu/repos","events_url":"https://api.github.com/users/neonichu/events{/privacy}","received_events_url":"https://api.github.com/users/neonichu/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T15:00:36Z","updated_at":"2015-06-03T15:00:36Z","body":"The best course of action is probably to eliminate the need for bridging headers entirely by integrating as frameworks, see <https://guides.cocoapods.org/syntax/podfile.html#use_frameworks_bang> and <http://blog.cocoapods.org/CocoaPods-0.36/>"}}