x86_64 architecture

I am trying to run the sample project of zoom api.

https://github.com/zoom/zoom-sdk-ios

I double checked all the instructions and looked for everywhere about “Apple mach-O linker error.” All the results were about linking the frameworks. I have all the frameworks included in Link Binary With Libraries. Then above all the errors I noticed this warning which says about ignoring the framework because of missing architecture. Here is the list of warning and errors.

ld: warning: ignoring file ../lib/mobileRTC.framework/mobileRTC, missing required architecture x86_64 in file ../lib/mobileRTC.framework/mobileRTC (2 slices)
    Undefined symbols for architecture x86_64:
      "_kMeetingParam_UserID", referenced from:
          -[MainViewController startMeeting:] in MainViewController.o
      "_kMeetingParam_IsAppShare", referenced from:
          -[MainViewController startMeeting:] in MainViewController.o
      "_kMeetingParam_MeetingNumber", referenced from:
          -[MainViewController startMeeting:] in MainViewController.o
          -[MainViewController joinMeeting:withPassword:] in MainViewController.o
      "_kMeetingParam_MeetingPassword", referenced from:
          -[MainViewController joinMeeting:withPassword:] in MainViewController.o
      "_kMeetingParam_Username", referenced from:
          -[MainViewController startMeeting:] in MainViewController.o
          -[MainViewController joinMeeting:withPassword:] in MainViewController.o
      "_OBJC_CLASS_$_MobileRTC", referenced from:
          objc-class-ref in InviteViewController.o
          objc-class-ref in AppDelegate.o
          objc-class-ref in LanguaguePickerViewController.o
          objc-class-ref in ScheduleTableViewController.o
          objc-class-ref in MeetingSettingsViewController.o
          objc-class-ref in MainViewController.o
          objc-class-ref in SettingsViewController.o
          ...
      "_kMeetingParam_UserType", referenced from:
          -[MainViewController startMeeting:] in MainViewController.o
      "_kMeetingParam_UserToken", referenced from:
          -[MainViewController startMeeting:] in MainViewController.o
      "_OBJC_CLASS_$_MobileRTCInviteHelper", referenced from:
          objc-class-ref in InviteViewController.o
          objc-class-ref in MainViewController.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Why there is no build of the library for x86_64 architecture? I can’t use a device, need to run it on the simulator at the moment. 

 

Please download the following build: https://github.com/zoom/zoom-sdk-ios/releases, this build is for both simulator and device. If you downloaded the build directly from github, it is a device only framework, cannot support simulator. 

BTW, we have comment this in Github.

This version is the device-only framework, you can download our Mobile RTC™ Stack with device and emulator framework from the releases page as well.

 

Regards,

Robust