Search Unity

tvOS CoreMotion/CoreMotion.h file not found error

Discussion in 'Input System' started by Boji, Feb 17, 2021.

  1. Boji

    Boji

    Joined:
    Jul 10, 2012
    Posts:
    44
    Hi, I am trying to do a tvOS build but I get this error " CoreMotion/CoreMotion.h file not found " in InputSystem/Plugins/iOS/ioSStepCounter.mm

    I can make iOS builds without problems, so I guess CoreMotion.h is not included with tvOS builds in Xcode?

    Any ideas on how to fix this?
     
  2. CDF

    CDF

    Joined:
    Sep 14, 2013
    Posts:
    1,311
    Yep. Same issue, appears to be a problem with Input System: Version 1.1.0-preview.3
    does not happen with Version 1.1.0-preview.2
     
  3. zapposh

    zapposh

    Joined:
    Nov 12, 2016
    Posts:
    117
    Some error here too. This is still not fixed.
     
  4. petey

    petey

    Joined:
    May 20, 2009
    Posts:
    1,824
    Ahh damn! Just hit this too. Has anyone found a way to fix this one even a temporary solution would be great!

    I tried deleting it from the Xcode project but I get these errors. -
    Undefined symbols for architecture arm64: "__iOSStepCounterIsAvailable"
     
    Last edited: May 23, 2021