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
3
votes
1 answer

Numeric point characters in r do not fully show

Above is an image of a simple plot I have created with x,y co-ordinates. I have passed pch = as.character(1:32) into the plot, but after the first 9 characters, it will cut off the second character. How do you fix this? I guess I need to increase…
Jobs
  • 95
  • 2
3
votes
2 answers

'Virtual range for PCH exceeded' issue - after Visual Studio 2019 Upgrade to 16.7.6

This might be related to 38479787/c3859-virtual-memory-range-for-pch-exceeded. A good read on PCH issues and recommendations can be found here. After we've upgraded from VS2019 16.6 to VS2019 16.7.6, we're sometimes getting the infamous C3859 error…
mwallner
  • 985
  • 11
  • 23
3
votes
1 answer

Swift4 - Xcode 9 PCH error

This project works well all the time until I install a framework. Once the framework seems hard to handle, I uninstall it. Then, xcode 9 read PCH error. I perform this project with Swift, and I know little about OC. How this error happens…
Tech HiMi
  • 51
  • 10
3
votes
2 answers

XCode cannot find auto-generated swift header moduleName-Swift.h in pch file in duplicate target

I duplicated a target and get the following build error: Resource/Prefix.pch:16:13: '-Swift.h' file not found I can't see any difference between the two targets that would cause this problem. Any ideas why this is happening?
Matt
  • 4,261
  • 4
  • 39
  • 60
3
votes
1 answer

referring to an installed pod within Prefix.pch

Finally taking on pods. Everything seems to work, for example, dropped in Parse, install pod'd, see it in a view controller.m file just fine. BUT.. now i want to drop Parse into the pch as i use it so often. My pre-pods line was: #import…
drew..
  • 3,234
  • 3
  • 16
  • 19
3
votes
1 answer

Xcode pch file can't find boost even though header search path is set and boost is installed

My Foo_Prefix.pch file can't find boost. I installed boost with brew and have added /usr/local/include for both Debug and Release in the Build Settings/Search Paths/Header Search Paths in non-recursive mode. Switching to recursive mode causes…
erg
  • 111
  • 1
  • 5
3
votes
2 answers

R plotting - can't change the dots (get "minus" signs)

I want to plot the wind speed at three different sites with x = date and y = wind speed. The plot I want should basically look like this: Except I want the full date instead of just the day on the x-axis. The graph above is just a workaround, as…
Anne
  • 377
  • 2
  • 4
  • 16
3
votes
0 answers

c1xx : fatal error C1023 unexpected error with pch

I'm using Visual Studio 2005 team suite sp1 on Windows 7 sp1. That error will appear when I compile my project after I restart my computer. The detail error message : "c1xx : fatal error C1023: 'projectname.pch' : unexpected error with pch, try…
xuqiang
  • 102
  • 1
  • 6
3
votes
1 answer

"pragma GCC diagnostic ignored" has no effect if it's defined in PCH?

I have several diagnostic pragmas in a header file. #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wmissing-braces" When I compiled this header file as PCH, these pragmas seem to have no effects in any other…
Lendy Zhang
  • 135
  • 7
3
votes
3 answers

How to choose pch symbols for a factor in R?

I have tried to find out how to choose the symbols used for the factorial parameter in a case like this: plot(data.3$age,data.3$tl,pch=c(data.3$mu),col=c(data.3$mu), cex=1.5,cex.lab=1.3,cex.axis=1.5,las=1,bty="n",xlab="Age (years)", ylab="Male Total…
Waddi
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

XCode cannot find #define macro in *prefix.pch but compiles OK

I've added something in -prefix.pch file, but XCode gives me error when I use it, saying Use of undefined identifier ... However if I compile it (Command+B), it compiles, so I thought it was caused by derived data, I then tried to remove derived…
hzxu
  • 5,753
  • 11
  • 60
  • 95
3
votes
1 answer

What's the difference when putting header inside pch file?

In some tutorial, it is said that we can put some header files in the pch file. After that, I still see that the same header are included in the individual header file? why we put the header in the pch file? For exmaple, UIKit.h
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
3
votes
1 answer

Including a constants.h file in Prefix.pch breaks code completion, syntax highlighting

My application has many constants (kvo keys, enums, etc.) that are used by almost every class. I have a constants.h file with all of them. I want include this file in the Prefix.pch file as follows: #ifdef __OBJC__ #import #import…
jaredsinclair
  • 12,687
  • 5
  • 35
  • 56
2
votes
1 answer

How to change .pch file location(Visual Studio 2008)?

my project has a lot of pch files. So, when I build projects, it makes .pch files a lot at Local\Temp\c\Vs2008... Because I have small capacity harddisk, I want to change the destination of .pch file generated. How to change .pch file location? I…
P-P
  • 1,670
  • 5
  • 18
  • 35
2
votes
1 answer

PCH was compiled with module cache path Issue

My project is running perfectly before i just relocate my project in Document folder. After that it shows me Showing Recent Messages PCH was compiled with module cache path…
Shubham
  • 51
  • 2
1 2
3
9 10