{"action":"created","issue":{"url":"https://api.github.com/repos/Haivision/srt/issues/266","repository_url":"https://api.github.com/repos/Haivision/srt","labels_url":"https://api.github.com/repos/Haivision/srt/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/Haivision/srt/issues/266/comments","events_url":"https://api.github.com/repos/Haivision/srt/issues/266/events","html_url":"https://github.com/Haivision/srt/issues/266","id":293764640,"number":266,"title":"Compile for iOS","user":{"login":"Gummilion","id":9314235,"avatar_url":"https://avatars3.githubusercontent.com/u/9314235?v=4","gravatar_id":"","url":"https://api.github.com/users/Gummilion","html_url":"https://github.com/Gummilion","followers_url":"https://api.github.com/users/Gummilion/followers","following_url":"https://api.github.com/users/Gummilion/following{/other_user}","gists_url":"https://api.github.com/users/Gummilion/gists{/gist_id}","starred_url":"https://api.github.com/users/Gummilion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gummilion/subscriptions","organizations_url":"https://api.github.com/users/Gummilion/orgs","repos_url":"https://api.github.com/users/Gummilion/repos","events_url":"https://api.github.com/users/Gummilion/events{/privacy}","received_events_url":"https://api.github.com/users/Gummilion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-02-02T03:46:51Z","updated_at":"2018-02-16T01:56:47Z","closed_at":null,"author_association":"NONE","body":"Hello\r\nCould anyone tell how to compile SRT project for iOS? I followed instruction for Mac and built code for OS X successfully. But how to build it for ARMv7 - certainly linker can't take libsrt.dylib since it built for x86. I didn't find any options for config or makefile to set target platform to iOS and architecture to ARM.\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/Haivision/srt/issues/comments/366123414","html_url":"https://github.com/Haivision/srt/issues/266#issuecomment-366123414","issue_url":"https://api.github.com/repos/Haivision/srt/issues/266","id":366123414,"user":{"login":"Gummilion","id":9314235,"avatar_url":"https://avatars3.githubusercontent.com/u/9314235?v=4","gravatar_id":"","url":"https://api.github.com/users/Gummilion","html_url":"https://github.com/Gummilion","followers_url":"https://api.github.com/users/Gummilion/followers","following_url":"https://api.github.com/users/Gummilion/following{/other_user}","gists_url":"https://api.github.com/users/Gummilion/gists{/gist_id}","starred_url":"https://api.github.com/users/Gummilion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gummilion/subscriptions","organizations_url":"https://api.github.com/users/Gummilion/orgs","repos_url":"https://api.github.com/users/Gummilion/repos","events_url":"https://api.github.com/users/Gummilion/events{/privacy}","received_events_url":"https://api.github.com/users/Gummilion/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T01:56:47Z","updated_at":"2018-02-16T01:56:47Z","author_association":"NONE","body":"I put all iOS-specific settings in separate CMake file (passed with CMAKE_TOOLCHAIN_FILE option), so other platform are unaffected. User just need to specify path to OpenSSL (with CMAKE_PREFIX_PATH) and CMAKE_TOOLCHAIN_FILE. This toolchain file has number of modification from [baseline](https://github.com/cristeab/ios-cmake/tree/master/toolchain), I suppose it should be included to SRT project.\r\n"}}
{"actor":{"display_login":"Gummilion"}}