{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6813","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6813/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6813/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6813/events","html_url":"https://github.com/meteor/meteor/issues/6813","id":148081118,"number":6813,"title":"Cordova iOS framework embedding doesn't work","user":{"login":"ephemer","id":5485935,"avatar_url":"https://avatars.githubusercontent.com/u/5485935?v=3","gravatar_id":"","url":"https://api.github.com/users/ephemer","html_url":"https://github.com/ephemer","followers_url":"https://api.github.com/users/ephemer/followers","following_url":"https://api.github.com/users/ephemer/following{/other_user}","gists_url":"https://api.github.com/users/ephemer/gists{/gist_id}","starred_url":"https://api.github.com/users/ephemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephemer/subscriptions","organizations_url":"https://api.github.com/users/ephemer/orgs","repos_url":"https://api.github.com/users/ephemer/repos","events_url":"https://api.github.com/users/ephemer/events{/privacy}","received_events_url":"https://api.github.com/users/ephemer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-13T14:35:27Z","updated_at":"2016-04-13T15:14:42Z","closed_at":null,"body":"Hi guys, especially @martijnwalraven. I'm using Meteor version 1.3 – great work to the whole team for this, it feels like a major upgrade, especially with the mobile stuff.\r\n\r\nWe're trying to get back to a meteor-based deterministic build for our iOS project and are having trouble adding our custom framework at all. We'd expect to add this to our plugin's `plugin.xml`:\r\n\r\n    <platform name=\"ios\">\r\n        <framework src=\"build/MyCustomFramework.framework\" custom=\"true\" link=\"true\" />\r\n    </platform>\r\n\r\n..and have the framework appear in Xcode as a symlink, and added to Xcode's embed binaries build phase. This commit should have dealt with the issue of adding iOS frameworks to the embed phase: https://github.com/apache/cordova-lib/commit/737f2df4e5c8de205c90cc29614483ebcd71f605. But it's not working- it just adds the framework normally (and doesn't link it either, which is slightly less important at this stage)\r\n\r\nI went into to `~/.meteor/packages/meteor-tool/.1.3.1.101c02o++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/platforms/ios.js` and put a bunch of console.logs in the to try to see what was happening – it seems like nothing in this file gets called at all. Does meteor bypass `cordova-lib`'s plugman somehow?\r\n\r\nWhat's the best way to get this embedding (and hopefully linking) working?\r\nI'll put a small example project on GitHub shortly"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/209501606","html_url":"https://github.com/meteor/meteor/issues/6813#issuecomment-209501606","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6813","id":209501606,"user":{"login":"ephemer","id":5485935,"avatar_url":"https://avatars.githubusercontent.com/u/5485935?v=3","gravatar_id":"","url":"https://api.github.com/users/ephemer","html_url":"https://github.com/ephemer","followers_url":"https://api.github.com/users/ephemer/followers","following_url":"https://api.github.com/users/ephemer/following{/other_user}","gists_url":"https://api.github.com/users/ephemer/gists{/gist_id}","starred_url":"https://api.github.com/users/ephemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ephemer/subscriptions","organizations_url":"https://api.github.com/users/ephemer/orgs","repos_url":"https://api.github.com/users/ephemer/repos","events_url":"https://api.github.com/users/ephemer/events{/privacy}","received_events_url":"https://api.github.com/users/ephemer/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T15:14:41Z","updated_at":"2016-04-13T15:14:41Z","body":"https://github.com/ephemer/meteor-cordova-add-framework-issue-example\r\njust clone that repo, run `meteor run ios-device` and look at the resulting xcode project.\r\n\r\nClick on the project in the file navigator tree, and note that `MyFramework.framework` is listed under `Linked Frameworks and Libraries` but not under `Embedded Binaries`.\r\n\r\nAttempting to run the project on an actual device causes a crash on startup, because iOS expects to find the Framework in the app bundle, which only happens when it is present in `Embedded Binaries`."}}