You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cd60f29
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/devhub/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,13 @@ the fix, for these builds:
127
127
| iOS device build (`.ipa`) | A simulator cannot run it. | Set `"ios": { "simulator": true }` in the build profile in `eas.json`, and make a new build. |
128
128
| Any iOS build on Windows or Linux | iOS simulators run only on macOS. | Install the build on a Mac. |
129
129
130
+
After it selects the device, DevHub reads the SHA-256 of the stored file
131
+
and compares it with the record. The sync and the local store write the
132
+
hash of the file they store. When the two differ, the file changed after
133
+
that, and DevHub does not install it. The exit code is `1`, and the message
134
+
gives the fix: delete the build folder, and run `devhub sync` or
135
+
`npx expo run:<platform>` again.
136
+
130
137
When `adb install` fails, DevHub reads the adb output and gives the cause
return`DevHub cannot read the file ${build.path} of the build ${build.id}: ${errorMessage(error)}`
152
+
}
153
+
if(sha256===build.record.sha256){
154
+
returnundefined
155
+
}
156
+
return`The file ${build.path} of the build ${build.id} has the SHA-256 ${sha256}, but its record has ${build.record.sha256}. The file changed after DevHub stored it, so DevHub does not install it. ${storeAgainFix(build)}`
0 commit comments