Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Windows building XCode/iOS ARFoundation creates unbuildable project (with sample project)

Discussion in 'Handheld AR' started by LouisHong, May 23, 2019.

  1. LouisHong

    LouisHong

    Joined:
    Nov 11, 2014
    Posts:
    63
  2. Tarrag

    Tarrag

    Joined:
    Nov 7, 2016
    Posts:
    103
    Hey Louis, I don't have a mac to reproduce but error occurs with windows ios builder and can't build; did you log a bug for Unity and please send link to vote it?
    Thanks !
     
  3. Kholeslaw

    Kholeslaw

    Joined:
    May 7, 2013
    Posts:
    11
    The temporary solution is each time you build the XCode project with Unity, you need to go into the created folder and delete the two directories:
    Unity-iPhone/ARReferenceImages.xcassets
    Unity-iPhone/ARReferenceObjects.xcassets

    Then you can build the application with iOS Builder.... I would assume it will fix the issue with XCode, too.

    You have to do this every time now since they started creating those directories in ARFoundation 2.1.0. It's really annoying.

    I have not tested this fix with ARFoundation 2.2.0 yet.
     
    Tarrag likes this.
  4. Tarrag

    Tarrag

    Joined:
    Nov 7, 2016
    Posts:
    103
    Thanks a bunch @Kholeslaw , that works for non-image/object AR apps;

    if these directories are deleted are you aware of any image/object recognition workaround?
     
    Last edited: Jun 13, 2019