Linking Error in Xcode

前端 未结 12 1122
予麋鹿
予麋鹿 2021-01-11 11:40

I am getting this error after adding the libxml2.2.dylib file

 Linking /Users/Biranchi/Desktop/Funmovies TabBarController/build/Debug-iphonesimulator/funmovi         


        
12条回答
  •  有刺的猬
    2021-01-11 12:38

    Got the same error, now even when I`ve deleted libxml2 from project error still here :) This sh**y XCode wrote this:

    LIBRARY_SEARCH_PATHS = (
    +                    "$(inherited)",
    +                    /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib,
    +                );
    

    into project`s config file "project.pbxproj" in "MyProj.xcodeproj".

    You can change this path by hands to something like:

    LIBRARY_SEARCH_PATHS = (
    +                    "$(inherited)",
    +                    /Developer/Platforms/iPhoneSimulatorOS.platform/Developer/SDKs/iPhoneSimulatorOS3.0.sdk/usr/lib,
    +                );
    

    But do not forget to change it back when compile into device. I`ll try to find more simple way to resolve this problem.

提交回复
热议问题