Skip to content

Can't build for iOS: building for iOS, but linking in dylib file built for Mac Catalyst #487

@CyrilGC

Description

@CyrilGC

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:

  1. Update the OneSignalSDK to 3.0.1 using Package Manager
  2. Build

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions