Cordova iOS 10 问题列表

1.APP 无法运行,停留在 SplashScreen

添加gap://readyCSP中:

<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

  1. 记得升级 Cordova iOS 的版本

  2. 还有deploy相关的:

npm install -g ios-deploy ios-sim

或许您还需要下面的文章:

关于我

Github: @phodal     微博:@phodal     知乎:@phodal    

微信公众号(Phodal)

围观我的Github Idea墙, 也许,你会遇到心仪的项目

QQ技术交流群: 321689806