Search Unity

Question Problems integrating with Facebook Analytics for iOS - I can't find the AppDelegate.swift

Discussion in 'iOS and tvOS' started by tonOnWu, Sep 29, 2020.

  1. tonOnWu

    tonOnWu

    Joined:
    Jun 23, 2017
    Posts:
    83
    Hi, guys.

    I'm having a problem integrating a Unity project for iOS where I need to check Analytics on Facebook. I installed the last version of Facebook SDK for Unity. But then, according to Facebook, one of the steps to finish the setting is to get to a file called: "AppDelegate.swift" and add some extra code (in the compile Xcode project generated by UNITY). I can't find that file anywhere.

    Here are the instructions of Facebook. My problem is in Step 6. I'm using UNITY 2019.3.13F1.

    I appreciate your help.

    Thanks.
     
  2. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516
    You were looking at the wrong instruction. Instruction for Unity is right below iOS.
    upload_2020-10-2_22-25-31.png
     
    tonOnWu likes this.
  3. tonOnWu

    tonOnWu

    Joined:
    Jun 23, 2017
    Posts:
    83
    Thanks. In the end, the problem was even more simple: I just don't need that file at all.
    .
    I followed all these instructions except step 3. It worked.

    Thanks.