Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Build 2016.2973 - Error NSBluetoothPeripheralUsageDescription on itunes connect upload.
Started by stockMarket183 Oct 19 2016 02:05 PM

2 replies to this topic

Best Answer Rob Miracle , 19 October 2016 - 02:53 PM

You're the first one I've seen hit the issue with BlueTooth. One of the plugins may be including a bluetooth framework and Apple may be triggering on that. Like with the Camera and PhotoLibrary just add

 

NSBluetoothPeripheralUsageDescription = "Some description like you're already doing"

 

and you should be able to get past the auto scan.

 

Rob

[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

stockMarket183

[GLOBAL: userInfoPane.html]
stockMarket183
  • Observer

  • 10 posts
  • Corona SDK

as tittle I got this message from apple after submit an app with corona sdk

 

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.

 

Corona version Version 2016.2973 (2016.10.18)

MAC: captain 10.11.6

xCode: Version 8.0

 

build.settings

settings =
{
    orientation =
    {
        default = "portrait",
        supported = { "portrait", "portrait" }
    },
    --[[
    android =
    {
        versionCode = "10300",
        versionName = "1.3",
        usesPermissions =
        {
            "android.permission.INTERNET",
            "android.permission.ACCESS_NETWORK_STATE",
        --    "android.permission.WRITE_EXTERNAL_STORAGE",
        --    "com.android.vending.BILLING",
        --    "com.android.vending.CHECK_LICENSE",
        },
        --googlePlayGamesAppId = "xxxxxxxxxxxx",
        --largeHeap = true
    },
    --]]
    plugins =
    {

       ["plugin.appodeal"] =
          {
              publisherId = "com.coronalabs",
              supportedPlatforms = { iphone=true }
          },
        ["CoronaProvider.gameNetwork.apple"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true, ["iphone-sim"]=true },
        },
        ["plugin.adbuddiz"] =
        {
            publisherId = "com.adbuddiz"
        },
    },
    iphone =
    {
        plist =
        {
            NSCalendarsUsageDescription = "Unused by an application",
            NSPhotoLibraryUsageDescription = "Unused by an application",
            NSCameraUsageDescription = "Unused by an application",
            NSAppTransportSecurity = { NSAllowsArbitraryLoads=true },
            --CFBundleIconFile = "Icon.png",
            CFBundleLocalizations =
            {
                "en",  --English
                "es",  --Spanish
                "it",  --Italian
                "de",  --German
                "fr",  --French
                "ja",  --Japanese
                "ru",  --Rusian
                "zh",   --Chin
                "vi",   --viet
            },
            CFBundleDisplayName = "-",
            CFBundleName = "---",
            CFBundleIconFiles =
            {
                "Icon.png",
                "Icon@2x.png",
                "Icon-60.png",
                "Icon-60@2x.png",
                "Icon-60@3x.png",
                "Icon-72.png",
                "Icon-72@2x.png",
                "Icon-76.png",
                "Icon-76@2x.png",
                "Icon-167.png",
                "Icon-Small-40.png",
                "Icon-Small-40@2x.png",
                "Icon-Small-50.png",
                "Icon-Small-50@2x.png",
                "Icon-Small.png",
                "Icon-Small@2x.png",
                "Icon-Small@3x.png"
            },
            UIApplicationExitsOnSuspend = false,    
        }
        
    },
    excludeFiles = 
    {
        iphone = { 'Icon-*dpi.png', 'audio/*.oog' },
        --android = { 'Icon.png', 'Icon-6*.png', 'Icon-7*.png', 'Icon-Small*.png', 'Icon@2x.png', 'Default-568h@2x.png', 'audio/*.m4a' }
    },
}



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,615 posts
  • Enterprise

  Best Answer

You're the first one I've seen hit the issue with BlueTooth. One of the plugins may be including a bluetooth framework and Apple may be triggering on that. Like with the Camera and PhotoLibrary just add

 

NSBluetoothPeripheralUsageDescription = "Some description like you're already doing"

 

and you should be able to get past the auto scan.

 

Rob



[TOPIC: post.html]
#3

stockMarket183

[GLOBAL: userInfoPane.html]
stockMarket183
  • Observer

  • 10 posts
  • Corona SDK

You're the first one I've seen hit the issue with BlueTooth. One of the plugins may be including a bluetooth framework and Apple may be triggering on that. Like with the Camera and PhotoLibrary just add

 

NSBluetoothPeripheralUsageDescription = "Some description like you're already doing"

 

and you should be able to get past the auto scan.

 

Rob

 

I think it might be appodeal, thats the only new plugin I added since my last update on this app.

I never use BlueTooth on my game.

anyways as you said I added that line in plist and pass the apple auto-scan.

 

thanks




[topic_controls]
[/topic_controls]