Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Add Swift Package to Generated XCode Project

Discussion in 'iOS and tvOS' started by phuctm97, Jul 22, 2021.

  1. phuctm97

    phuctm97

    Joined:
    Jul 2, 2021
    Posts:
    1
    Hey guys, I'm working on a project that requires a 3rd native Swift library, currently I can add the Swift package manually in Xcode after Unity generated project, I'm trying to add this automatically using the PostBuild process and Unity Xcode API but can't find any docs.

    Any idea or clue is highly appreciated!
     
  2. hsallander

    hsallander

    Joined:
    Dec 19, 2013
    Posts:
    43
    Hi! Did you find a solution to this? I'm having the exact same issue but haven't found a solution yet.
     
  3. Chris-V

    Chris-V

    Joined:
    Jul 29, 2015
    Posts:
    8
    Also looking to do the same thing - add Swift Package Manager dependencies into the Unity Xcode project from a PostProcessBuild script. Anyone find any good solutions or alternatives to this?
     
  4. javier-next

    javier-next

    Joined:
    Mar 30, 2021
    Posts:
    6
    It would be interesting to know
     
  5. JokeMaker

    JokeMaker

    Joined:
    Sep 9, 2019
    Posts:
    19
    same here!