{"action":"created","issue":{"url":"https://api.github.com/repos/Cocoanetics/DTCoreText/issues/956","repository_url":"https://api.github.com/repos/Cocoanetics/DTCoreText","labels_url":"https://api.github.com/repos/Cocoanetics/DTCoreText/issues/956/labels{/name}","comments_url":"https://api.github.com/repos/Cocoanetics/DTCoreText/issues/956/comments","events_url":"https://api.github.com/repos/Cocoanetics/DTCoreText/issues/956/events","html_url":"https://github.com/Cocoanetics/DTCoreText/issues/956","id":137277873,"number":956,"title":"Framework/Module import fails","user":{"login":"ffried","id":1689782,"avatar_url":"https://avatars.githubusercontent.com/u/1689782?v=3","gravatar_id":"","url":"https://api.github.com/users/ffried","html_url":"https://github.com/ffried","followers_url":"https://api.github.com/users/ffried/followers","following_url":"https://api.github.com/users/ffried/following{/other_user}","gists_url":"https://api.github.com/users/ffried/gists{/gist_id}","starred_url":"https://api.github.com/users/ffried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffried/subscriptions","organizations_url":"https://api.github.com/users/ffried/orgs","repos_url":"https://api.github.com/users/ffried/repos","events_url":"https://api.github.com/users/ffried/events{/privacy}","received_events_url":"https://api.github.com/users/ffried/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-29T14:55:27Z","updated_at":"2016-03-19T13:39:38Z","closed_at":null,"body":"As discovered/mentioned in relation to issue #955 I'm not able to use DTCoreText as framework/module. I'm using it in a project where most of the code is written in Swift.\r\nHere's what I've tried so far:\r\n\r\n## Using Modules\r\n`import DTCoreText` in Swift **or**  `import @DTCoreText;` in the bridging header (Objective-C) gives me the following error:\r\n```\r\n/PATH/TO/DERIVED/DATA/Build/Intermediates/DTCoreText.build/CONFIGURATION-iphoneos/DTCoreText (iOS).build/module.modulemap:2:19: Umbrella header 'DTCoreText.h' not found\r\n```\r\n\r\nAnd this one where I have the import statement:\r\n```\r\nCould not build module 'DTCoreText'\r\n```\r\n\r\nThe generated module map file looks the following:\r\n```\r\nframework module DTCoreText {\r\n  umbrella header \"DTCoreText.h\"\r\n\r\n  export *\r\n  module * { export * }\r\n}\r\n```\r\n\r\nThe error shows up when trying to build/run the project.\r\n\r\n## Using Frameworks\r\n`#import <DTCoreText/DTCoreText.h>` in the bridging header (Objective-C) ends with this error:\r\n```\r\n/PATH/TO/PRODUCT-Bridging-Header.h:19:9: 'DTCoreText/DTCoreText.h' file not found\r\n```\r\nBut this error only shows up, when I try to archive the project. When building and running the project (on sim and device) it works fine.\r\n\r\n## Using it \"as is\"\r\nWhen importing DTCoreText with `#import \"DTCoreText.h\"` it'll fail when importing files from DTFoundation.\r\n"},"comment":{"url":"https://api.github.com/repos/Cocoanetics/DTCoreText/issues/comments/198705369","html_url":"https://github.com/Cocoanetics/DTCoreText/issues/956#issuecomment-198705369","issue_url":"https://api.github.com/repos/Cocoanetics/DTCoreText/issues/956","id":198705369,"user":{"login":"ffried","id":1689782,"avatar_url":"https://avatars.githubusercontent.com/u/1689782?v=3","gravatar_id":"","url":"https://api.github.com/users/ffried","html_url":"https://github.com/ffried","followers_url":"https://api.github.com/users/ffried/followers","following_url":"https://api.github.com/users/ffried/following{/other_user}","gists_url":"https://api.github.com/users/ffried/gists{/gist_id}","starred_url":"https://api.github.com/users/ffried/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffried/subscriptions","organizations_url":"https://api.github.com/users/ffried/orgs","repos_url":"https://api.github.com/users/ffried/repos","events_url":"https://api.github.com/users/ffried/events{/privacy}","received_events_url":"https://api.github.com/users/ffried/received_events","type":"User","site_admin":false},"created_at":"2016-03-19T13:39:37Z","updated_at":"2016-03-19T13:39:37Z","body":"@m1entus Just tried that. Used the latest commit of the develop branch of DTFoundation. No change, still the same error."}}