{"action":"created","issue":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/650","repository_url":"https://api.github.com/repos/wang-bin/QtAV","labels_url":"https://api.github.com/repos/wang-bin/QtAV/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/wang-bin/QtAV/issues/650/comments","events_url":"https://api.github.com/repos/wang-bin/QtAV/issues/650/events","html_url":"https://github.com/wang-bin/QtAV/issues/650","id":159833588,"number":650,"title":"Qt iOS build failed","user":{"login":"piyushverma","id":571813,"avatar_url":"https://avatars.githubusercontent.com/u/571813?v=3","gravatar_id":"","url":"https://api.github.com/users/piyushverma","html_url":"https://github.com/piyushverma","followers_url":"https://api.github.com/users/piyushverma/followers","following_url":"https://api.github.com/users/piyushverma/following{/other_user}","gists_url":"https://api.github.com/users/piyushverma/gists{/gist_id}","starred_url":"https://api.github.com/users/piyushverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piyushverma/subscriptions","organizations_url":"https://api.github.com/users/piyushverma/orgs","repos_url":"https://api.github.com/users/piyushverma/repos","events_url":"https://api.github.com/users/piyushverma/events{/privacy}","received_events_url":"https://api.github.com/users/piyushverma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-06-12T15:43:25Z","updated_at":"2016-06-23T14:05:13Z","closed_at":null,"body":"I am building latest git 00513e5b56f1a4fc538c1c94c6da6d6835266ae9 for ios, I have downloaded and extracted ffmpeg-2.1.3-armhf.tar.xz in src folder.\r\n\r\nBut in build I am getting error as below.\r\n\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Users/piyush/devel/build-QtAV-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/examples/QMLPlayer/Debug-iphoneos -L/Users/piyush/devel/build-QtAV-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/lib_ios_arm+arm64_llvm -L/Users/piyush/Qt5.6.0/5.6/ios/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/platforms -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick.2 -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Dialogs -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtAV -L/Users/piyush/Qt5.6.0/5.6/ios/qml/Qt/labs/folderlistmodel -L/Users/piyush/Qt5.6.0/5.6/ios/qml/Qt/labs/settings -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Dialogs/Private -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Controls -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Window.2 -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Layouts -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Extras -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtGraphicalEffects/private -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQml/Models.2 -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/imageformats -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/sqldrivers -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/qmltooling -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/bearer -F/Users/piyush/devel/build-QtAV-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/examples/QMLPlayer/Debug-iphoneos -filelist /Users/piyush/devel/build-QtAV-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/.obj/QMLPlayer_ios_arm+arm64_llvm/QMLPlayer.build/Debug-iphoneos/QMLPlayer.build/Objects-normal/armv7/QMLPlayer.LinkFileList -miphoneos-version-min=6.0 -dead_strip -Xlinker -no_deduplicate -headerpad_max_install_names -stdlib=libc++ -pg -u _qt_registerPlatformPlugin -Wl,-e,_qt_main_wrapper -L/Users/piyush/devel/build-QtAV-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/lib_ios_arm+arm64_llvm -L/Users/piyush/Qt5.6.0/5.6/ios/lib -framework MobileCoreServices -framework UIKit -framework OpenGLES -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/platforms -framework AssetsLibrary -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick.2 -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Dialogs -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtAV -liconv -lbz2 -llzma -Wl,-framework,Security -L/Users/piyush/Qt5.6.0/5.6/ios/qml/Qt/labs/folderlistmodel -L/Users/piyush/Qt5.6.0/5.6/ios/qml/Qt/labs/settings -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Dialogs/Private -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Controls -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Window.2 -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Layouts -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQuick/Extras -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtGraphicalEffects/private -L/Users/piyush/Qt5.6.0/5.6/ios/qml/QtQml/Models.2 -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/imageformats -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/sqldrivers -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/qmltooling -L/Users/piyush/Qt5.6.0/5.6/ios/plugins/bearer -lz -lm -lcommon_debug -framework Foundation -framework CoreFoundation -framework CoreText -framework CoreGraphics -lqios_debug -framework QuartzCore -lQt5PlatformSupport_debug -lQt5DBus_debug -lqtfreetype_debug -framework Security -framework SystemConfiguration -lqtquick2plugin_debug -ldialogplugin_debug -lQmlAV_debug -lQtAV_debug -lavresample -lavfilter -framework AudioToolbox -framework OpenAL -framework CoreVideo -framework CoreMedia -framework VideoToolbox -lavcodec -lavformat -lavutil -lqmlfolderlistmodelplugin_debug -lqmlsettingsplugin_debug -ldialogsprivateplugin_debug -lqtquickcontrolsplugin_debug -lwindowplugin_debug -lqquicklayoutsplugin_debug -lqtquickextrasplugin_debug -lqtgraphicaleffectsprivate_debug -lmodelsplugin_debug -lqdds_debug -lqicns_debug -lqico_debug -lqtga_debug -lqtiff_debug -lqwbmp_debug -lqwebp_debug -lqsqlite_debug -lQt5Sql_debug -lqmldbg_debugger_debug -lqmldbg_inspector_debug -lQt5Quick_debug -lqmldbg_local_debug -lqmldbg_native_debug -lQt5Gui_debug -lqtharfbuzzng_debug -lqmldbg_profiler_debug -lqmldbg_server_debug -lqmldbg_tcp_debug -lQt5Qml_debug -lqgenericbearer_debug -lQt5Network_debug -lQt5Core_debug -lqtpcre_debug -Xlinker -dependency_info -Xlinker /Users/piyush/devel/build-QtAV-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/.obj/QMLPlayer_ios_arm+arm64_llvm/QMLPlayer.build/Debug-iphoneos/QMLPlayer.build/Objects-normal/armv7/QMLPlayer_dependency_info.dat -o /Users/piyush/devel/build-QtAV-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/.obj/QMLPlayer_ios_arm+arm64_llvm/QMLPlayer.build/Debug-iphoneos/QMLPlayer.build/Objects-normal/armv7/QMLPlayer\r\nUndefined symbols for architecture armv7:\r\n  \"_sws_init_context\", referenced from:\r\n      _config_props in libavfilter.a(vf_scale.o)\r\n      _filter_frame in libavfilter.a(vf_zoompan.o)\r\n  \"_sws_alloc_context\", referenced from:\r\n      _config_props in libavfilter.a(vf_scale.o)\r\n      _filter_frame in libavfilter.a(vf_zoompan.o)\r\n  \"_sws_getColorspaceDetails\", referenced from:\r\n      _filter_frame in libavfilter.a(vf_scale.o)\r\n  \"_swr_close\", referenced from:\r\n      _opus_decode_packet in libavcodec.a(opusdec.o)\r\n      _opus_decode_flush in libavcodec.a(opusdec.o)\r\n  \"_swr_is_initialized\", referenced from:\r\n      _opus_decode_packet in libavcodec.a(opusdec.o)\r\n  \"_sws_getContext\", referenced from:\r\n      _ff_scale_image in libavfilter.a(lswsutils.o)\r\n  \"_swr_set_matrix\", referenced from:\r\n      _config_props in libavfilter.a(af_pan.o)\r\n  \"_swr_get_class\", referenced from:\r\n      _resample_child_class_next in libavfilter.a(af_aresample.o)\r\n  \"_sws_isSupportedEndiannessConversion\", referenced from:\r\n      _query_formats in libavfilter.a(vf_scale.o)\r\n  \"_swr_get_delay\", referenced from:\r\n      _filter_frame in libavfilter.a(af_aresample.o)\r\n      QtAV::AudioResamplerFF::convert(unsigned char const**) in libQtAV_debug.a(AudioResamplerFF.o)\r\n  \"_swr_convert\", referenced from:\r\n      _filter_frame in libavfilter.a(af_aresample.o)\r\n      _flush_frame in libavfilter.a(af_aresample.o)\r\n      _filter_frame in libavfilter.a(af_pan.o)\r\n      _opus_decode_packet in libavcodec.a(opusdec.o)\r\n      QtAV::AudioResamplerFF::convert(unsigned char const**) in libQtAV_debug.a(AudioResamplerFF.o)\r\n  \"_swr_alloc\", referenced from:\r\n      _init_dict in libavfilter.a(af_aresample.o)\r\n      _opus_decode_init in libavcodec.a(opusdec.o)\r\n  \"_swresample_version\", referenced from:\r\n      QtAV::Internal::get_depend_component(QtAV::Internal::depend_component const*) in libQtAV_debug.a(QtAV_Global.o)\r\n  \"_sws_scale\", referenced from:\r\n      QtAV::ImageConverterFF::convert(unsigned char const* const*, int const*, unsigned char* const*, int const*) in libQtAV_debug.a(ImageConverterFF.o)\r\n      _scale_slice in libavfilter.a(vf_scale.o)\r\n      _filter_frame in libavfilter.a(vf_zoompan.o)\r\n      _ff_scale_image in libavfilter.a(lswsutils.o)\r\n  \"_swr_next_pts\", referenced from:\r\n      _filter_frame in libavfilter.a(af_aresample.o)\r\n      _flush_frame in libavfilter.a(af_aresample.o)\r\n  \"_swr_free\", referenced from:\r\n      _uninit in libavfilter.a(af_aresample.o)\r\n      _uninit in libavfilter.a(af_pan.o)\r\n      _opus_decode_close in libavcodec.a(opusdec.o)\r\n      QtAV::AudioResamplerFF::prepare() in libQtAV_debug.a(AudioResamplerFF.o)\r\n      QtAV::AudioResamplerFFPrivate::~AudioResamplerFFPrivate() in libQtAV_debug.a(AudioResamplerFF.o)\r\n  \"_sws_setColorspaceDetails\", referenced from:\r\n      QtAV::ImageConverterFFPrivate::setupColorspaceDetails(bool) in libQtAV_debug.a(ImageConverterFF.o)\r\n      _filter_frame in libavfilter.a(vf_scale.o)\r\n  \"_av_videotoolbox_default_free\", referenced from:\r\n      QtAV::VideoDecoderVideoToolboxPrivate::setup(AVCodecContext*) in libQtAV_debug.a(VideoDecoderVideoToolbox.o)\r\n      QtAV::VideoDecoderVideoToolboxPrivate::close() in libQtAV_debug.a(VideoDecoderVideoToolbox.o)\r\n  \"_swr_set_channel_mapping\", referenced from:\r\n      _config_props in libavfilter.a(af_pan.o)\r\n      QtAV::AudioResamplerFF::prepare() in libQtAV_debug.a(AudioResamplerFF.o)\r\n  \"_swr_init\", referenced from:\r\n      _config_output in libavfilter.a(af_aresample.o)\r\n      _config_props in libavfilter.a(af_pan.o)\r\n      _opus_decode_packet in libavcodec.a(opusdec.o)\r\n      QtAV::AudioResamplerFF::prepare() in libQtAV_debug.a(AudioResamplerFF.o)\r\n  \"_av_videotoolbox_default_init2\", referenced from:\r\n      QtAV::VideoDecoderVideoToolboxPrivate::setup(AVCodecContext*) in libQtAV_debug.a(VideoDecoderVideoToolbox.o)\r\n  \"_sws_getCoefficients\", referenced from:\r\n      QtAV::ImageConverterFFPrivate::setupColorspaceDetails(bool) in libQtAV_debug.a(ImageConverterFF.o)\r\n      _parse_yuv_type in libavfilter.a(vf_scale.o)\r\n  \"_swscale_version\", referenced from:\r\n      QtAV::Internal::get_depend_component(QtAV::Internal::depend_component const*) in libQtAV_debug.a(QtAV_Global.o)\r\n  \"_sws_getCachedContext\", referenced from:\r\n      QtAV::ImageConverterFF::convert(unsigned char const* const*, int const*, unsigned char* const*, int const*) in libQtAV_debug.a(ImageConverterFF.o)\r\n  \"_sws_isSupportedInput\", referenced from:\r\n      QtAV::ImageConverterFF::check() const in libQtAV_debug.a(ImageConverterFF.o)\r\n      _query_formats in libavfilter.a(vf_scale.o)\r\n  \"_swr_alloc_set_opts\", referenced from:\r\n      _config_output in libavfilter.a(af_aresample.o)\r\n      _config_props in libavfilter.a(af_pan.o)\r\n      QtAV::AudioResamplerFF::prepare() in libQtAV_debug.a(AudioResamplerFF.o)\r\n  \"_sws_isSupportedOutput\", referenced from:\r\n      QtAV::ImageConverterFF::check() const in libQtAV_debug.a(ImageConverterFF.o)\r\n      _query_formats in libavfilter.a(vf_scale.o)\r\n  \"_swresample_configuration\", referenced from:\r\n      QtAV::Internal::get_depend_component(QtAV::Internal::depend_component const*) in libQtAV_debug.a(QtAV_Global.o)\r\n  \"_sws_freeContext\", referenced from:\r\n      QtAV::ImageConverterFFPrivate::~ImageConverterFFPrivate() in libQtAV_debug.a(ImageConverterFF.o)\r\n      _uninit in libavfilter.a(vf_scale.o)\r\n      _config_props in libavfilter.a(vf_scale.o)\r\n      _uninit in libavfilter.a(vf_zoompan.o)\r\n      _filter_frame in libavfilter.a(vf_zoompan.o)\r\n      _ff_scale_image in libavfilter.a(lswsutils.o)\r\n  \"_swresample_license\", referenced from:\r\n      QtAV::Internal::get_depend_component(QtAV::Internal::depend_component const*) in libQtAV_debug.a(QtAV_Global.o)\r\n  \"_sws_get_class\", referenced from:\r\n      _init_dict in libavfilter.a(vf_scale.o)\r\n      _child_class_next in libavfilter.a(vf_scale.o)\r\n  \"openal::capi::loaded()\", referenced from:\r\n      QtAV::AudioOutputOpenAL::AudioOutputOpenAL(QObject*) in libQtAV_debug.a(AudioOutputOpenAL.o)\r\n  \"_swscale_configuration\", referenced from:\r\n      QtAV::Internal::get_depend_component(QtAV::Internal::depend_component const*) in libQtAV_debug.a(QtAV_Global.o)\r\n  \"_av_videotoolbox_alloc_context\", referenced from:\r\n      QtAV::VideoDecoderVideoToolboxPrivate::setup(AVCodecContext*) in libQtAV_debug.a(VideoDecoderVideoToolbox.o)\r\n  \"_swscale_license\", referenced from:\r\n      QtAV::Internal::get_depend_component(QtAV::Internal::depend_component const*) in libQtAV_debug.a(QtAV_Global.o)\r\nld: symbol(s) not found for architecture armv7\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n\r\nPlease suggest how to solve it.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35092215-qt-ios-build-failed?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/wang-bin/QtAV/issues/comments/228060476","html_url":"https://github.com/wang-bin/QtAV/issues/650#issuecomment-228060476","issue_url":"https://api.github.com/repos/wang-bin/QtAV/issues/650","id":228060476,"user":{"login":"wang-bin","id":785206,"avatar_url":"https://avatars.githubusercontent.com/u/785206?v=3","gravatar_id":"","url":"https://api.github.com/users/wang-bin","html_url":"https://github.com/wang-bin","followers_url":"https://api.github.com/users/wang-bin/followers","following_url":"https://api.github.com/users/wang-bin/following{/other_user}","gists_url":"https://api.github.com/users/wang-bin/gists{/gist_id}","starred_url":"https://api.github.com/users/wang-bin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wang-bin/subscriptions","organizations_url":"https://api.github.com/users/wang-bin/orgs","repos_url":"https://api.github.com/users/wang-bin/repos","events_url":"https://api.github.com/users/wang-bin/events{/privacy}","received_events_url":"https://api.github.com/users/wang-bin/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T14:05:13Z","updated_at":"2016-06-23T14:05:13Z","body":"What about release build? I can build it without error."}}
{"actor":{"display_login":"wang-bin"}}