1.APP 无法运行,停留在 SplashScreen
添加gap://ready
到CSP
中:
<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file:; style-src 'self' 'unsafe-inline' *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *">
2.自动构建需要添加developmentTeam
,如下:
{
"ios": {
"debug": {
"developmentTeam": "YOURTEAMID"
},
"release": {
"developmentTeam": "YOURTEAMID"
}
}
}
获取 Team ID的地址:https://developer.apple.com/account/#/membership
-
记得升级 Cordova iOS 的版本
-
还有
deploy
相关的:
npm install -g ios-deploy ios-sim
或许您还需要下面的文章: