sinaweibosdk / weibo_ios_sdk

新浪微博 IOS SDK
http://weibo.com
Other
1.44k stars 565 forks source link

这是什么错误,有人能帮我看看么 #214

Closed liunina closed 4 years ago

liunina commented 8 years ago

while processing /Users/liunian/Workspace/NoWaitclient/NoWait/Pods/WeiboSDK/libWeiboSDK/libWeiboSDK.a(WBSDKNormalWebViewController.o): warning: /var/folders/1n/49myhky1215gnqd43rvhl7cw0000gn/C/com.apple.DeveloperTools/7.2-7C68/Xcode/SharedPrecompiledHeaders/WeiboSDK-Prefix-esarzafwclhygkgktjxupcvqqmfa/WeiboSDK-Prefix.pch.pch: No such file or directory while processing /Users/liunian/Workspace/NoWaitclient/NoWait/Pods/WeiboSDK/libWeiboSDK/libWeiboSDK.a(WBSDKFMDatabasePool.o): warning: /var/folders/1n/49myhky1215gnqd43rvhl7cw0000gn/C/com.apple.DeveloperTools/7.2-7C68/Xcode/SharedPrecompiledHeaders/WeiboSDK-Prefix-ahortigbdnxigaaipmbnpgcshahm/WeiboSDK-Prefix.pch.pch: No such file or directory

liunina commented 8 years ago

http://www.swiftmi.com/topic/362.html

I had this problem too. Here's how I fixed it.

1) Go to Build Settings -> Build Options -> Debug Information Format 2) Change the Debug setting from "DWARF with dSYM File" to "DWARF" 3) Leave the Release setting at "DWARF with dSYM File"

The problem appears to be that Xcode was trying to create dSYM files for Debug builds. You don't need dSYM files for Debug builds -- it's release builds where you need them.