{"action":"created","issue":{"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/185","labels_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/185/comments","events_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/185/events","html_url":"https://github.com/gali8/Tesseract-OCR-iOS/issues/185","id":89428419,"number":185,"title":"using -weak_library cannot be used with -bitcode_bundle (ENABLE_BITCODE=YES), which is default on in Xcode 7","user":{"login":"tomjtobin","id":1642412,"avatar_url":"https://avatars.githubusercontent.com/u/1642412?v=3","gravatar_id":"","url":"https://api.github.com/users/tomjtobin","html_url":"https://github.com/tomjtobin","followers_url":"https://api.github.com/users/tomjtobin/followers","following_url":"https://api.github.com/users/tomjtobin/following{/other_user}","gists_url":"https://api.github.com/users/tomjtobin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomjtobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomjtobin/subscriptions","organizations_url":"https://api.github.com/users/tomjtobin/orgs","repos_url":"https://api.github.com/users/tomjtobin/repos","events_url":"https://api.github.com/users/tomjtobin/events{/privacy}","received_events_url":"https://api.github.com/users/tomjtobin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-06-19T00:05:44Z","updated_at":"2016-01-21T07:12:20Z","closed_at":"2015-10-11T08:22:21Z","body":"With the Xcode 7, the bitcode options are turned on by default (and mandatory for Watch binaries). Xcode notes that -weak_library can't be used with -bitcode_bundle (link fails).\r\n\r\nTo get around it, I removed the \r\n-weak_library /usr/lib/libstdc++.6.0.9.dylib\r\nfrom the LD flags, and made sure it was using the libstdc++ library in the \"c standard library\" selection.\r\n\r\nThe same issue is targeted here: https://github.com/yapstudios/YapDatabase/issues/180 with the note from somebody (albeit unsupported) that you don't need to weak link for iOS7 and above, you can just change the c standard library, and it should be ok."},"comment":{"url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/comments/173480646","html_url":"https://github.com/gali8/Tesseract-OCR-iOS/issues/185#issuecomment-173480646","issue_url":"https://api.github.com/repos/gali8/Tesseract-OCR-iOS/issues/185","id":173480646,"user":{"login":"ws233","id":462439,"avatar_url":"https://avatars.githubusercontent.com/u/462439?v=3","gravatar_id":"","url":"https://api.github.com/users/ws233","html_url":"https://github.com/ws233","followers_url":"https://api.github.com/users/ws233/followers","following_url":"https://api.github.com/users/ws233/following{/other_user}","gists_url":"https://api.github.com/users/ws233/gists{/gist_id}","starred_url":"https://api.github.com/users/ws233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ws233/subscriptions","organizations_url":"https://api.github.com/users/ws233/orgs","repos_url":"https://api.github.com/users/ws233/repos","events_url":"https://api.github.com/users/ws233/events{/privacy}","received_events_url":"https://api.github.com/users/ws233/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T07:12:20Z","updated_at":"2016-01-21T07:12:20Z","body":"@kwerle, just use the most recent developer version."}}