iOS Build Environment Help Center

Delete

(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[24]: 'pch-cpp.hpp' file not found

Pierre-Marie Baty

Have you made a diff of your files before and after the modification to make sure that your script works as intended ?
I'm not a Python expert, but I see you open your file once in read mode and a second time in write mode without closing it first. In case the Windows implementation of your Python interpreter opens the file with an exclusive lock, your second open() call might fail.

Moderators: Pierre-Marie Baty