Search Unity

Thousands of warnings in XCode

Discussion in 'iOS and tvOS' started by Luixel, Apr 22, 2019.

  1. Luixel

    Luixel

    Joined:
    Apr 3, 2018
    Posts:
    4
    Hi, I'm new to Unity.

    I tried a very simple tutorial (Roll-a-Ball). After building for iOS using the default player settings and opening the project in XCode (10.2), I get literally thousands of warnings:



    Thousands of


    And lots of


    Also, lots of additional warning deprecations (mostly related to OpenGL), and a few other warnings about unused functions.

    Is this considered normal?

    I know I can silence warnings in XCode, but I think that's not the best solution. Is there something I can tweak on the Unity side to avoid these warnings?

    Thanks,
    Luis
     
    Last edited: Apr 22, 2019
  2. GluedPixel

    GluedPixel

    Joined:
    Nov 26, 2018
    Posts:
    11
    Same here.... and the time it's taking is very Loooong..... What happened?
    ----
    Simple 3D project
    I'm also using Pro Builder 2.x
     
  3. Luixel

    Luixel

    Joined:
    Apr 3, 2018
    Posts:
    4
    Yes, it takes a long time to build even the most simple project, maybe due to the thousands of warnings.

    Anyway, maybe we are doing something wrong, since nobody else seems to have this problem :(
     
  4. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    yes
     
  5. Gdakkutlu

    Gdakkutlu

    Joined:
    Nov 9, 2016
    Posts:
    47
    Do you know why this happening?

    Cause at Unity 2018 version, there are maximum 300 warnings.
    I really don't know what's going on here.
     
  6. r618

    r618

    Joined:
    Jan 19, 2009
    Posts:
    1,305
    I don't unfortunately
    Though on second look the count is rather high and non reachable code seems like overlook maybe

    Maybe @JoshPeterson can explain little bit and/or advice how to generate cleaner code if possible
     
  7. mprogers123

    mprogers123

    Joined:
    Feb 15, 2015
    Posts:
    10
    I'm using Unity 2019.3.10f1, and got a mere 827 issues, including numerous deprecations that started with iOS 10. This does not inspire confidence ...
     
  8. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516