Build errors packaging for iOS : UE 4.17.2 / Xcode 8.2.1
I have been experiencing a variety of errors trying to get an Unreal project started on Windows to compile for iOS on a Mac. Initially, I had the problems with Xcode 9 and 8.3 described in this post: https://nacellegames.com/blog/2017/3/31/how-to-change-what-xcode-versions-for-compiling-unreal-engine-4-cpp-projects
I followed the instructions in it using Xcode 8.2.1 and was successful in building the Xcode project. In UE, however, the packaging process fails, seeming to error out on references to UE classes. A small sampling of the errors:
These would seem to indicate that the project is unable to find UE classes for some reason, which makes me think there's a problem in either pre-compiled headers or something else related to Xcode/clang.
asked Nov 15 '17 at 04:31 PM in Bug Reports
So it turns out that this was a problem with the fact that on Windows it compiles in such a way that it doesn't need any engine includes - probably a Visual Studio thing. On Mac with Xcode they are required. I just had to hunt down the engine classes being used and include the headers. Hopefully this is helpful to someone in the future.
answered Nov 15 '17 at 11:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here