0

I have the following errors in xcode below, any ideas what's causing these?

arm-apple-darwin10-llvm-g++-4.2: /Users/<foldername>/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libbtexternal.a: No such file or directory
arm-apple-darwin10-llvm-g++-4.2: /Users/<foldername>/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libbtexternal.a: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/1x/_btz9s41381cdzz41ty0r5fm0000gn/T//cc8KPWhc.out
error: linking step of external dylib build failed, probably due to missing framework or library references - check the contents of the btexternal.ios file
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
Junryl
  • 21
  • 1
  • 3
  • 2
    It says itself in the error that your file `libbtexternal.a` is missing.. If they are showing in your project files try removing them and readding them. – Ahmed Z. May 22 '13 at 07:37
  • How do we add it back? In xcode, libbtexternal.a is under Products but it is red and can't be open in finder. – Junryl May 22 '13 at 07:43
  • its red means that it is not added in project.. so for that u click on it press delete and delete file, and then add again from where ever you got it. – Ahmed Z. May 22 '13 at 07:48
  • If is red, it means that the file was removed from the disk or the Xcode can't find it at the previously specified path, so copy it again to the path of the group in which it appears red. – danypata May 22 '13 at 07:48
  • Unfortunately I was not able to find the libbtexternal.a file. Tried to search in spotlight and I don't have it. Is there another way? – Junryl May 22 '13 at 08:00

1 Answers1

0

Please check that are you having the file libbtexternal.a. If not then add it to your project after this go to the project and there is option Build phases. You find here four rows in which you have to select Link Binary with Libraries and add your .a file to the frameworks you are seeing here. I think it will work, If not then tell me.

Hope this helps.

iEinstein
  • 2,100
  • 1
  • 21
  • 32
  • I can't find the libbtexternal.a file from my system, is there another way where in I can create another one? – Junryl May 22 '13 at 07:57
  • No it a framework file you can't create. BTW tell me you are making your project by own or you have imported some files from another project to your project. – iEinstein May 22 '13 at 08:01
  • I just took this over from other programmer and no longer have connection with him. – Junryl May 22 '13 at 08:06
  • So there would be a file name libbtexternal.a. Without it you should remove all the references of that file from your project. And implement the functionality from your own to work exactly in same way as you want – iEinstein May 22 '13 at 09:02