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[16]: UnityAppController.h build issue

AT Mike

Hello again!
Unfortunately updating the project builder to 3.62 causes other errors when building for me. With that same project I previously sent, the builder starts with the following:

While building module 'Foundation' imported from E:/Unity Projects/Builds/AT_Centrica/iOS/31 test//Classes/Prefix.pch:8:
While building module 'CoreFoundation' imported from C:\Users\micha\iOS Project Builder for Unity\SDK/System/Library/Frameworks/Foundation.framework/Headers\Foundation.h:6:

Is also generates a variety of errors just like it for Security, and UIKit. Here's the full final error in case it helps:

#import <Foundation/Foundation.h>
~~~~~~~^
+ [arm64] Compiling .\Classes\UI\UnityViewControllerBase+iOS.mm...
+ [arm64] Compiling .\Classes\UnityAppController+UnityInterface.mm...
While building module 'UIKit' imported from E:/Unity Projects/Builds/AT_Centrica/iOS/31 test//Classes/Prefix.pch:9:
While building module 'UserNotifications' imported from C:\Users\micha\iOS Project Builder for Unity\SDK/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h:10:
In file included from <module-includes>:1:
In file included from C:\Users\micha\iOS Project Builder for Unity\SDK/System/Library/Frameworks/UserNotifications.framework/Headers\UserNotifications.h:8:
C:\Users\micha\iOS Project Builder for Unity\SDK/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h(8,9): fatal error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
~~~~~~~^
+ [arm64] Compiling .\Classes\Unity\CameraCapture.mm...
21 errors generated.
+ [arm64] Compiling .\Classes\PluginBase\UnityViewControllerListener.mm...
detected compiler error, aborting multithreaded build.

Any idea what could be causing this? Unfortunately the previous transfer I created has expired so I hope you've still got the project if you need it

Moderators: Pierre-Marie Baty