安装 CorePlot 时出现问题

发布于 2024-09-27 05:21:47 字数 9596 浏览 5 评论 0原文

我尝试根据自述文件安装 CorePlot,但是一旦我将 $HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk 添加到 Additional SDKs 中在项目设置中,我尝试编译 PCH 时遇到大量编译错误。

我已经遵循了安装过程的其余部分,并且我继续看到头文件存在此问题,直到我从附加 SDK 中删除路径,此时构建再次开始工作,但当然我没有 coreplot。

我正在尝试使用 4.1 SDK。有人知道会发生什么吗?

我已经完成了“全部清理”,删除了旧的预编译头。

ProcessPCH /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoodTracker_Prefix-bqgeoohlnqkqawgoyuyduudrndzd/MoodTracker_Prefix.pch.gch MoodTracker_Prefix.pch normal i386 objective-c com.apple.compilers.gcc.4_0
cd /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=20000 -isysroot /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -fexceptions -D__IPHONE_OS_VERSION_MIN_REQUIRED=40100 -iquote /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-generated-files.hmap -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-own-target-headers.hmap -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-all-target-headers.hmap -iquote /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-project-headers.hmap -F/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/Debug-iphonesimulator -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/Debug-iphonesimulator/include -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/DerivedSources/i386 -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/DerivedSources -c /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/MoodTracker_Prefix.pch -o /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoodTracker_Prefix-bqgeoohlnqkqawgoyuyduudrndzd/MoodTracker_Prefix.pch.gch

<command line>:1:1: warning: "__IPHONE_OS_VERSION_MIN_REQUIRED" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10,
                 from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:12,
                 from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:15,
                 from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:10,
                 from /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/MoodTracker_Prefix.pch:13:
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:254: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:254: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:258: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:258: error: 'type name' declared as function returning a function
In file included from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13,
                 from /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/MoodTracker_Prefix.pch:13:
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:190: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:190: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:193: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:193: error: 'type name' declared as function returning a function

I attempt to install CorePlot according to the readme file, but as soon as I add $HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk to Additional SDKs in the project settings I get a massive spew of compile errors trying to compile the PCHs.

I've followed the rest of the install procedure and I continue to see this problem with header files until i remove the path from Additional SDKs at which point the build starts working again, but of course I have no coreplot.

I'm attempting to use the 4.1 SDK. Anyone have any idea what might be happening?

I have done a "clean all" deleting the old precompiled headers.

ProcessPCH /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoodTracker_Prefix-bqgeoohlnqkqawgoyuyduudrndzd/MoodTracker_Prefix.pch.gch MoodTracker_Prefix.pch normal i386 objective-c com.apple.compilers.gcc.4_0
cd /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.0 -x objective-c-header -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=20000 -isysroot /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd -fvisibility=hidden -mmacosx-version-min=10.5 -gdwarf-2 -fexceptions -D__IPHONE_OS_VERSION_MIN_REQUIRED=40100 -iquote /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-generated-files.hmap -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-own-target-headers.hmap -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-all-target-headers.hmap -iquote /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/MoodTracker-project-headers.hmap -F/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/Debug-iphonesimulator -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/Debug-iphonesimulator/include -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/DerivedSources/i386 -I/Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/build/MoodTracker.build/Debug-iphonesimulator/MoodTracker.build/DerivedSources -c /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/MoodTracker_Prefix.pch -o /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MoodTracker_Prefix-bqgeoohlnqkqawgoyuyduudrndzd/MoodTracker_Prefix.pch.gch

<command line>:1:1: warning: "__IPHONE_OS_VERSION_MIN_REQUIRED" redefined
<command line>:1:1: warning: this is the location of the previous definition
In file included from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h:10,
                 from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h:12,
                 from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h:15,
                 from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:10,
                 from /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/MoodTracker_Prefix.pch:13:
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:250: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:252: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:254: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:254: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:256: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:258: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:258: error: 'type name' declared as function returning a function
In file included from /var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:13,
                 from /Users/rjstone/Documents/iPhoneDev/checkout/MoodTracker/MoodTracker_Prefix.pch:13:
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:190: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:190: error: 'type name' declared as function returning a function
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:193: error: syntax error before '^' token
/var/folders/ev/eviExAoOGuKhxqFgoqkgZE+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator4.1-fotsqlediwvmiughmkqdhijqmqsd/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:193: error: 'type name' declared as function returning a function

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

蓝海 2024-10-04 05:21:47

自述文件说明适用于桌面应用程序。请按照此处的说明在 iOS 应用中使用 CorePlot。

The README instructions are for desktop apps. Follow the instructions here to use CorePlot with an iOS app.

落日海湾 2024-10-04 05:21:47

我遇到了同样的问题,但是当我将编译器更改为 LLVM GCC 4.2 时,问题得到了解决。如果您阅读了此处发布的说明,您将在下面的评论中看到有人和你有同样的问题,也用这种方法解决了。

I had the same problem and but when I changed the compiler to LLVM GCC 4.2 that solved the problem. If you read the instructions posted here you will see in the comments below that someone had the same issue as you did and solved it that way too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文