Undefined symbols for architecture armv7:
"avformat_open_input(AVFormatContext**, char const*, AVInputFormat*, AVDictionary**)", referenced from:
-[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
$ xcrun -sdk iphoneos lipo -info libavformat.a
Architectures in the fat file: libavformat.a are: armv7 armv7s
$ xcrun -sdk iphoneos nm libavformat.a | grep avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
00000868 T _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
U _avformat_open_input
00000868 T _avformat_open_input
VW5kZWZpbmVkIHN5bWJvbHMgZm9yIGFyY2hpdGVjdHVyZSBhcm12NzoKICAiYXZmb3JtYXRfb3Blbl9pbnB1dChBVkZvcm1hdENvbnRleHQqKiwgY2hhciBjb25zdCosIEFWSW5wdXRGb3JtYXQqLCBBVkRpY3Rpb25hcnkqKikiLCByZWZlcmVuY2VkIGZyb206CiAgICAgIC1bVmlld0NvbnRyb2xsZXIgdmlld0RpZExvYWRdIGluIFZpZXdDb250cm9sbGVyLm8KbGQ6IHN5bWJvbChzKSBub3QgZm91bmQgZm9yIGFyY2hpdGVjdHVyZSBhcm12NwpjbGFuZzogZXJyb3I6IGxpbmtlciBjb21tYW5kIGZhaWxlZCB3aXRoIGV4aXQgY29kZSAxICh1c2UgLXYgdG8gc2VlIGludm9jYXRpb24pCgoKJCB4Y3J1biAtc2RrIGlwaG9uZW9zIGxpcG8gLWluZm8gbGliYXZmb3JtYXQuYQpBcmNoaXRlY3R1cmVzIGluIHRoZSBmYXQgZmlsZTogbGliYXZmb3JtYXQuYSBhcmU6IGFybXY3IGFybXY3cwoKCiQgeGNydW4gLXNkayBpcGhvbmVvcyBubSBsaWJhdmZvcm1hdC5hIHwgZ3JlcCBhdmZvcm1hdF9vcGVuX2luc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