小编F3d*_*r3r的帖子

在文件中缺少必需的体系结构i386

添加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
Run Code Online (Sandbox Code Playgroud)

iphone core-location mapkit i386

12
推荐指数
2
解决办法
2万
查看次数

标签 统计

core-location ×1

i386 ×1

iphone ×1

mapkit ×1