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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Use of undeclared identifier 'AssetImporter'

Discussion in 'iOS and tvOS' started by kspilot, Oct 3, 2017.

  1. kspilot

    kspilot

    Joined:
    Feb 23, 2017
    Posts:
    2
    Hullo everyone,

    I'm getting this Use of undeclared identifier 'AssetImporter' error when trying to build for iOS.
    I'm using Xcode 9 and Unity 2017.1.0f3.
    Has anybody else encountered this?

    Thanks!
     
  2. seandanger

    seandanger

    Joined:
    Jun 13, 2012
    Posts:
    39
    I'm getting the same error, same version of Xcode, with Unity 2017.1.2f1. It happened when I enabled the Scripts Only Build option in Unity Build Settings. Unchecking this option caused things to work once again.
     
    mayo_f and JoonaParjanen like this.
  3. GimpMaster

    GimpMaster

    Joined:
    Mar 30, 2017
    Posts:
    7
    Still seeing this error on 2017.4.
     
    LouisHong likes this.