amo*_*amo 2 c iphone xcode objective-c core-plot
我刚刚将核心图升级到已经运行成功的应用程序的最新版本.我遵循了相当简单的说明,但是我在UIView.h中遇到了20个语法错误.似乎我并不孤单,但没有人发布过该问题的解决方案.
一个例子:
这段代码来自UIView.h
+ (void)animateWithDuration:(NSTimeInterval)duration delay:(NSTimeInterval)delay options:(UIViewAnimationOptions)options animations:(void (^)(void))animations completion:(void (^)(BOOL finished))completion __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0);
Run Code Online (Sandbox Code Playgroud)
给出编译错误"'''令牌之前的语法错误":
/var/folders/UO/UOZJs7XuF5iROp2HMSTlz++++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.0-drysryiarqddqccmfooifrjfbivi/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250:0 Syntax error before '^' token in /var/folders/UO/UOZJs7XuF5iROp2HMSTlz++++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.0-drysryiarqddqccmfooifrjfbivi/System/Library/Frameworks/UIKit.framework/Headers/UIView.h
Run Code Online (Sandbox Code Playgroud)
它认为该解决方案与构建设置有关.什么会导致这个错误?我不熟悉Objective-C中的(^)语法.