Skip to content

Conversation

@asukiaaa
Copy link

@asukiaaa asukiaaa commented Oct 19, 2020

I got the following errors at building.

Compile PjSipVideoViewManager.m
[project_dir]/ios/VialerPJSIP.framework/Headers/pj/config.h:303:5: "Please specify target machine."
[project_dir]/ios/VialerPJSIP.framework/Headers/pj/config.h:1297:4: "PJ_HAS_PENTIUM is not defined!"
[project_dir]/ios/VialerPJSIP.framework/Headers/pj/config.h:1301:4: "PJ_IS_LITTLE_ENDIAN is not defined!"
[project_dir]/ios/VialerPJSIP.framework/Headers/pj/config.h:1305:4: "PJ_IS_BIG_ENDIAN is not defined!"

To avoid them, I set PJ_AUTOCONF on react-native-pjsip.podspec.
Thanks.

Environments:

  • MacOS 10.15.7
  • Xcode 12.0.1
  • iOS 13.5.1 (iPhone X)
  • react-native 0.63.2

References:

TristaTel25 added a commit to RDTel25/react-native-pjsip that referenced this pull request Jan 22, 2021
bisark added a commit to bisark/react-native-pjsip that referenced this pull request Feb 17, 2021
@linus-komnick
Copy link

@asukiaaa This works great! Thx so much!
@datso Could you please merge this branch? Without this commit building the app in Xcode fails and you have to set PJ_AUTOCONF=1 every time you want to build the app which is annoying... Thx in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants