Giter Club home page Giter Club logo

Comments (4)

vona-ben avatar vona-ben commented on June 23, 2024 1

Hello @emilyvon @tikitu , Since 2.24.2 release, we have M1 / arm chipset support. To build on arm chipset based machines, users have to use OTXCFramewok instead of Opentok pod (version >= 2.24.2)
Example:

target 'Basic-Video-Chat' do
pod 'OTXCFramework', OpenTokSDKVersion
end

instead off

target 'Basic-Video-Chat' do
pod 'Opentok', OpenTokSDKVersion
end

from opentok-ios-sdk-samples-swift.

vona-ben avatar vona-ben commented on June 23, 2024 1

Note: We are currently working on an iOS SDK Swift Package Manager, which will be available soon. I will keep you updated on the progress in this thread

from opentok-ios-sdk-samples-swift.

emilyvon avatar emilyvon commented on June 23, 2024

I'm facing the same issue with the following setup:

  • OpenTok iOS SDK 2.25.0
  • macOS Ventura 13.2.1
  • Xcode 14.2

Adding some screenshots for references:

In OpenTok pod setting: EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64 for both debug and release:
235587852-592ea372-4a07-4bb3-8002-4b0eb8143df4

And if I commented that line out in the generated pod setting file, I ran into another issue:
235588361-74bb64e1-cbed-4b83-a869-5439ef37acc0

from opentok-ios-sdk-samples-swift.

jvalli avatar jvalli commented on June 23, 2024

The issue is because you are trying to use old fat framework on M1 machine(arm64). The old fat framework version cannot have unique build configuration to work on both arm64 & x86_64 simulators, so we were agree that old fat framework version will be distributed with "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64" configuration to be able to use it on Simulator Intel machines(x86_64) by default. If the build configuration is removed it works on Simulator M1 but not on Simulator Intel.

So you can use new XCFramework version available through:

from opentok-ios-sdk-samples-swift.

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.