iOS Build Environment Help Center

'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.

Append

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

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty