Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

How to generate protocol buffers for iOS release/production build React Native

$
0
0

The title says it all.

On Android dev & release build everything works fine. In development mode on iOS they're generated fine using the following command:

protoc -I=proto/ proto/**/*.proto \--js_out=import_style=commonjs:src/ \--grpc-web_out=import_style=commonjs,mode=grpcwebtext:src/

However, on iOS in release/production configuration, the protocol buffers aren't generated so none of our requests are successful, they hang.

We're using React Native but archive using XCode.

I've looked at the official documentation but there a solution doesn't immediately jump out to me.

Thank you in advance~!


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>