Search Unity

iOS Build Error FileNotFoundException: Could not find file "/build/Libraries/RegisterMonoModules.h"

Discussion in '2019.3 Beta' started by Revolter, Aug 17, 2019.

  1. Revolter

    Revolter

    Joined:
    Mar 15, 2014
    Posts:
    110
    Happens after importing Facebook SDK

    Reproduction is super simple:
    1. Create new project in Unity 2019.3.0a11
    2. Import latest Facebook SDK
    3. Build to iOS
     

    Attached Files:

  2. chanon81

    chanon81

    Joined:
    Oct 6, 2015
    Posts:
    92
    I have this same problem in Unity 2019.3.0b1
    Didn't know it was because of Facebook SDK

    Does anyone know if there is any progress to fixing this or any workarounds?
     
  3. Revolter

    Revolter

    Joined:
    Mar 15, 2014
    Posts:
    110
    Submitted the bug both to Facebook and Unity, no updates from either of them
     
  4. Revolter

    Revolter

    Joined:
    Mar 15, 2014
    Posts:
    110
    There is a workaround though, you can import the file manually in xcode (it's created in a wrong folder I think, or you can google for it)
     
  5. chanon81

    chanon81

    Joined:
    Oct 6, 2015
    Posts:
    92
    Thank you! I guess at least when 2019.3 is out of beta this should be fixed.