Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: 'MobileRTC/MobileRTCAuthService.h' file not found #3

Open
RameshThota87 opened this issue Apr 20, 2018 · 4 comments
Open

Comments

@RameshThota87
Copy link

I followed the documentation.After that, I am facing multiple errors ,

  • If i try to install the pod file it is saying "[!] Unable to find a specification for ZoomMobileRTC"

  • After that I tried using install and link the Zoom-sdk and run in iOS simulator , I am getting

- fatal error: 'MobileRTC/MobileRTCAuthService.h' file not found
#import <MobileRTC/MobileRTCAuthService.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

I tried to run in real iPhone device ,
In this I am getting,

Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_MobileRTC", referenced from:
objc-class-ref in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_IsAppShare", referenced from:
-[RNMobileRTC startMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_MeetingNumber", referenced from:
-[RNMobileRTC startMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
-[RNMobileRTC joinMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_MeetingPassword", referenced from:
-[RNMobileRTC joinMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_ParticipantID", referenced from:
-[RNMobileRTC startMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
-[RNMobileRTC joinMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_UserID", referenced from:
-[RNMobileRTC startMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_UserToken", referenced from:
-[RNMobileRTC startMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_UserType", referenced from:
-[RNMobileRTC startMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
"_kMeetingParam_Username", referenced from:
-[RNMobileRTC startMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
-[RNMobileRTC joinMeeting:resolver:rejecter:] in libRNMobileRTC.a(RNMobileRTC.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can you please hep on this.

@akshaydotsh
Copy link

I am getting the same error XX

1 similar comment
@vkyj
Copy link

vkyj commented Mar 17, 2019

I am getting the same error XX

@vkyj
Copy link

vkyj commented Mar 17, 2019

Please provide me any solution

@DGeoWils
Copy link

DGeoWils commented Apr 9, 2019

I was not able to use Pods and get this to work, but I have been able to get the app to compile by downloading the MobileRTC library directly.

  1. Remove the ZoomMobileRTC Pod (if this is the only Pod you have, you can run pod deintegrate)
  2. Download both the "all" version, and "Source Code" version of the latest release https://github.com/zoom/zoom-sdk-ios/releases
  3. The "All" version can be used for running on simulator and actual devices, but is not to be published to the app store. The "Source Code" version only runs on devices, but can be published to the app store
  4. Decide which version you want to use and add the "lib" directory to your main project's ios folder
  5. In Xcode, Right Click 'Frameworks' -> 'Add Files to...' -> Select 'MobileRTC.framework'
  6. Right Click 'Resources' -> 'Add Files to...' -> Select the 'MobileRTCResources.bundle'
  7. In the General Tab, Add MobileRTC.framework to 'Embedded Binaries'.
  8. In the Build Phases Tab, Add MobileRTCResources.bundle to the 'Copy Bundle Resources' step
  9. In the Build Settings Tab, Add $(SRCROOT)/lib to the Header Search Paths
  10. In the Build Settings Tab, Add $(SRCROOT)/lib to the Framework Search Paths

This should allow the Headers to be found.

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

No branches or pull requests

4 participants