I'm trying to run and build a react-native application in Xcode, The build is failing and I do not understand the error:Info.plist Utility Error
:
contents of '/Users/edmund/projects/clients/betprotect/ios/betprotect/Info.plist' is a property list, but is not dictionary (is __nsarraym)
Here's the content of the Info.plist
file:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN""http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><array><dict><key>CFBundleDevelopmentRegion</key><string>en</string><key>CFBundleDisplayName</key><string>$(PRODUCT_NAME)</string><key>CFBundleExecutable</key><string>$(EXECUTABLE_NAME)</string><key>CFBundleIdentifier</key><string>$(PRODUCT_BUNDLE_IDENTIFIER)</string><key>CFBundleInfoDictionaryVersion</key><string>6.0</string><key>CFBundleName</key><string>$(PRODUCT_NAME)</string><key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key><string>1.0</string><key>CFBundleSignature</key><string>????</string><key>CFBundleVersion</key><string>1</string><key>LSRequiresIPhoneOS</key><true/><key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><true/><key>NSExceptionDomains</key><dict><key>localhost</key><dict><key>NSExceptionAllowsInsecureHTTPLoads</key><true/></dict></dict></dict><key>NSLocationWhenInUseUsageDescription</key><string></string><key>NSMicrophoneUsageDescription</key><string>Betprotect needs acess to your device's speech recognitions ervice in order to work properly</string><key>NSSpeechRecognitionUsageDescription</key><string>Betprotect needs acess to your device's speech recognitions ervice in order to work properly</string><key>UIAppFonts</key><array><string>Poppins-Medium.ttf</string><string>AntDesign.ttf</string><string>Entypo.ttf</string><string>EvilIcons.ttf</string><string>Feather.ttf</string><string>FontAwesome.ttf</string><string>FontAwesome5_Brands.ttf</string><string>FontAwesome5_Regular.ttf</string><string>FontAwesome5_Solid.ttf</string><string>Fontisto.ttf</string><string>Foundation.ttf</string><string>Ionicons.ttf</string><string>MaterialCommunityIcons.ttf</string><string>MaterialIcons.ttf</string><string>Octicons.ttf</string><string>SimpleLineIcons.ttf</string><string>Zocial.ttf</string><string>Heebo-Regular.ttf</string><string>abeatbyKaiRegular.otf</string><string>Poppins-SemiBold.ttf</string><string>Heebo-Medium.ttf</string><string>Heebo-Light.ttf</string><string>Poppins-Light.ttf</string></array><key>UILaunchStoryboardName</key><string>LaunchScreen</string><key>UIRequiredDeviceCapabilities</key><array><string>armv7</string></array><key>UISupportedInterfaceOrientations</key><array><string>UIInterfaceOrientationPortrait</string><string>UIInterfaceOrientationLandscapeLeft</string><string>UIInterfaceOrientationLandscapeRight</string></array><key>UIViewControllerBasedStatusBarAppearance</key><false/></dict><string>NSAppTransportSecurity</string><dict><key>NSExceptionDomains</key><dict><key>yourserver.com</key><dict><key>NSIncludesSubdomains</key><true/><key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key><true/><key>NSTemporaryExceptionMinimumTLSVersion</key><string>TLSv1.1</string></dict></dict></dict></array></plist>
My Xcode version is 11.4 and my OS is macOS 10.15.
After selecting my target, under the General > Identity tab, I get this error:
"Xcode failed to parse contents of Info.plist"