React Native Expo iOS应用程序-尝试修改info.plist
我在世博会上安装了一个React原生应用程序 我需要修改info.plist,但在这样做时遇到问题 首先,我在任何地方都找不到info.plist。 基于和其他,解决方法是将infoPlist密钥添加到my app.json文件中。我已经这样做了,看起来是这样的:React Native Expo iOS应用程序-尝试修改info.plist,ios,react-native,plist,expo,info.plist,Ios,React Native,Plist,Expo,Info.plist,我在世博会上安装了一个React原生应用程序 我需要修改info.plist,但在这样做时遇到问题 首先,我在任何地方都找不到info.plist。 基于和其他,解决方法是将infoPlist密钥添加到my app.json文件中。我已经这样做了,看起来是这样的: "infoPlist": { "NSAppTransportSecurity": { "blah.s3.amazonaws.com": { "NSExceptionAllowsInsec
"infoPlist": {
"NSAppTransportSecurity": {
"blah.s3.amazonaws.com": {
"NSExceptionAllowsInsecureHTTPLoads": true,
"NSRequiresCertificateTransparency": false,
"NSIncludesSubdomains": true
}
}
}
但是,当我试图通过运行expo start或expo publish来编译应用程序时,我遇到以下错误:
错误:验证app.json中的字段时出现问题。看见
不应具有其他属性“infoPlist”
有什么想法吗?需要在ios部分中添加infoPlist属性,因为它对Android没有影响。同意;作为参考,在中有一个示例Expo app.json