{"action":"opened","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-webview-ios/issues/9","repository_url":"https://api.github.com/repos/phonegap/phonegap-webview-ios","labels_url":"https://api.github.com/repos/phonegap/phonegap-webview-ios/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-webview-ios/issues/9/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-webview-ios/issues/9/events","html_url":"https://github.com/phonegap/phonegap-webview-ios/issues/9","id":156961479,"number":9,"title":"Packaging Cordova Webview project as a separate .framework","user":{"login":"Ajaxy","id":357153,"avatar_url":"https://avatars.githubusercontent.com/u/357153?v=3","gravatar_id":"","url":"https://api.github.com/users/Ajaxy","html_url":"https://github.com/Ajaxy","followers_url":"https://api.github.com/users/Ajaxy/followers","following_url":"https://api.github.com/users/Ajaxy/following{/other_user}","gists_url":"https://api.github.com/users/Ajaxy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ajaxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ajaxy/subscriptions","organizations_url":"https://api.github.com/users/Ajaxy/orgs","repos_url":"https://api.github.com/users/Ajaxy/repos","events_url":"https://api.github.com/users/Ajaxy/events{/privacy}","received_events_url":"https://api.github.com/users/Ajaxy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T11:21:24Z","updated_at":"2016-05-26T11:21:24Z","closed_at":null,"body":"Hello.\r\n\r\nI want to make standalone `My.framework` for Swift projects, that only provides custom `MyViewController` (that internally extends `CDVViewController` and contains all needed HTML/JS content), that can be seamlessly used in any project (as kind of widget).\r\n\r\nWith help of [this tutorial](http://docs.phonegap.com/develop/1-embed-webview/ios/) I created Cocoa Touch Framework project instead of Single View Application and it seems to work well until the moment I try to insert it to another project — build fails with\r\n> ld: framework not found Cordova for architecture x86_64\r\n\r\nSeems that all cocoa pods frameworks (Cordova and all plugins) are not included in the bundle of the `My.framework` file. The point is that I don't want to package my framework as Cocoa Pod, I want that the using of it to be as simple as downloading and inserting `My.framework` file in any project.\r\n\r\nWhat am I doing wrong? How to make `My.framework` include all needed dependencies? May be I need some special settings or some special build/bundle (Now  I'm trying to simply copy the file from `MyFramework/Products/My.framework`).\r\n\r\nThank you."}}
{"actor":{"display_login":"Ajaxy"}}