Hello,
i’m startinfg to developp an AR app for my Iphone. When I build in Unity there is no bug.
Opening it in XCode, the builds fails with several errors of this sort :
double-quoted include “LifeCycleListener.h” in framework header, expected angle-bracketed instead.
I’m under Unity 2022.2, XR Foundation and AR Kit up to date (5.0) and XCode Version 14.3 (14E222b).
I have already crawled the internet, but I was not very sucessfull. Turning of the warnings under Build Settings (in XCode) didn’t solve the problem.
I’ve started getting the same error with my Unity 2020.3 project being built in Xcode 14.3. Everything was working fine with Xcode 14.2, but the same project is now returning these errors saying “expected angle-bracket” and elsewhere it says “use quotes instead”. As soon as I change the format to what it wants, it does not solve the problem. Any help would be really appreciated.
Pasted your line of code right in top of those 3 (in the XCode interface). But unfortunately, it didn’t resolve my building errors. Should I paste this line of code before jumping inside Xcode ?
Does your Xcode throw up a warning (not an error) to “Update to Recommended Settings”? If so, are you updating it based on the recommended settings? I actually tried not updating it, and then my errors disappear, even without adding this extra code.
Well, life’s sometimes very simple … I just made anoter build from Unity but changed the version of Xcode in the builder settings from “all versions” to my Xcode installed on the Mac. Solved the problem.
The app runs on my Iphone. Going on !!
Thank you for your help.
@ejoflo Check the screenshot. Under Run in Xcode, I changed the “latest version” to my specific installed version.
It resolved my build errors in XCode.
This worked for me as well, I usually update my Xcode projects to recommended settings, as I think it’s good practice, but this time it throws these double-quote weird errors, so, like you said, it’s better not to update