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

Building errors on Linking Security Framework

Discussion in 'iOS and tvOS' started by leoalvaleo, Mar 4, 2016.

  1. leoalvaleo

    leoalvaleo

    Joined:
    Jan 11, 2016
    Posts:
    3
    Hi,

    For some reason when I open my Xcode project, the Library and the Framework path are wrong.

    I'm using some Plugins (Chartboost, Soomla and AdColony), and everytime I create a Xcode project in Unity and open it on xcode, the path to those plugins are wrong. Xcode is using a "\" instead of "/" so I have to change those bars manually.
    The problem is that when I try to build, I get a linker command error for the framework "FrameworksSecurity" (it says that the framework was not found). It does look like xcode can't find this framework because its using this "inversed bar" somewhere.

    How can I find this wrong path and change it? Did someone ever encountered this problem? If so, how can I fix it?

    Thanks.
     
  2. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Can you reproduce this project on empty Unity project?
    At the moment I would suspect some of plugins improperly updating paths.
     
  3. bombsquare

    bombsquare

    Joined:
    Oct 29, 2014
    Posts:
    8
    Same story here. Build failed because:
    ld: framework not found FrameworksSecurity

    Did you manage to fix the issue?
     
  4. leoalvaleo

    leoalvaleo

    Joined:
    Jan 11, 2016
    Posts:
    3
    I've managed to fix this error by building my game on a Mac computer (both in unity and in Xcode). It was happening because I was trying to build on Windows computer and didnt realise that I had post processing build errors (although the build completed).

    If somebody still cant fix this. Email me: leoalvaleo@gmail.com

    We can close this issue.
     
  5. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Please make bugreport for that.
    Thanks!
     
  6. bombsquare

    bombsquare

    Joined:
    Oct 29, 2014
    Posts:
    8
    We also managed to fix the issue by moving the whole build process to Mac OS. It is not related to Unity, instead it seems to be a bug of some post process script of those ad networks plugins. We already contacted their developers, so no worries for you guys. Thanks!