duplicate symbol _main in:iphone
/Users/mb467/Library/Developer/Xcode/DerivedData/barChartDemo-gevlnavnpanltbgqdweijouguhcx/Build/Intermediates/barChartDemo.build/Debug-iphoneos/barChartDemo.build/Objects-normal/armv7/main-CCADE8545E02147B.oui
/Users/mb467/Library/Developer/Xcode/DerivedData/barChartDemo-gevlnavnpanltbgqdweijouguhcx/Build/Intermediates/barChartDemo.build/Debug-iphoneos/barChartDemo.build/Objects-normal/armv7/main-3D90E6383DC1F398.ocode
ld: 1 duplicate symbol for architecture armv7orm
clang: error: linker command failed with exit code 1 (use -v to see invocation)ip
問題:main.m 文件重複了,刪除其中一個便可it