{"action":"created","issue":{"url":"https://api.github.com/repos/ruslo/hunter/issues/873","repository_url":"https://api.github.com/repos/ruslo/hunter","labels_url":"https://api.github.com/repos/ruslo/hunter/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/ruslo/hunter/issues/873/comments","events_url":"https://api.github.com/repos/ruslo/hunter/issues/873/events","html_url":"https://github.com/ruslo/hunter/issues/873","id":241821886,"number":873,"title":"OpenCV bitcode","user":{"login":"ikliashchou","id":19432159,"avatar_url":"https://avatars1.githubusercontent.com/u/19432159?v=3","gravatar_id":"","url":"https://api.github.com/users/ikliashchou","html_url":"https://github.com/ikliashchou","followers_url":"https://api.github.com/users/ikliashchou/followers","following_url":"https://api.github.com/users/ikliashchou/following{/other_user}","gists_url":"https://api.github.com/users/ikliashchou/gists{/gist_id}","starred_url":"https://api.github.com/users/ikliashchou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikliashchou/subscriptions","organizations_url":"https://api.github.com/users/ikliashchou/orgs","repos_url":"https://api.github.com/users/ikliashchou/repos","events_url":"https://api.github.com/users/ikliashchou/events{/privacy}","received_events_url":"https://api.github.com/users/ikliashchou/received_events","type":"User","site_admin":false},"labels":[{"id":137324078,"url":"https://api.github.com/repos/ruslo/hunter/labels/broken%20package","name":"broken package","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-10T19:32:55Z","updated_at":"2017-07-11T11:49:18Z","closed_at":null,"body":"Actually trying to compile iOS framework with OpenCV 3.2.0 statically linked and have issues with archiving the project:\r\n\r\n`ld: bitcode bundle could not be generated because '/Users/HUNTER_ROOT/_Base/0dd355c/ee52902/928d405/Install/lib/libopencv_core.a(convert.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7`\r\n\r\nI'm using hunter 0.19.27 and polly toolchain ios-10-3-dep-8-0-bitcode.cmake with bitcode enabled.\r\n\r\nI have made already changes for OpenSSL to support bitcode with adapting the scheme for iOS bitcode, should I do the same for OpenCV to make it correctly linking or am I doing something wrong?"},"comment":{"url":"https://api.github.com/repos/ruslo/hunter/issues/comments/314419302","html_url":"https://github.com/ruslo/hunter/issues/873#issuecomment-314419302","issue_url":"https://api.github.com/repos/ruslo/hunter/issues/873","id":314419302,"user":{"login":"ikliashchou","id":19432159,"avatar_url":"https://avatars1.githubusercontent.com/u/19432159?v=3","gravatar_id":"","url":"https://api.github.com/users/ikliashchou","html_url":"https://github.com/ikliashchou","followers_url":"https://api.github.com/users/ikliashchou/followers","following_url":"https://api.github.com/users/ikliashchou/following{/other_user}","gists_url":"https://api.github.com/users/ikliashchou/gists{/gist_id}","starred_url":"https://api.github.com/users/ikliashchou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikliashchou/subscriptions","organizations_url":"https://api.github.com/users/ikliashchou/orgs","repos_url":"https://api.github.com/users/ikliashchou/repos","events_url":"https://api.github.com/users/ikliashchou/events{/privacy}","received_events_url":"https://api.github.com/users/ikliashchou/received_events","type":"User","site_admin":false},"created_at":"2017-07-11T11:49:18Z","updated_at":"2017-07-11T11:49:18Z","body":"https://medium.com/@heitorburger/static-libraries-frameworks-and-bitcode-6d8f784478a9\r\n\r\n> The marker or -fembed-bitcode-marker option for Bitcode is only useful for testing. You can have an app with Bitcode Enabled, using a binary from a library that was built with the -fembed-bitcode-marker setting, for example, and it'll work fine while you're testing. But if you try to Archive your app, you'll get an error such as this:\r\n>`ld: bitcode bundle could not be generated because ‘{project dir}/path/to/SomeLib.a’ was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64`\r\n\r\nSo, to have actual bitcode embedded in static libraries we should have `-fembed-bitcode` for `Release` configurations for all modules"}}
{"actor":{"display_login":"ikliashchou"}}