I just got a mail from iTunes saying my app, build with Ionic Package is being rejected because of Missing Info.plist key NSBluetoothPeripheralUsageDescription.
Ionic Package only supports a fixed list of hooks: https://github.com/driftyco/ionic-package-hooks. This is probably not one of them (and the reason I researched the config.xml stuff for you - locally these hooks are great)
I develop on windows, and have never seen a iOS build except from the .ipa file I get from Ionic Cloud build.
That is why I have to ask: Is info.plist a file I should create in root or is it something Ionic package is creating for me?
My config.xml looks like this now:
...
<platform name="ios">
<config-file target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription">
<array>
<dict>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>The app would like to use bluetooth</string>
</dict>
</array>
</config-file>
<platform name="ios">
...
Last line should probably be just </platform> as it closes the opening tag in the first line.
Here is an example I found online:
<platform name="ios">
<config-file parent="NSCalendarsUsageDescription" platform="ios" target="*-Info.plist">
<string>Advertisement would like to create a calendar event.</string>
</config-file>
<config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
<string>Advertisement would like to store a photo.</string>
</config-file>
<config-file parent="NSBluetoothPeripheralUsageDescription" platform="ios" target="*-Info.plist">
<string>Advertisement would like to use bluetooth.</string>
</config-file>
</platform>
So looking at this it might even be simpler - see that last config-file in there.
If you add the iOS platform on Windows, too, you should get files inside /platform/ios. In there you should find these or similar files already and be able to look at them.
Ionic Package executes a cordova build in the background and that’s exactly what should happen there - lots of files get created, also this one with information from config.xml.