【发布时间】:2011-07-29 12:50:31
【问题描述】:
添加 MapKit 和 CoreLocation 框架后,我无法构建我的应用程序。它们都是 4.3 框架,并且该应用程序过去可以与 UIKit、CoreGraphics 和 Foundation 一起正常工作,只是给我这两个框架带来了问题。不确定所需的架构是什么,代码中没有任何错误。任何帮助表示赞赏!
ld: warning: ignoring file /Users/F3d3r3r/Desktop/testNav4_3/MapKit.framework/MapKit, missing required architecture i386 in file
ld: warning: ignoring file /Users/F3d3r3r/Desktop/testNav4_3/CoreLocation.framework/CoreLocation, missing required architecture i386 in file
Undefined symbols for architecture i386:
"_CLLocationCoordinate2DMake", referenced from:
-[Layer2 tableView:cellForRowAtIndexPath:] in Layer2.o
"_OBJC_CLASS_$_MKMapView", referenced from:
objc-class-ref in Layer2.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
【问题讨论】:
-
这比我的建议有用得多。
标签: iphone mapkit core-location i386