{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/4429","repository_url":"https://api.github.com/repos/realm/realm-cocoa","labels_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4429/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4429/comments","events_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4429/events","html_url":"https://github.com/realm/realm-cocoa/issues/4429","id":194660844,"number":4429,"title":"error: could not build Objective-C module 'Realm'","user":{"login":"i-schuetz","id":1381744,"avatar_url":"https://avatars.githubusercontent.com/u/1381744?v=3","gravatar_id":"","url":"https://api.github.com/users/i-schuetz","html_url":"https://github.com/i-schuetz","followers_url":"https://api.github.com/users/i-schuetz/followers","following_url":"https://api.github.com/users/i-schuetz/following{/other_user}","gists_url":"https://api.github.com/users/i-schuetz/gists{/gist_id}","starred_url":"https://api.github.com/users/i-schuetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-schuetz/subscriptions","organizations_url":"https://api.github.com/users/i-schuetz/orgs","repos_url":"https://api.github.com/users/i-schuetz/repos","events_url":"https://api.github.com/users/i-schuetz/events{/privacy}","received_events_url":"https://api.github.com/users/i-schuetz/received_events","type":"User","site_admin":false},"labels":[{"id":379172439,"url":"https://api.github.com/repos/realm/realm-cocoa/labels/build","name":"build","color":"2A0000","default":false},{"id":3303146,"url":"https://api.github.com/repos/realm/realm-cocoa/labels/T:Help","name":"T:Help","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-09T18:08:59Z","updated_at":"2016-12-09T20:23:53Z","closed_at":null,"body":"Hi, \r\n\r\nI was friendly told in https://github.com/realm/realm-cocoa/issues/1280 to open a new issue, since that one was already closed (it doesn't appear to be solved).\r\n\r\n## Goals\r\n\r\nUse realm in a framework target\r\n\r\n## Expected Results\r\n\r\nCompiles\r\n\r\n## Actual Results\r\n\r\nDoesn't compile:\r\n\r\n/xxxxxx/Pods/Realm/Realm/module.modulemap:2:21: Umbrella header 'Realm.h' not found\r\nCould not build Objective-C module 'Realm'\r\n\r\n## Steps to Reproduce\r\n\r\nPodfile:\r\n\r\n```ruby\r\nuse_frameworks!\r\n\r\n#framework\r\ntarget 'Providers' do\r\n    pod 'QorumLogs'\r\n    pod 'Alamofire', '~> 4.0'\r\n    pod 'Valet'\r\n    pod 'RealmSwift'\r\n    pod 'Reachability', '~> 3.2'\r\n    pod 'Starscream'\r\nend\r\n\r\ntarget 'my_ios_target' do\r\n    platform :ios, '8.0'\r\n    pod 'SwiftValidator', :git => 'https://github.com/i-schuetz/SwiftValidator.git', :branch => 'remove_delegate_callback'\r\n    pod 'SwiftCharts', :git => 'https://github.com/i-schuetz/SwiftCharts.git'\r\n    pod 'Google/SignIn'\r\n    pod 'SwipeView', '~> 1.3.2'\r\n    pod 'CMPopTipView', '~> 2.0'\r\n    pod 'KLCPopup', '~> 1.0'\r\n    pod 'ChameleonFramework/Swift', :git => 'https://github.com/ViccAlexander/Chameleon.git'\r\n    pod 'HockeySDK'\r\n    pod 'QorumLogs'\r\nend\r\n\r\ntarget 'my_osx_target' do\r\n    platform :osx, '10.10'\r\n    pod 'Nimble', '~> 5.0.0'\r\nend\r\n\r\n#performance\r\npost_install do |installer|\r\n    puts(\"Update debug pod settings to speed up build time\")\r\n    Dir.glob(File.join(\"Pods\", \"**\", \"Pods*{debug,Private}.xcconfig\")).each do |file|\r\n        File.open(file, 'a') { |f| f.puts \"\\nDEBUG_INFORMATION_FORMAT = dwarf\" }\r\n    end\r\nend\r\n```\r\n\r\n## Version of Realm and Tooling\r\n\r\nProductName:\tMac OS X\r\nProductVersion:\t10.12.1\r\nBuildVersion:\t16B2555\r\n\r\n/Applications/Xcode.app/Contents/Developer\r\nXcode 8.1\r\nBuild version 8B62\r\n\r\n/Users/xxxxxx/.rbenv/shims/pod\r\n1.2.0.beta.1\r\nRealm (2.1.1)\r\nRealmSwift (2.1.1)\r\n\r\n/bin/bash\r\nGNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)\r\n\r\n/usr/local/bin/carthage\r\n0.18.1\r\n(not in use here)\r\n\r\n/usr/bin/git\r\ngit version 2.9.3 (Apple Git-75)\r\n\r\n## Additional notes\r\n\r\n- I'm moving part of my code to a framework (same project). Before of this everything (same code, dependencies) was working.\r\n\r\n- None of the solutions from https://github.com/realm/realm-cocoa/issues/1280 helped.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/realm/realm-cocoa/issues/comments/266113944","html_url":"https://github.com/realm/realm-cocoa/issues/4429#issuecomment-266113944","issue_url":"https://api.github.com/repos/realm/realm-cocoa/issues/4429","id":266113944,"user":{"login":"jeffreybergier","id":7349616,"avatar_url":"https://avatars.githubusercontent.com/u/7349616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreybergier","html_url":"https://github.com/jeffreybergier","followers_url":"https://api.github.com/users/jeffreybergier/followers","following_url":"https://api.github.com/users/jeffreybergier/following{/other_user}","gists_url":"https://api.github.com/users/jeffreybergier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreybergier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreybergier/subscriptions","organizations_url":"https://api.github.com/users/jeffreybergier/orgs","repos_url":"https://api.github.com/users/jeffreybergier/repos","events_url":"https://api.github.com/users/jeffreybergier/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreybergier/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T20:23:53Z","updated_at":"2016-12-09T20:23:53Z","body":"@jpsim \r\n\r\nVersion 8.2 beta (8C30a)\r\nCocoapods 1.0.0\r\nRealm, 2.1.1\r\nRealmSwift, 2.1.1"}}
{"actor":{"display_login":"jeffreybergier"}}