{"action":"closed","issue":{"url":"https://api.github.com/repos/NativeScript/NativeScript/issues/871","labels_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/871/labels{/name}","comments_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/871/comments","events_url":"https://api.github.com/repos/NativeScript/NativeScript/issues/871/events","html_url":"https://github.com/NativeScript/NativeScript/issues/871","id":109358040,"number":871,"title":"Support ModuleMap Link Directives for Third Party iOS Framework Libraries","user":{"login":"mehfuzh","id":141204,"avatar_url":"https://avatars.githubusercontent.com/u/141204?v=3","gravatar_id":"","url":"https://api.github.com/users/mehfuzh","html_url":"https://github.com/mehfuzh","followers_url":"https://api.github.com/users/mehfuzh/followers","following_url":"https://api.github.com/users/mehfuzh/following{/other_user}","gists_url":"https://api.github.com/users/mehfuzh/gists{/gist_id}","starred_url":"https://api.github.com/users/mehfuzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehfuzh/subscriptions","organizations_url":"https://api.github.com/users/mehfuzh/orgs","repos_url":"https://api.github.com/users/mehfuzh/repos","events_url":"https://api.github.com/users/mehfuzh/events{/privacy}","received_events_url":"https://api.github.com/users/mehfuzh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T18:37:37Z","updated_at":"2015-10-02T00:14:24Z","closed_at":"2015-10-02T00:14:24Z","body":"I am trying to build a Couchbase-Lite pluign based on native __CouchbaseLite.Framework__ which requires SQLLite. One way to make this work is to manually add the following flag in generated app's build settings:\r\n\r\n```\r\nOTHER_LDFLAGS = $(inherited) -lsqlite3 –lz –framework CFNetwork –framework Security –framework SystemConfiguration\r\n\r\n```\r\n\r\nIdeally nativeScript should resolve it from more elegant module.modulemap approach, like when I have the following map file under CouchbaseLite.framework/Modules/ :\r\n\r\n```\r\nframework module CouchbaseLite {\r\n  umbrella header \"CouchbaseLite.h\"\r\n\r\n  link \"libsqlite3.dylib\"\r\n  link \"libz.dylib\"\r\n  link framework \"CFNetwork.framework\"\r\n  link framework \"Security.framework\"\r\n  link framework \"SystemConfiguration.framework\"\r\n\r\n  export *\r\n  module * { export * }\r\n}\r\n```\r\n\r\nIt should automatically add all the necessary libraries using __link__ directives. \r\n\r\nRepo Link:\r\nhttps://github.com/mehfuzh/couchbaselite-nativescript\r\n \r\n"}}