2016-08-12 65 views
0

我正在嘗試升級項目到iOS10。我正在使用CorePlot 2.2,因爲它似乎是支持iOS10的分支,並修復了操作系統升級帶來的問題。雖然我遇到了CorePlot庫問題,所以我想看看這些例子是否工作正常。運行示例時出現同樣的錯誤。錯誤的摘錄如下:核心情節2.2不工作的設備,在模擬器上工作

ProcessPCH /Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Intermediates/PrecompiledHeaders/CorePlot_Prefix-aadijwdizyzbyuaimjggfwrpdreq/CorePlot_Prefix.pch.pch CorePlot_Prefix.pch normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.analyzer\ 
    cd /Users/jim.beam/Downloads/core-plot-release-2.2/framework\ 
    export LANG=en_US.US-ASCII\ 
    export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"\ 
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -fobjc-arc -gmodules -Wno-trigraphs -fpascal-strings -O0 -fno-common -Werror -Werror=incompatible-pointer-types -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code-aggressive -Wnullable-to-nonnull-conversion -Wno-implicit-atomic-properties -Wobjc-missing-property-synthesis -Warc-repeated-use-of-weak -Wexplicit-ownership-type -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wassign-enum -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -g -Wsign-conversion -Wno-infinite-recursion -fembed-bitcode-marker -D__clang_analyzer__ -Xclang -analyzer-output=plist-multi-file -Xclang -analyzer-config -Xclang path-diagnostics-alternate=true -Xclang -analyzer-config -Xclang report-in-main-source-file=true -Xclang -analyzer-config -Xclang mode=shallow -Xclang -analyzer-checker -Xclang optin.osx.cocoa.localizability.NonLocalizedStringChecker -Xclang -analyzer-checker -Xclang optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -Xclang -analyzer-checker -Xclang security.FloatLoopCounter -Xclang -analyzer-checker -Xclang security.insecureAPI.UncheckedReturn -Xclang -analyzer-checker -Xclang security.insecureAPI.getpw -Xclang -analyzer-checker -Xclang security.insecureAPI.gets -Xclang -analyzer-checker -Xclang security.insecureAPI.mkstemp -Xclang -analyzer-checker -Xclang security.insecureAPI.mktemp -Xclang -analyzer-checker -Xclang security.insecureAPI.rand -Xclang -analyzer-checker -Xclang security.insecureAPI.strcpy -Xclang -analyzer-checker -Xclang security.insecureAPI.vfork -I/Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Intermediates/CorePlot.build/Debug-iphoneos/CorePlot\\ iOS.build/CorePlot.hmap -I/Users/jim.beam/Downloads/core-plot-release-2.2/framework/Source -I/Users/jim.beam/Downloads/core-plot-release-2.2/framework/iPhoneOnly -I/Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Products/Debug-iphoneos/include -I/Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Intermediates/CorePlot.build/Debug-iphoneos/CorePlot\\ iOS.build/DerivedSources/arm64 -I/Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Intermediates/CorePlot.build/Debug-iphoneos/CorePlot\\ iOS.build/DerivedSources -F/Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Products/Debug-iphoneos -Weverything -Wno-unused-parameter -Wno-undef -Wno-switch-enum -Wno-float-equal -Wno-padded -Wno-dollar-in-identifier-extension -Wno-custom-atomic-properties -Wno-gnu -Wno-assign-enum -Wno-pedantic -Wno-documentation -Wno-unknown-warning-option -Wno-cstring-format-directive -Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-incompatible-pointer-types-discards-qualifiers -Wno-partial-availability -MD -MT dependencies -MF /Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Intermediates/PrecompiledHeaders/CorePlot_Prefix-aadijwdizyzbyuaimjggfwrpdreq/CorePlot_Prefix.pch.d -c /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch -o /Users/jim.beam/Library/Developer/Xcode/DerivedData/CorePlotExamples-azemopdccaqiyrddoaxvhssxtbip/Build/Intermediates/PrecompiledHeaders/CorePlot_Prefix-aadijwdizyzbyuaimjggfwrpdreq/CorePlot_Prefix.pch.pch\ 
\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:14:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h:18:27: error: cannot find protocol declaration for 'CAMediaTiming'\ 
    <NSCoding, NSCopying, CAMediaTiming, CAAction>\ 
          ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:16:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:17:26: error: cannot find interface declaration for 'CALayer', superclass of 'CAEAGLLayer'\ 
@interface CAEAGLLayer : CALayer <EAGLDrawable>\ 
~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:17:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:44:27: error: cannot find interface declaration for 'CALayer', superclass of 'CAMetalLayer'\ 
@interface CAMetalLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:19:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h:11:48: error: cannot find protocol declaration for 'CAMediaTiming'\ 
@interface CAEmitterCell : NSObject <NSCoding, CAMediaTiming>\ 
               ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:20:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h:24:29: error: cannot find interface declaration for 'CALayer', superclass of 'CAEmitterLayer'\ 
@interface CAEmitterLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:21:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:15:30: error: cannot find interface declaration for 'CALayer', superclass of 'CAGradientLayer'\ 
@interface CAGradientLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:25:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h:19:32: error: cannot find interface declaration for 'CALayer', superclass of 'CAReplicatorLayer'\ 
@interface CAReplicatorLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:26:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h:11:28: error: cannot find interface declaration for 'CALayer', superclass of 'CAScrollLayer'\ 
@interface CAScrollLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~~~ ^\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h:28:12: error: cannot find interface declaration for 'CALayer'\ 
@interface CALayer (CALayerScrolling)\ 
      ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:27:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h:34:27: error: cannot find interface declaration for 'CALayer', superclass of 'CAShapeLayer'\ 
@interface CAShapeLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:28:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h:15:26: error: cannot find interface declaration for 'CALayer', superclass of 'CATextLayer'\ 
@interface CATextLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:29:\ 
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h:30:27: error: cannot find interface declaration for 'CALayer', superclass of 'CATiledLayer'\ 
@interface CATiledLayer : CALayer\ 
~~~~~~~~~~~~~~~~~~~~~~~ ^\ 
In file included from /Users/jim.beam/Downloads/core-plot-release-2.2/framework/CorePlot_Prefix.pch:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:12:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:14:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:10:\ 
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10:\ 

...,並將它與...

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:137:176: error: cannot find protocol declaration for 'CALayerDelegate'\ 
NS_CLASS_AVAILABLE_IOS(2_0) @interface UIView : UIResponder <NSCoding, UIAppearance, UIAppearanceContainer, UIDynamicItem, UITraitEnvironment, UICoordinateSpace, UIFocusItem, CALayerDelegate>\ 
                                               ^\ 
14 errors generated.\ 

任何幫助完成是極大的讚賞。我花了很多時間試圖解決這個問題。它似乎是該設備的QuartzCore框架問題,但我已經驗證了QuartzCore和Accelerate都包含在需要的地方。我也沒有看到CorePlot的預編譯頭文件中有任何錯誤。

回答

0

做一個乾淨的應用程序構建重建預編譯頭。如果這不起作用,還要刪除派生的數據文件夾以強制重建。

+0

啊我沒有想過派生的數據。不知道我是如何忘記的。我會給它一個鏡頭。儘管我做了很多清理和構建,甚至從我的機器上刪除了回購並重新下載它。但似乎Xcode識別它的同一個項目並使用派生的數據。我檢查完後會回覆。謝謝! – user1543432

+0

刪除派生數據不能解決問題。在重建時,出現了相同的錯誤:-( – user1543432

+0

您是否還清理了Core Plot框架文件?錯誤出現在Core Plot預編譯頭文件中 –

相關問題