{"action":"created","issue":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/593","repository_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/593/labels{/name}","comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/593/comments","events_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/593/events","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/593","id":130751969,"number":593,"title":"Cocoa Touch Framework support with public headers","user":{"login":"adil-hussain-84","id":17025131,"avatar_url":"https://avatars.githubusercontent.com/u/17025131?v=3","gravatar_id":"","url":"https://api.github.com/users/adil-hussain-84","html_url":"https://github.com/adil-hussain-84","followers_url":"https://api.github.com/users/adil-hussain-84/followers","following_url":"https://api.github.com/users/adil-hussain-84/following{/other_user}","gists_url":"https://api.github.com/users/adil-hussain-84/gists{/gist_id}","starred_url":"https://api.github.com/users/adil-hussain-84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adil-hussain-84/subscriptions","organizations_url":"https://api.github.com/users/adil-hussain-84/orgs","repos_url":"https://api.github.com/users/adil-hussain-84/repos","events_url":"https://api.github.com/users/adil-hussain-84/events{/privacy}","received_events_url":"https://api.github.com/users/adil-hussain-84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-02T17:20:24Z","updated_at":"2016-02-04T19:45:57Z","closed_at":null,"body":"I'm trying to use this Gradle J2ObjC plugin for creating a Cocoa Touch Framework and I'm questioning whether it is suitable for that purpose in its current form.\r\n\r\nMy project uses the recommended **SharedCode**, **Android** and **iOS** module setup but what I'm generating from my **Android** and **iOS** modules is a library/framework rather than an application.\r\n\r\nHere is the problem I'm currently facing...\r\n\r\nIn my **SharedCode** module I have an interface called `IAppIDManager`. This is translated using the Gradle J2ObjC plugin and I can reference it in my **iOS** module no problem. I have an `AppIDManager.h` header in my **iOS** module which is a public header and which imports the translated `IAppIDManager.h` header as follows:\r\n\r\n    #import \"IAppIDManager.h\"\r\n\r\nThe **iOS** module compiles fine in Xcode and I can produce my framework.\r\n\r\nNow this is where the problem is: when I try to use the generated framework in an iOS application, the application cannot find the `IAppIDManager.h` file which is imported by the `AppIDManager.h` header and hence falls over.\r\n\r\nSo, question is: is it possible to import a header generated by the Gradle J2ObjC output in a header which is public within my Framework? And, if so, how?"},"comment":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/comments/180020006","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/issues/593#issuecomment-180020006","issue_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/593","id":180020006,"user":{"login":"brunobowden","id":679339,"avatar_url":"https://avatars.githubusercontent.com/u/679339?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobowden","html_url":"https://github.com/brunobowden","followers_url":"https://api.github.com/users/brunobowden/followers","following_url":"https://api.github.com/users/brunobowden/following{/other_user}","gists_url":"https://api.github.com/users/brunobowden/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobowden/subscriptions","organizations_url":"https://api.github.com/users/brunobowden/orgs","repos_url":"https://api.github.com/users/brunobowden/repos","events_url":"https://api.github.com/users/brunobowden/events{/privacy}","received_events_url":"https://api.github.com/users/brunobowden/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T19:45:56Z","updated_at":"2016-02-04T19:45:56Z","body":"Thanks @advayDev1. @adil-hussain-84 - I think the best way to approach this is to modify the Podfile entries and then keep running \"pod install\" from the Xcode directory to see if you can get it working - you would not use the plugin to do this. Then once you get a working Podfile, describe the differences (including HEADER_SEARCH_PATHS if needed) in this issue. At that point, it should be possible to either modify the plugin yourself or educate us enough to do it for you. Though I'd strongly suggest doing it yourself as you'll be able to test it and we can still give constructive feedback."}}