You are getting an InvalidOperationException from a custom shell script called ‘Run Script’. I’m not familiar with any script like this on our end. Is that yours?
I build for iOS from OSX so I haven’t seen this issue. Based on the thread you linked, it appears that there might be an issue compiling for iOS from Windows in 2022.2. I don’t see any reason to think that AR Foundation is the cause of this issue but feel free to reach back out if you get more information.
Same here. The project builds OK in Windows, but the error occurs when trying to build in XCode 14.2. When building from Unity on MacOS, no issues occur. Suppose this is Unity related. I am using Unity 2022.2.8f1
I tried this last week and also ran into issues. If one of you could file a bug for this: Unity QA: Building quality with passion, that would create a public issue in our issue tracker so that other users can check the status of the fix. Either way for now you are correct that building AR Foundation apps for iOS from Windows is currently broken. Thanks for this report!