Description:
I just updated the SDK from 2.14.6 to 3.0.1. Everything is fine on Android but on iOS, I get the following error when the Xcode project gets compiled:
building for iOS, but linking in dylib file (/Users/cyril/Library/Developer/Xcode/DerivedData/Unity-iPhone-braqpnxgmoetzydutycizcruiwpn/Build/Products/Debug-iphoneos/OneSignal.framework/OneSignal) built for Mac Catalyst, file '/Users/cyril/Library/Developer/Xcode/DerivedData/Unity-iPhone-braqpnxgmoetzydutycizcruiwpn/Build/Products/Debug-iphoneos/OneSignal.framework/OneSignal' for architecture arm64
This is similar to the issue described here: OneSignal/react-native-onesignal#1234
I cleaned my cache, deleted everything in the derived data folder and I still get the same error.
Environment
Unity version: 2020.3.26f1
One Signal SDK: 3.0.1
Steps to Reproduce Issue:
- Update the OneSignalSDK to 3.0.1 using Package Manager
- Build