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[3]: fatal error: could not build module 'Foundation', error: redefinition of module 'libxml2', and more

Pierre-Marie Baty

Okay. This one is a "false positive", i.e. the dependency tool should not print that. Thank you for signaling me this problem. The reason is that a dynamic library used by your game claims a dependency on files at certain paths. But because on iOS, paths like xxxxx.framework/Versions/A/xxxxx are in fact a "symbolic link" to the xxxxx.framework/xxxxx files, and because on Windows, the iOS SDK is extracted without these symbolic links, such a dependency check fails.

I have added a test case in the validatedeps.exe tool so that it redirects those checks to the right place. Please download this fixed version from the URL below and put it in the builder's Toolchain directory, overwriting the old one. Then rebuild and let me know if the problem is solved.

Updated dependency checker: https://www.pmbaty.com/iosbuildenv/validatedeps.zip

Moderators: Pierre-Marie Baty