GithubHelp home page GithubHelp logo

Comments (7)

calitb avatar calitb commented on May 13, 2024

In the meantime If you want to try it in the simulator you can remove the arm64. you only need to set the project for arm64 when you are going to test it in a device, or if you are submitting to the App Store.

from webrtc-build-scripts.

dylansturg avatar dylansturg commented on May 13, 2024

That sounds like a simple enough short-term solution. Thank you @calitb !

from webrtc-build-scripts.

temahussain avatar temahussain commented on May 13, 2024

I am trying to build for 64-bit simulator using target_arch=x64 but it is giving me the following error:

../../chromium/src/third_party/nss/nss/lib/freebl/poly1305/poly1305-donna-x64-sse2-incremental-source.c:23:18: error: __int128 is not supported on this target
typedef unsigned __int128 uint128_t;

Do I need to do anything special?

Any help would be appreciated

from webrtc-build-scripts.

thebehera avatar thebehera commented on May 13, 2024

Out of curiosity what's the value of compiling a 64 bit webrtc library for the simulator? In cocoapods, the builds include ARM64, ARM32, and x86 (Simulator)... that should cover all grounds

from webrtc-build-scripts.

rwickliffe avatar rwickliffe commented on May 13, 2024

Another option I've used successfully is setting the Valid Architectures per SDK as follows:

//:configuration = Debug
VALID_ARCHS = armv7 arm64
VALID_ARCHS[sdk=iphonesimulator*] = armv7
VALID_ARCHS[sdk=iphoneos*] = armv7 arm64

image

from webrtc-build-scripts.

temahussain avatar temahussain commented on May 13, 2024

@thebehera: target_arch=x64 target_subarch=x64

This will compile for both i386 (32-bit simulator) and x86_64 (64-bit simulator)
(iPhone 6 simulator works with 64-bit simulator build. So 'ARM64, ARM32, and x86 (Simulator)' doesn't cover all grounds)

But with webrtc r7887 I am getting the error mentioned above. Though it compiles successfully for target_arch=ia32

from webrtc-build-scripts.

calitb avatar calitb commented on May 13, 2024

@rwickliffe great solution

from webrtc-build-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.