device not working with mapkit

不羁的心 提交于 2019-12-08 07:52:19

问题


my device doenst work at all when i load an project that contains any mapkit framework files it says

ld: warning: in /APP/MapKit.framework/MapKit, file was built for i386 which is not the architecture being linked (armv6)

and it doesnt let me test it on the device, however when i load this on my simulator it works. Any help?


回答1:


Maybe this post help you : Error building my app to my ipod touch:building with 'Targeted Device Family' set to iPhone only ('1') not supported with SDK 'Device - iPhone OS 3.2




回答2:


It appears to be loading MapKit from the wrong directory; it's somehow trying to link against the simulator MapKit. Switch to the simulator build, right-click the framework, and make the path "relative to SDK directory" or so, and then switch back to the device build.

Alternatively, delete and re-add MapKit under "Add Existing Frameworks", which should do it correctly.



来源:https://stackoverflow.com/questions/4240618/device-not-working-with-mapkit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!