转自:http://www.cnblogs.com/gcb999/p/3296414.html
转载请说明出处。
另外:开发中遇到如下问题,可以按以上博客解决。
UFW (M iphonesimulator): WARNING: No headers in build target lbsapi.auth were marked public. Please move at least one header to "Public" in the "Copy Headers" build phase.
UFW (M iphonesimulator): INFO: Cmd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only i386 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/joy/Library/Developer/Xcode/DerivedData/lbsapi.auth-dxxjurjtkgnuwabxmgouhvzaujwj/Build/Products/Debug-iphonesimulator -filelist /Users/joy/Library/Developer/Xcode/DerivedData/lbsapi.auth-dxxjurjtkgnuwabxmgouhvzaujwj/Build/Intermediates/lbsapi.auth.build/Debug-iphonesimulator/lbsapi.auth.build/Objects-normal/i386/lbsapi.auth.LinkFileList -o /Users/joy/Library/Developer/Xcode/DerivedData/lbsapi.auth-dxxjurjtkgnuwabxmgouhvzaujwj/Build/Intermediates/lbsapi.auth.build/Debug-iphonesimulator/lbsapi.auth.build/Objects-normal/i386/lbsapi.auth.ufwbuild
UFW (M iphonesimulator): INFO: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/joy/Library/Developer/Xcode/DerivedData/lbsapi.auth-dxxjurjtkgnuwabxmgouhvzaujwj/Build/Intermediates/lbsapi.auth.build/Debug-iphonesimulator/lbsapi.auth.build/Objects-normal/i386/LBSAuthDelegate.o has no symbols
UFW (M iphonesimulator): INFO: Cmd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static /Users/joy/Library/Developer/Xcode/DerivedData/lbsapi.auth-dxxjurjtkgnuwabxmgouhvzaujwj/Build/Intermediates/lbsapi.auth.build/Debug-iphonesimulator/lbsapi.auth.build/Objects-normal/i386/lbsapi.auth.ufwbuild -o /Users/joy/Library/Developer/Xcode/DerivedData/lbsapi.auth-dxxjurjtkgnuwabxmgouhvzaujwj/Build/Products/Debug-iphonesimulator/lbsapi.auth.framework/Versions/A/lbsapi.auth
UFW (M iphonesimulator): INFO: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: /Users/joy/Library/Developer/Xcode/DerivedData/lbsapi.auth-dxxjurjtkgnuwabxmgouhvzaujwj/Build/Intermediates/lbsapi.auth.build/Debug-iphonesimulator/lbsapi.auth.build/Objects-normal/i386/lbsapi.auth.ufwbuild(LBSAuthDelegate.o) has no symbols
UFW (M iphonesimulator): WARNING: Build completed with warnings
UFW (M iphonesimulator): INFO: Note: This is *NOT* a universal framework build. To build as a universal framework, do an archive build.
UFW (M iphonesimulator): INFO: To do an archive build from command line, use "xcodebuild -configuration Release UFW_ACTION=archive clean build"
Command /bin/sh failed with exit code 1