briancollins/BCTabBarController — Issue #16: Precompiler error - pch file not found error when Archiving for Distribution
Author: dkamdar
Created: 2012-02-29 14:25:12+00:00
State: open

Hi,

I am getting following error where I am archiving for distribution only.
Its working fine on simulator and even on device with Developer Profile.
I followed the example as provided ... not sure what am I missing here?

Compiler Error -

ProcessPCH /Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/Build/PrecompiledHeaders/BCTabBarController_Prefix-gcyegysplhlyxzcibemetstodnez/BCTabBarController_Prefix.pch.pth BCTabBarController_Prefix.pch normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/dk/Projects/2012_01_05_Walking_Cycling/Code/2012_2_23_Part2_Cycling
setenv LANG en_US.US-ASCII
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -x objective-c-header -arch armv7 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=gnu99 -Wno-trigraphs -fpascal-strings -Os -Wmissing-prototypes -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk -gdwarf-2 -Wno-sign-conversion -mthumb "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=3.2 -iquote /Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/IntermediateBuildFilesPath/Cycling.build/Release-iphoneos/BCTabBarController.build/BCTabBarController-generated-files.hmap -I/Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/IntermediateBuildFilesPath/Cycling.build/Release-iphoneos/BCTabBarController.build/BCTabBarController-own-target-headers.hmap -I/Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/IntermediateBuildFilesPath/Cycling.build/Release-iphoneos/BCTabBarController.build/BCTabBarController-all-target-headers.hmap -iquote /Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/IntermediateBuildFilesPath/Cycling.build/Release-iphoneos/BCTabBarController.build/BCTabBarController-project-headers.hmap -I/Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/BuildProductsPath/Release-iphoneos/include -Isrc -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/include/libxml2 -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/include/libxml2/libxml -I/Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/IntermediateBuildFilesPath/Cycling.build/Release-iphoneos/BCTabBarController.build/DerivedSources/armv7 -I/Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/IntermediateBuildFilesPath/Cycling.build/Release-iphoneos/BCTabBarController.build/DerivedSources -F/Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/ArchiveIntermediates/Cycling/BuildProductsPath/Release-iphoneos -c /Users/dk/Projects/2012_01_05_Walking_Cycling/Code/2012_2_23_Part2_Cycling/BCTabBarController_Prefix.pch -o /Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/Build/PrecompiledHeaders/BCTabBarController_Prefix-gcyegysplhlyxzcibemetstodnez/BCTabBarController_Prefix.pch.pth -MMD -MT dependencies -MF /Users/dk/Library/Developer/Xcode/DerivedData/Cycling-fsnjilzfxsihaqgbynhlsabjftfr/Build/PrecompiledHeaders/BCTabBarController_Prefix-gcyegysplhlyxzcibemetstodnez/BCTabBarController_Prefix.pch.d

clang: error: no such file or directory: '/Users/dk/Projects/2012_01_05_Walking_Cycling/Code/2012_2_23_Part2_Cycling/BCTabBarController_Prefix.pch'
clang: error: no input files
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1