xcode4调用一个静态库。操作步骤:
1. 在项目的build phase中的link binary with libraries里添加了静态库连接
2. 设置了头文件搜索路径,user search header paths为$(BUILT_PRODUCTS_DIR)。设置了recursive。
3. 设置了other link flags为-ObjC但是编译错误
Undefined symbols for architecture i386:
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status实在是搞不定了。求助高手。谢谢!
1. 在项目的build phase中的link binary with libraries里添加了静态库连接
2. 设置了头文件搜索路径,user search header paths为$(BUILT_PRODUCTS_DIR)。设置了recursive。
3. 设置了other link flags为-ObjC但是编译错误
Undefined symbols for architecture i386:
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status实在是搞不定了。求助高手。谢谢!
在我的应用里就不行,报这个错。