Giter Site home page Giter Site logo

Comments (6)

xiayangqun avatar xiayangqun commented on June 27, 2024 3

if you have a apple computer. you can find AgoraRtcWrapper.framework file in this path: /Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/iOS/AgoraRtcKit.framework. And you can find file AgoraRtcWrapper in this folder
0. open terminal

  1. input int terminal "cd /Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/iOS/AgoraRtcKit.framework" and press enter
  2. input int terminal "file AgoraRtcWrapper" and press enter
    then you can see message like this

"AgoraRtcWrapper: Mach-O universal binary with 3 architectures: [arm_v7:Mach-O dynamically linked shared library arm_v7Mach-O dynamically linked shared library arm_v7] [x86_64] [arm64]
AgoraRtcWrapper (for architecture armv7): Mach-O dynamically linked shared library arm_v7
AgoraRtcWrapper (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
AgoraRtcWrapper (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64
"

there is a "or architecture x86_64" this is iOS Simulator.architecture

  1. input int terminal "lipo -remove x86_64 AgoraRtcWrapper -output AgoraRtcWrapper" and press enter
    4.input int terminal "file AgoraRtcWrapper" and press enter again
    then you can see message like this

"AgoraRtcWrapper: Mach-O universal binary with 2 architectures: [arm_v7:Mach-O dynamically linked shared library arm_v7Mach-O dynamically linked shared library arm_v7] [arm64]
AgoraRtcWrapper (for architecture armv7): Mach-O dynamically linked shared library arm_v7
AgoraRtcWrapper (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64"

5.this is mean we remove iOS Simulator architecture from AgoreRtcWrapper.framework success.

you can do the same thing with HyphenateChat.framework. and I think you can build ios success

from agora-unity-quickstart.

tusharRule14 avatar tusharRule14 commented on June 27, 2024

@xiayangqun "file AgoraRtcWrapper" and press enter after that its show me just ASCII text in output

from agora-unity-quickstart.

xiayangqun avatar xiayangqun commented on June 27, 2024

@tusharRule14 Can you show what show in output?

from agora-unity-quickstart.

tusharRule14 avatar tusharRule14 commented on June 27, 2024

yes pls check attachment
Screenshot 2024-06-21 at 1 21 25 PM

from agora-unity-quickstart.

tusharRule14 avatar tusharRule14 commented on June 27, 2024

actually my error is in xcode is =
ld: multiple errors: unknown file type in '/Users/tusharchaudhari/Documents/ios build/Frameworks/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/iOS/AgoraRtcWrapper.framework/AgoraRtcWrapper'; unknown file type in '/Users/tusharchaudhari/Documents/ios build/Frameworks/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/iOS/AgoraRtcKit.framework/AgoraRtcKit'; unknown file type in '/Users/tusharchaudhari/Documents/ios build/Frameworks/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/iOS/Agoraffmpeg.framework/Agoraffmpeg'; unknown file type in '/Users/tusharchaudhari/Documents/ios build/Frameworks/TRTCSDK/SDK/Plugins/iOS/TXLiteAVSDK_TRTC.framework/TXLiteAVSDK_TRTC'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from agora-unity-quickstart.

xiayangqun avatar xiayangqun commented on June 27, 2024

It seems that your file is damaged. Can you use the same method to check if the files in your Unity Editor are working properly? They are generally stored in the Assets/Agora RTC Plugin/Agora Unity RTC-SDK/Plugins/iOS folder.

If they are damaged, we suggest that you re import the SDK

from agora-unity-quickstart.

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.