Building for ios simulator but the linked 'unity-plugin-library.a' was built for iOS

I’m trying to build for the Xcode simulator but I’m getting the following build error in Xcode:
“Building for ios simulator but the linked ‘unity-plugin-library.a’ was built for iOS”

In Unity I changed Target SDK to Simulator SDK.

Has anyone experienced this before?

1 Like

Same issue

same issue