Update README.md

add warning to run iOS app on Xcode only
This commit is contained in:
turboblitz
2024-01-28 12:45:18 +01:00
committed by GitHub
parent a3a96a0bb2
commit 49bad24618

View File

@@ -61,7 +61,8 @@ yarn start
Then press `a` for android or `i` for iOS
If you want to see the logs and have a better ios developer experience, open `/ios` in Xcode and launch the app from there instead.
Currently, proof generation seems to fail sometimes with the react native server, so prefer using Xcode instead.
> :warning: Due to the current limitations of mopro, see [#51](https://github.com/zk-passport/proof-of-passport/issues/51), the proving on iOS only works when the app is run on Xcode. It will not work with the react native server or in a .ipa build. We are working on fixing that.
To see the android logs you'll have to use the Android Studio Logcat.
@@ -79,4 +80,4 @@ If you want to mint a proof of passport SBT, instead of building the circuit you
```
This will download the zkey currently deployed onchain in the proof of passport contract and place it in `circuits/build``
Then, build the android or iOS native module and run the app.
Then, build the android or iOS native module and run the app.