Questions tagged [pch]

Precompile Prefix Header

In iOS development with Xcode, PCH stands for Precompile Prefix Header, to make compiling faster and avoid repeating using same header file over and over again.

146 questions
1
vote
2 answers

"input is not a PCH file" - Xcode

I'm working on a client code using PCH a file and I have this errors. error: input is not a PCH file: …
Myx
  • 21
  • 7
1
vote
2 answers

Unreal Engine 4.20 build error in plugin: [Adaptive unity build] Disabling PCH for excluded files

I'm running into the following error in a plugin's code when trying to build a project after updating to Unreal 4.20: 1>[Adaptive unity build] Disabling PCH for excluded files. Set bAdaptiveUnityDisablesPCH to false in BuildConfiguration.xml to…
Kevin Mack
  • 1,174
  • 1
  • 9
  • 20
1
vote
1 answer

GHUnitIOS Build error

I have been trying to get gh-unit working in an iOS project and I am getting a weird build error. I am using the 4.2 iOS SDK and XCode 3.2.5. I followed this tutorial: http://4arrowsmedia.com/2010/09/ghunit-setup/ And I am getting the same build…
obxdenied
  • 11
  • 2
1
vote
2 answers

First Time Using PCH, getting Linker Tool Error

I'm a pretty novice programmer, just learning a little bit of c, but I always did it on Linux with gcc and Vim but decided to try using visual studio and I'm getting LNK2005 and LNK1169 errors, I've tried looking up the errors and how to fix them…
1
vote
1 answer

How to identify the point characters in the "pch = as.numeric" command?

I'm trying to make an NMDS plot, and so far it is working out really well, but my problem is: I have three types of Forest: A, B, and C, and the command pch = as.numeric(env$Forest) creates three kinds of point characters, but I don't know which…
Julkon
  • 23
  • 1
  • 6
1
vote
1 answer

input is not aPCH file ( swift compiler error ) after updated to 8.3 Xcode Swift 3.1

I just Updated My Xcode to 8.3 asn Swift 3.1 and got the Error in Running Project Which Says . as i already have my pch file on place as it was working well befor in 8.2 of XCODE Thanks For Help.
Avinash Mishra
  • 797
  • 9
  • 19
1
vote
2 answers

XCode precompiling pch twice; second time with wrong language

I have an Objective C project in XCode. When building, XCode precompiles my prefix PCH file twice. The first time, it uses the arguments -x objective-c-header, and it works fine. The second time, it uses -x c-header, and it fails (due to the file…
Adam Crume
  • 15,614
  • 8
  • 46
  • 50
1
vote
3 answers

Errors Compiling Prefix.pch file, Causing bigger problems

Update 2 I discovered that if I change the "Base SDK" to "iOS Simulator 3.2" (iPad ???) it does not give me this error when doing Build & Analyze... But this is supposed to be an iPhone App. I am running XCode 3.2.4... am I missing something when I…
Chris
  • 5,485
  • 15
  • 68
  • 130
1
vote
1 answer

make pch symbols bigger in legend in R

Is there a way ONLY to make the pch symbols bigger using this piece of code? I cant seem to figure this out. plot(1) legend("topright", legend=c(1,2,3,4,5,6), pch=c(20), col=c("red", "yellow", "green", "violet", "skyblue", "cyan"), …
Genetics
  • 279
  • 2
  • 11
1
vote
1 answer

I want to add pch file to my osx application project but thers is no prefix header field in build settings

I have followed some tutorial to create a pch file and add it to my project, but there is no way for me to set its path in build settings Below is the screen shot of my Xcode…
highsun16
  • 301
  • 3
  • 12
1
vote
1 answer

.pch File in Xcode 6.1

I have looked all over and cannot find a solution to this problem. The problem involves adding a header file to an xcode 6.1 project. What I want to be able to do is add a header file that is automatically imported to each of the files I…
cwiggo
  • 2,541
  • 9
  • 44
  • 87
1
vote
0 answers

Project-Prefix.pch file in Xcode 6

In Xcode 6 the .pch file is not created automatically for you anymore. I understand there are steps to create the file on your own. My question is, should the .pch file be added at all? Did Apple move away from the .pch file completely? Or is there…
acowardjr
  • 11
  • 4
1
vote
0 answers

The location of SharedPrecompileHeaders folders on XCode 6.1.1

I'm building my own SDK and got error about pch ** BUILD FAILED ** The following build commands failed: ProcessPCH…
Scofield Tran
  • 828
  • 1
  • 18
  • 30
1
vote
0 answers

CocoaPods custom prefix header

In my release build I want to use a #define for my whole workspace (including all pods). I did this via the prefix header for my main project, but this doesn't affect my used pods. How can I add the #define macro? I've seen Gist 833 but the last…
Jan
  • 1,827
  • 2
  • 16
  • 29
1
vote
1 answer

Adding parse framework prevents pch file precompile

I have an iOS project in Xcode 5. I want to use parse in the project. Compile project, everything is ok Add Parse framework Compile project, pch precompile fails. Errors indicate the pch files imports are being compiled as C instead of…
McMac
  • 21
  • 2