Linking Error in Xcode

前端 未结 12 1261
予麋鹿
予麋鹿 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:23

    I had a similar problem when building a project but this time with the file timbreID.c

    arm-apple-darwin10-gcc-4.2.1: timbreID.c: No such file or directory
    Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
    

    After several attempts I finally looked into the 'Targets' on my XCode project and realized that the file timbreID.c was red (= not found). I right-clic on it and chose the new path manually.

    After that: build succeeded!!

提交回复
热议问题