我在下面的xcode中有以下错误,有什么想法会导致这些错误吗?
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
答案 0 :(得分:0)
请检查您是否拥有 libbtexternal.a 文件。如果没有,那么在进入项目之后将其添加到项目中,并且有构建阶段选项。您可以在此处找到四行,您必须在其中选择链接二进制文件库并将.a文件添加到您在此处看到的框架中。我认为它会起作用,如果没有,请告诉我。
希望这会有所帮助。