fatal error: file '/Applications/Xcode 6.0.1.app/Contents/Developer/Platforms/iPhoneSimulator....

错误信息如下:

CompileC /Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/Objects-normal/x86_64/HAScrollViewController.o IOSStudy/Classes/Custom/HerizontalScroll/HAScrollViewController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

    cd /Users/haiwang/workspace/IOSStudy

    export LANG=en_US.US-ASCII

    export PATH="/Applications/Xcode 6.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode 6.0.1.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

    /Applications/Xcode\ 6.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fmodules -fmodules-cache-path=/Users/haiwang/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot /Applications/Xcode\ 6.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=6.0 -iquote /Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/IOSStudy-generated-files.hmap -I/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/IOSStudy-own-target-headers.hmap -I/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/IOSStudy-all-target-headers.hmap -iquote /Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/IOSStudy-project-headers.hmap -I/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode\ 6.0.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/DerivedSources/x86_64 -I/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/DerivedSources -F/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Products/Debug-iphonesimulator -include /Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/PrecompiledHeaders/IOSStudy-Prefix-corokkewbcdovudugkbnopcjmqiw/IOSStudy-Prefix.pch -MMD -MT dependencies -MF /Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/Objects-normal/x86_64/HAScrollViewController.d --serialize-diagnostics /Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/Objects-normal/x86_64/HAScrollViewController.dia -c /Users/haiwang/workspace/IOSStudy/IOSStudy/Classes/Custom/HerizontalScroll/HAScrollViewController.m -o /Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/IOSStudy.build/Debug-iphonesimulator/IOSStudy.build/Objects-normal/x86_64/HAScrollViewController.o


fatal error: file '/Applications/Xcode 6.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h' has been modified since the precompiled header '/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/PrecompiledHeaders/IOSStudy-Prefix-corokkewbcdovudugkbnopcjmqiw/IOSStudy-Prefix.pch.pch' was built

note: '/Applications/Xcode 6.0.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h' required by '/Users/haiwang/Library/Developer/Xcode/DerivedData/ModuleCache/3AHB71E18FMJF/UIKit-1MW7QNFZTCE9Q.pcm'

note: '/Users/haiwang/Library/Developer/Xcode/DerivedData/ModuleCache/3AHB71E18FMJF/UIKit-1MW7QNFZTCE9Q.pcm' required by '/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/PrecompiledHeaders/IOSStudy-Prefix-corokkewbcdovudugkbnopcjmqiw/IOSStudy-Prefix.pch.pch'

note: please rebuild precompiled header '/Users/haiwang/Library/Developer/Xcode/DerivedData/IOSStudy-eukdohwmervghggmacwnqunmxbhc/Build/Intermediates/PrecompiledHeaders/IOSStudy-Prefix-corokkewbcdovudugkbnopcjmqiw/IOSStudy-Prefix.pch.pch'

1 error generated.


clean多次无果,修改Prefix.pch也不好使。

后发现删除上述note中得pcm文件即可。

删除/Users/haiwang/Library/Developer/Xcode/DerivedData/ModuleCache/3AHB71E18FMJF/UIKit-1MW7QNFZTCE9Q.pcm文件即可。


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值