Search Unity

Question Unity project using external iOS Framework

Discussion in 'iOS and tvOS' started by saft-industries, Feb 13, 2024.

  1. saft-industries


    Sep 7, 2020
    Hi everbody! Hoping anybody would know this: I have this unity project and I want to use a CocoaPod framwork that is completely external to Unity, so I can generate the xcode project and add the dependencies there. The problem is, that within Unity I need to have a C# file to call some functions in said framework using DLLInternal and "extern C". However... linking fails, because I guess Unity has to compile said C# file and does not have the referenced framework. So, is there any way I can add a pod to Unity, so that it can linked correctly before the xcode project generation? Thanks!