Search Unity

AdColony error: 'AdColony/AdColony.h' file not found

Discussion in 'Unity Build Automation' started by silmarill, Aug 12, 2015.

  1. silmarill

    silmarill

    Joined:
    Jul 13, 2013
    Posts:
    10
    Hello!

    I get this error when building project in UnityCloud.

    322: [xcode] /BUILD_PATH/silmarill.btbw.default-ios/temp.j2zAlU/Libraries/Plugins/iOS/UnityADC.mm:18:9: fatal error: 'AdColony/AdColony.h' file not found
    4323: [xcode] #import <AdColony/AdColony.h>
    4324: [xcode] 1 error generated.

    I know about official fix on AdColony github. On mac i just adding AdColony.Framework in xCode and everything works just fine. But i cant understand how handle this for Unity Cloud. I working mainly on PC from Windows.

    Plz help!
     
  2. David-Berger

    David-Berger

    Unity Technologies

    Joined:
    Jul 16, 2014
    Posts:
    745
  3. silmarill

    silmarill

    Joined:
    Jul 13, 2013
    Posts:
    10
    Can you explain me, how to add AdColony.Framework via script? As i understood AddFrameworkToProject() works only for system frameworks. How to add external framwork to my project if its path is {$Project}\Assets\Plugins\iOS\AdColony.Framework ?
     
  4. br-anderson

    br-anderson

    Joined:
    Oct 2, 2019
    Posts:
    3
    I know this thread is older, and this may not be the correct forum for this but wanted to reach out if someone had reference to something.

    I'm having the same issue - Xcode 12 build failed because the AdColony/AdColony.h file not found.

    Unlike above, I am not using UnityCloud, but simply building my iOS project, then opening the .xcworkspace file and building in Xcode 12.

    I am utilizing Google AdMob Mediation, and adding AdColony as an ad source - following the steps on AdMob for integrating AdMob mediation is resulting in this error. I have posted a question there

    I couldn't find what @silmarill was referring to on GitHub as an 'official fix'.

    I don't know what it means to add the AdColony.framework in Xcode 12, but from what I've seen in AdMob there shouldn't be anything I'm required to do in Xcode to get things working (unless some steps are out of date with software updates?) so I'm rather stuck.

    Does anyone have some more information that could help in resolving this error?
     
    chikchik likes this.