我試圖通過ReactNative開發了我的iOS應用程序配置CodePush,以下這些鏈接:CodePush更新不一起工作反應本地iOS應用
https://microsoft.github.io/code-push/docs/getting-started.html
https://microsoft.github.io/code-push/docs/cli.html
每一個步驟是配置正確並進行了雙重檢查,但是當我使用鉻調試器跟蹤進程時,輸出將如下所示:
[CodePush] Checking for update. CodePush.js:159
[CodePush] An unknown error occured CodePush.js:159
[CodePush] 404: The specified resource does not exist. CodePush.js:159
任何解決方案?
我知道你寫過你重複檢查過你的配置,但它看起來很像缺少或錯誤的部署密鑰。你可以重新檢查你的Code.pushDeploymentKey值是否在你的info.plist中正確設置。如果您針對不同版本有多個Info.plist文件,請確保它們都包含CodePushDeploymentKey –