{"action":"created","issue":{"url":"https://api.github.com/repos/Carthage/Carthage/issues/1401","repository_url":"https://api.github.com/repos/Carthage/Carthage","labels_url":"https://api.github.com/repos/Carthage/Carthage/issues/1401/labels{/name}","comments_url":"https://api.github.com/repos/Carthage/Carthage/issues/1401/comments","events_url":"https://api.github.com/repos/Carthage/Carthage/issues/1401/events","html_url":"https://github.com/Carthage/Carthage/issues/1401","id":167040983,"number":1401,"title":"Linking only embedded framework with other dynamic framework fails when build & run on device: \"required code signature missing\"","user":{"login":"evgeniyd","id":5212518,"avatar_url":"https://avatars.githubusercontent.com/u/5212518?v=3","gravatar_id":"","url":"https://api.github.com/users/evgeniyd","html_url":"https://github.com/evgeniyd","followers_url":"https://api.github.com/users/evgeniyd/followers","following_url":"https://api.github.com/users/evgeniyd/following{/other_user}","gists_url":"https://api.github.com/users/evgeniyd/gists{/gist_id}","starred_url":"https://api.github.com/users/evgeniyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evgeniyd/subscriptions","organizations_url":"https://api.github.com/users/evgeniyd/orgs","repos_url":"https://api.github.com/users/evgeniyd/repos","events_url":"https://api.github.com/users/evgeniyd/events{/privacy}","received_events_url":"https://api.github.com/users/evgeniyd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-22T13:05:00Z","updated_at":"2016-11-05T18:17:31Z","closed_at":"2016-07-27T12:27:11Z","body":"- `carthage version`: 0.17.2\n- `xcodebuild -version`: Xcode 8.0; Build version 8S162m\n- Are you using `--no-build`? YES, but just because I build the framework with Swift 2.3 toolchain\n- Are you using `--no-use-binaries`? NO\n- Are you using `--use-submodules`? NO\n\n**Cartfile**\n\n```\ngithub \"johnsundell/unbox\" ~> 1.8 #this is my Other.framework\n```\n\n**Carthage Output**\n\n```\nTBA\n```\n## Setup:\n\nMy setup is pretty simple (Swift 2.3 & Xcode 8B2):\n- Using Carthage I have build **Other.framework**\n- **MyApp** has embeded **My.framework** framework.\n- The app and framework projects are under one Xcode workspace.\n- I hade linked **Other.framework** to **My.framework** ONLY (that means, **MyApp** is not linked to **Other.framework** at all). The point here is that, **MyApp** does not need to use **Other.framework** API.\n## Problem:\n\nEverything seems to work fine, until I **Build & Run the app on the device**. The app launched and than the process is aborted with the following Xcode error:\n\n```\ndyld: Library not loaded: @rpath/Other.framework/Other  \n  Referenced from: /private/var/containers/Bundle/Application/DCF0331F-FF23-43CF-AE79-B3857D5A6EE3/MyApp.app/Frameworks/My.framework/My  \n  Reason: no suitable image found.  Did find:  \n  /private/var/containers/Bundle/Application/DCF0331F-FF23-43CF-AE79-B3857D5A6EE3/MyApp.app/Frameworks/My.framework/Frameworks/Other.framework/Other: required code signature missing for '/private/var/containers/Bundle/Application/DCF0331F-FF23-43CF-AE79-B3857D5A6EE3/MyApp.app/Frameworks/My.framework/Frameworks/Other.framework/Other'  \n```\n\nI have checked the signature of **Other.framework** and it looked OK to me. Moreover,\n## Workaround:\n\nLink **MyApp** with **Other.framework**. Horrible... This feels broken.\n\nLinking the very same binary **Other.framework** to **MyApp** and solving the issue this way, points out, the **Other.framework** is built OK and able to be re-signed correctly. Possibly, nothing to do with Carthage.\n"},"comment":{"url":"https://api.github.com/repos/Carthage/Carthage/issues/comments/258631010","html_url":"https://github.com/Carthage/Carthage/issues/1401#issuecomment-258631010","issue_url":"https://api.github.com/repos/Carthage/Carthage/issues/1401","id":258631010,"user":{"login":"jeremyhu","id":1258676,"avatar_url":"https://avatars.githubusercontent.com/u/1258676?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyhu","html_url":"https://github.com/jeremyhu","followers_url":"https://api.github.com/users/jeremyhu/followers","following_url":"https://api.github.com/users/jeremyhu/following{/other_user}","gists_url":"https://api.github.com/users/jeremyhu/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyhu/subscriptions","organizations_url":"https://api.github.com/users/jeremyhu/orgs","repos_url":"https://api.github.com/users/jeremyhu/repos","events_url":"https://api.github.com/users/jeremyhu/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyhu/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T18:17:31Z","updated_at":"2016-11-05T18:17:31Z","body":"Also, what do you mean by \"I have checked the signature of Other.framework and it looked OK to me\"?  Can you please be a bit more specific?  What is the output of:\r\n\r\n    codesign -vvv /path/to/MyApp.app\r\n    codesign -vvv /path/to/MyApp.app/Frameworks/My.framework/Frameworks/Other.framework\r\n"}}
{"actor":{"display_login":"jeremyhu"}}