*Description*
Switch 2 builds fail because the In-App Purchasing package includes Apple platform code in the build.
*Initial setup*
A Unity project with com.unity.purchasing installed, targeting Nintendo Switch 2 with IL2CPP. The IAP and Unity versions used were not recorded at filing.
*Reproduction steps*
- Create or open a project with com.unity.purchasing installed.
- Switch the build target to Nintendo Switch 2.
- Build the player.
*Expected behaviour*
The build succeeds.
*Actual behavior*
The build fails at link time with undefined symbol errors referencing Apple platform bindings.
*Logs and Links*
```java
Building Library\Bee\artifacts\Switch2PlayerBuildProgram\...\build.nss failed with output:
ld.lld: error: undefined symbol: unityPurchasing_SetNativeCallback
>>> referenced by Unity.Purchasing.Apple.cpp:455
>>> ...Switch2PlayerBuildProgram/5yefs/uwl9lm1jhnjj.o:
>>> (iOSStoreBindings_unityPurchasing_SetNativeCallback_m48C165929A4DFD0ABC5015941D3F46A68F46474D)
>>> referenced by Unity.Purchasing.Apple.cpp:455
>>> ...Switch2PlayerBuildProgram/5yefs/uwl9lm1jhnjj.o:
>>> (iOSStoreBindings_SetUnityPurchasingCallback_m219BD679AD861A63ED28739140610DB5DA5463D6)
```