MapKit权利奇数 [英] MapKit Entitlements Oddity

查看:116
本文介绍了MapKit权利奇数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的Mac应用程序,不打算分发任何形式.仅供个人使用.该应用程序是一个NSWindow,其中包含一个MKMapView.由于我没有Mac开发人员帐户,也不想要一个帐户(请参阅仅限个人使用"),因此我不进行任何形式的代码签名或配置.

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:

您的应用程序已尝试访问Map Kit API.没有权利,您将无法访问此API.您可能会从Mac开发人员计划中获得一项权利,仅供您与Mac App Store应用程序一起使用.有关Apple的Mac开发人员计划的更多信息,请访问developer.apple.com.

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.

我真的需要购买Mac开发者帐户只是为了在OS X上使用MKMapView吗?如果没有,我想念什么?

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

推荐答案

是的.无论内容使用情况如何,MapKit仅限于App Store应用程序.

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

这篇关于MapKit权利奇数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆