When using newRecording() in iOS10, is special setting needed?

An application was rebuilt, so I couldn’t use any more media.newRecording().

The Xcode and the CoronaSDK are latest.

I needed setting to use camera in iOS10.

build.settings >  NSCameraUsageDescription = “Used to scan QR codes and barcodes”,

Did setting of a microphone also increase?

You need to provide a description for the microphone as well. Add this to the settings.iphone.plist table:

NSMicrophoneUsageDescription = “Needed to record xxx”

Rob

I have a similar problem.

Dear developer,

We have discovered one or more issues with your recent delivery for “El Silbon”. To process your delivery, the following issues must be corrected:

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

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

Though you are not required to fix the following issues, we wanted to make you aware of them:

Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for iOS versions >= 7.0.

Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly ‘76x76’ pixels, in .png format for iOS versions >= 7.0.

 

I will try to put this lines in the build.settings file:

 

iphone =

{

plist =

{

UIStatusBarHidden = false,

UIPrerenderedIcon = true, – set to false for “shine” overlay

NSCameraUsageDescription = “Needed to record a photo”,

NSPhotoLibraryUsageDescription =“Needed to use a library”,

NSMicrophoneUsageDescription = “Needed to record xxx” 

It works. But i don`t kwon why in app loader say me:

WARNING ITMS-90025: “Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for iOS versions >= 7.0.”

WARNING ITMS-90026: “Missing recommended icon file. The bundle does not contain an app icon for iPad of exactly ‘76x76’ pixels, in .png format for iOS versions >= 7.0.”

I have all the image files that corona created by default.

So i erase this part in the build.settings file: 

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-Small.png”,

“Icon-Small@2x.png”,

“Icon-Small@3x.png”,

“Icon-Small-40.png”,

“Icon-Small-40@2x.png”,

“Icon-Small-50.png”,

“Icon-Small-50@2x.png”,

},

is that code neccesary?

Yes, that code is necessary. File names are case sensitive. The actual name doesn’t matter, but the name has to be listed. For instance if you have Icon-120.png you could remove Icon-60@2x.png and replace it with Icon-120.png. We use the legacy names in our code because it works with older versions of iOS and it’s a safety measure more than anything. But you still need a CFBundleIconFiles entry that’s a table of images that you want apple to consider for icons. If you’re getting the message you’re getting, you either do not have a 120x120 and a 76x76 image or if you do, the name doesn’t match exactly what you have in that table, or perhaps the table is malformed and build.settings isn’t detecting it correctly.

I know what’s in our current build guide works as I’ve been updating some older apps in the iTunes app store and I copy/pasted that code and made sure my icons matched.

Rob

Hello Rob, Always thank you very much for your quick answer.  :smiley:

It’s also in other writing in, but I think these are a problem caused by device setting of iOS10.

Could you add to a document?

You need to provide a description for the microphone as well. Add this to the settings.iphone.plist table:

NSMicrophoneUsageDescription = “Needed to record xxx”

Rob

I have a similar problem.

Dear developer,

We have discovered one or more issues with your recent delivery for “El Silbon”. To process your delivery, the following issues must be corrected:

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

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

Though you are not required to fix the following issues, we wanted to make you aware of them:

Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for iOS versions >= 7.0.

Missing recommended icon file - The bundle does not contain an app icon for iPad of exactly ‘76x76’ pixels, in .png format for iOS versions >= 7.0.

 

I will try to put this lines in the build.settings file:

 

iphone =

{

plist =

{

UIStatusBarHidden = false,

UIPrerenderedIcon = true, – set to false for “shine” overlay

NSCameraUsageDescription = “Needed to record a photo”,

NSPhotoLibraryUsageDescription =“Needed to use a library”,

NSMicrophoneUsageDescription = “Needed to record xxx” 

It works. But i don`t kwon why in app loader say me:

WARNING ITMS-90025: “Missing recommended icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly ‘120x120’ pixels, in .png format for iOS versions >= 7.0.”

WARNING ITMS-90026: “Missing recommended icon file. The bundle does not contain an app icon for iPad of exactly ‘76x76’ pixels, in .png format for iOS versions >= 7.0.”

I have all the image files that corona created by default.

So i erase this part in the build.settings file: 

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-Small.png”,

“Icon-Small@2x.png”,

“Icon-Small@3x.png”,

“Icon-Small-40.png”,

“Icon-Small-40@2x.png”,

“Icon-Small-50.png”,

“Icon-Small-50@2x.png”,

},

is that code neccesary?

Yes, that code is necessary. File names are case sensitive. The actual name doesn’t matter, but the name has to be listed. For instance if you have Icon-120.png you could remove Icon-60@2x.png and replace it with Icon-120.png. We use the legacy names in our code because it works with older versions of iOS and it’s a safety measure more than anything. But you still need a CFBundleIconFiles entry that’s a table of images that you want apple to consider for icons. If you’re getting the message you’re getting, you either do not have a 120x120 and a 76x76 image or if you do, the name doesn’t match exactly what you have in that table, or perhaps the table is malformed and build.settings isn’t detecting it correctly.

I know what’s in our current build guide works as I’ve been updating some older apps in the iTunes app store and I copy/pasted that code and made sure my icons matched.

Rob

Hello Rob, Always thank you very much for your quick answer.  :smiley:

It’s also in other writing in, but I think these are a problem caused by device setting of iOS10.

Could you add to a document?