warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks'
フレームワークを追加した時にSearch Pathに古いSDKのパスが残っているのが原因。
TargetsのBuild SettingからSearch Pathを削除する。