Since nobody replied, here is what I tried.
1) I go to the following directory $ cd ./MobileVLCKit/ImportedSources/vlc/contrib/iPhoneSimulator-x86_64
2) run the following command $make .ffmpeg
cd ffmpeg && CC="xcrun clang" CXX="xcrun clang++" LD="xcrun ld" AR="xcrun ar" CCAS="xcrun clang -c" RANLIB="xcrun ranlib" STRIP="xcrun strip" PATH="/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/bin:/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/extras/tools/build/bin:/usr/local/Cellar/ffmpeg/2.1.3/bin/:/opt/local/bin:/opt/local/sbin:/usr/local/git/bin/:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Applications/VLC.app/Contents/MacOS/:/usr/local/Cellar/ffmpeg/2.1.3/bin/:/opt/local/bin:/opt/subversion/bin:/Users/wminghao/Develop/android-sdk-mac_x86/platform-tools:/Developer/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin:/Users/wminghao/Downloads/adt-bundle-mac-x86_64-20130522/sdk/platform-tools:/Users/wminghao/Downloads/adt-bundle-mac-x86_64-20130522/sdk/tools:/Users/wminghao/.rvm/bin" CPPFLAGS=" -arch x86_64 -miphoneos-version-min=5.1 -I/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/include" CFLAGS=" -arch x86_64 -miphoneos-version-min=5.1 -I/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/include -g" CXXFLAGS=" -arch x86_64 -miphoneos-version-min=5.1 -arch x86_64 -miphoneos-version-min=5.1 -I/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/include -g -I/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/include -g" LDFLAGS=" -arch x86_64 -miphoneos-version-min=5.1 -L/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/lib" ./configure \
--extra-ldflags=" -arch x86_64 -miphoneos-version-min=5.1 -L/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64/lib" --cc="xcrun clang" --disable-doc --disable-encoder=vorbis --enable-libgsm --enable-libopenjpeg --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-filters --disable-bsfs --disable-bzlib --disable-programs --disable-avresample --disable-encoders --disable-muxers --arch=x86_64 --target-os=darwin --cpu=core2 --enable-pic --enable-pthreads \
--prefix="/Users/wminghao/Develop/vlc-iOS/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64" --enable-static --disable-shared
xcrun clang is unable to create an executable file.
If xcrun clang is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
libav-tools@libav.org mailing list or IRC #libav on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make: *** [.ffmpeg] Error 1
Still does not work for unknown reasons. Can anyone help?
Thanks