标签:blog code http ext com 2014
今天整合项目的时候, 遇到了这样一个问题。
duplicate symbol _flag in:
/Users/apple/Library/Developer/Xcode/DerivedData/bluetoothPhone-fspknidhnizzjygmuqngfcklvnic/Build/Intermediates/bluetoothPhone.build/Debug-iphonesimulator/bluetoothPhone.build/Objects-normal/i386/DialVC.o
/Users/apple/Library/Developer/Xcode/DerivedData/bluetoothPhone-fspknidhnizzjygmuqngfcklvnic/Build/Intermediates/bluetoothPhone.build/Debug-iphonesimulator/bluetoothPhone.build/Objects-normal/i386/PersonalList.o
ld: 1 duplicate symbol for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
分析一下, 如图。
可以看出, 错误类型是 duplicate(重复) 错误标识是 _flag 错误位置在 DialVC 和 PersonalList中
于是, 搜索一下, flag。发现...
好了。 只要把其中一个改掉就好了。
iOS开发- "duplicate symbol for architecture i386" 解决办法,布布扣,bubuko.com
iOS开发- "duplicate symbol for architecture i386" 解决办法
标签:blog code http ext com 2014
原文地址:http://blog.csdn.net/hitwhylz/article/details/32151295