# Build WebRTC on the Device getting some errors

**URL:** <https://react-native-webrtc.discourse.group/t/build-webrtc-on-the-device-getting-some-errors/125>\
**Category:** iOS\
**Created:** [May 16, 2019, 5:55pm UTC](https://react-native-webrtc.discourse.group/t/build-webrtc-on-the-device-getting-some-errors/125 "2019-05-16T17:55:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LFSCamargo](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/lfscamargo/32/54_2.png) [@LFSCamargo](https://react-native-webrtc.discourse.group/u/LFSCamargo)\
**Post date:** [May 16, 2019, 5:55pm UTC](https://react-native-webrtc.discourse.group/t/build-webrtc-on-the-device-getting-some-errors/125/1 "2019-05-16T17:55:50Z")

</div>

I Made all the linkings for the webrtc library on the ios but when I build on the simulator goes just fine but when I try to build on the real device (in this case my iPhone XR) I get this error

Can someone help me?

ld: ‘…/node\_modules/react-native-webrtc/ios/WebRTC.framework/WebRTC’ does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE\_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file ‘…/node\_modules/react-native-webrtc/ios/WebRTC.framework/WebRTC’ for architecture arm64

---

<div class="post-metadata">

**Author:** ![DimitrisTzimikas](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/dimitristzimikas/32/35_2.png) [@DimitrisTzimikas](https://react-native-webrtc.discourse.group/u/DimitrisTzimikas)\
**Post date:** [May 16, 2019, 7:58pm UTC](https://react-native-webrtc.discourse.group/t/build-webrtc-on-the-device-getting-some-errors/125/2 "2019-05-16T19:58:09Z")

</div>

@LFSCamargo try to run this demo and see if you get the same error. Its configures for iOS and Android.

> **[DimitrisTzimikas/rnWebRTC](https://github.com/DimitrisTzimikas/rnWebRTC)**
>
> config: iOS/Android, react-native: 0.59.4, react-native-webrtc: 1.69.1, branch: socketio: DOESN'T work with server - DimitrisTzimikas/rnWebRTC

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [May 17, 2019, 8:19am UTC](https://react-native-webrtc.discourse.group/t/build-webrtc-on-the-device-getting-some-errors/125/3 "2019-05-17T08:19:34Z")

</div>

You need to disable bitcode in your Xcode project.

---

<div class="post-metadata">

**Author:** ![LFSCamargo](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/lfscamargo/32/54_2.png) [@LFSCamargo](https://react-native-webrtc.discourse.group/u/LFSCamargo)\
**Post date:** [May 22, 2019, 2:43am UTC](https://react-native-webrtc.discourse.group/t/build-webrtc-on-the-device-getting-some-errors/125/4 "2019-05-22T02:43:39Z")

</div>

@saghul thanks for the help
