Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the Build Profiles Window (File > Build Profiles)
3. In the Build Profiles Window, press the “Build” button to build an XCode project
4. Observe the Editor
Expected result: No errors are thrown and the build succeeds
Actual result: “Library/PackageCache/com.unity.inputsystem/InputSystem/NativeInputRuntime.cs(411,26): error CS1061: 'InputAnalytics.IInputAnalytic' does not contain a definition for 'TryGatherData' and no accessible extension method 'TryGatherData'“ error is thrown failing the build
Reproducible with: 1.8.2 (6000.0b16), 1.11.2 (6000.0.0b16, 6000.0.30f1, 6000.1.0a7)
Not reproducible with: 1.8.2 (2021.3.46f1), 1.11.2 (2021.3.46f1, 2022.3.54f1)
Could not test with: 1.11.2 (6000.0.0b15 (“error CS0103: The name 'InputModuleComponentFactory' does not exist in the current context” compilation error))
Reproducible on: MacOS 15.1.1 Intel, M1 (user’s)
Not reproducible on: No other environment tested
Notes:
- The error is thrown on Android and iOS builds. I could not test the Standalone MacOS build due to other build error
- Rebuilding the Library folder does not solve the issue
- Could not test with the 2023.1, 2023.2, and 2023.3 Streams due to multiple different compilation errors