gpt4 book ai didi

iphone - MapKit 无法在设备上运行,但可以在模拟器中运行

转载 作者:行者123 更新时间:2023-12-03 20:00:48 25 4
gpt4 key购买 nike

我通过选择 Frameworks 文件夹,右键单击“添加”>“现有框架”来添加框架(MapKit 和 CoreLocation)。

应用程序在模拟器 (3.1.3) 中构建,但在设备 (3.1.3) 上失败并出现错误:

ld: warning: in /Development/Sites/iPhone Projects/SwitchViews/MapKit.framework/MapKit, file is not of required architecture Undefined symbols:
"_OBJC_CLASS_$_MKPinAnnotationView", referenced from: __objc_classrefs__DATA@0 in NextView.o ld: symbol(s) not found collect2: ld returned 1 exit status

最佳答案

看来我只需要重新启动 Xcode 即可正确连接。

关于iphone - MapKit 无法在设备上运行,但可以在模拟器中运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3509452/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com