MapKit Entitlements Oddity

依然范特西╮ 提交于 2019-11-30 17:51:41

问题


I have a simple Mac app, not intended for distribution of any kind; simply personal use. The app is an NSWindow which contains an MKMapView. As I don't have a Mac dev account, and don't want one (see "personal use only"), I'm not doing any form of code signing or provisioning.

However, on launch, I get a blank map and this error:

Your Application has attempted to access the Map Kit API. You cannot access this API without an entitlement. You may receive an entitlement from the Mac Developer Program for use by you only with your Mac App Store Apps. For more information about Apple's Mac Developer Program, please visit developer.apple.com.

Do I really need to buy a Mac developer account just to use MKMapView on OS X? If not, what am I missing?


回答1:


Yes, you do. MapKit is restricted to App Store apps only, regardless of content usage.



来源:https://stackoverflow.com/questions/19987470/mapkit-entitlements-oddity

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