Skip to content

No visible @interface for 'MobileRTC'  #20

Open

Description

@Palwisha77

I have recreated the project and run the command "pod install" then remove incorrect headers from all SDK files after that I build the project and getting the error "No visible @interface for 'MobileRTC' declares the selector 'setMobileRTCDomain:'".
Please help me in this I am trying to integrate IOS SDK for the last 3 to 4 days but still unable to integrate.

Activity

  1. chaimPaneth commented on Jul 9, 2020

    @chaimPaneth
    Owner

    Hi @Palwisha77 the issue is a breaking change in the SDK, are you using the scripts provided by this library to import the SDK or manually downloading them?

  2. Palwisha77 commented on Jul 10, 2020

    @Palwisha77
    Author

    I have downloaded the SDK manually from the link provided in the library. The following are the versions that I am using in my project.
    SDK version is v5.0.24433.0616
    React Native Version is 0.61.5
    Xcode Version is 11.3.1

  3. chaimPaneth commented on Jul 10, 2020

    @chaimPaneth
    Owner

    Try with this version v4.6.21666.0428 download it from here

    ios-dev: https://github.com/zoom/zoom-sdk-ios/archive/v4.6.21666.0428.zip
    ios-prod: https://github.com/zoom/zoom-sdk-ios/archive/v4.6.21666.0428.zip
    android: https://github.com/zoom/zoom-sdk-android/archive/v4.6.21666.0429.zip

    put them in node_modules/react-native-zoom-bridge/ios/libs && node_modules/react-native-zoom-bridge/android/libs
    then run pod install then rename the headers for ios.

    Tell me if it worked.

  4. chaimPaneth commented on Jul 10, 2020

    @chaimPaneth
    Owner

    @Palwisha77 Iv'e pushed a fix to the library version 1.0.17 and changed the SDK import bash files to download previous working version v4.6.21666.0428.

    I will update the library to work with the latest SDK when I get the chance.

  5. Palwisha77 commented on Jul 12, 2020

    @Palwisha77
    Author

    Thank you I will try this and let you know if it works.

  6. Palwisha77 commented on Jul 13, 2020

    @Palwisha77
    Author

    @chaimPaneth I used the library version 1.0.17 and SDK version v4.6.21666.0428 the build is successful but the app won't install in device. The provisioning profile and signing certificates are correct as the app was installed successfully without the SDK but after integrating the SDK app won't install. Is there any signing issue in SDK or Frameworks? I don't understand the issue.

  7. chaimPaneth commented on Jul 13, 2020

    @chaimPaneth
    Owner

    @Palwisha77 when installing on a real device you have to use the prod SDK and when running in the simulator you have to use the dev SDK thats why there are two bash scripts for iOS make sure you use the correct one.

    1: Import (correct) SDK using bash file
    2: Run pod install
    3: Open xcode and find & replace "MobileRTC/" with ""
    4: Rerun

  8. Palwisha77 commented on Jul 13, 2020

    @Palwisha77
    Author

    Thank you for this I have used dev SDK and trying to install it on the device.

  9. chaimPaneth commented on Jul 13, 2020

    @chaimPaneth
    Owner

    Tell me if it works with the prod SDK

  10. Palwisha77 commented on Jul 14, 2020

    @Palwisha77
    Author

    unable to install the app on device with prod SDK also. here is the error details.
    Screenshot 2020-07-14 at 10 11 21 AM
    IOS device: iPhone 6
    version 12.4.5

  11. chaimPaneth commented on Jul 14, 2020

    @chaimPaneth
    Owner

    @Palwisha77 the Failure Reason mentions "No code signature found." there is probably an issue with your code signing, when installing to a device from xcode you need a development certificate not adhoc or production also setting it on auto signing might help.

  12. Palwisha77 commented on Jul 15, 2020

    @Palwisha77
    Author

    @chaimPaneth I think my certificates are correct because the app is installing on the IOS device successfully without the SDK but after integrating I got this issue.

  13. chaimPaneth commented on Jul 16, 2020

    @chaimPaneth
    Owner

    Can you try removing the library npm uninstall react-native-zoom-bridge then rerun pod install and see if it will run on a real device?

  14. Palwisha77 commented on Jul 17, 2020

    @Palwisha77
    Author

    @chaimPaneth as u said I unliked the library and run the app on a real device. App installed successfully.

  15. chaimPaneth commented on Jul 17, 2020

    @chaimPaneth
    Owner

    @Palwisha77 did you install the production SDK before running the app on a real device, check this out https://github.com/chaimPaneth/react-native-zoom-bridge#sdk-type.

    $ npm i react-native-zoom-bridge --save
    $ chmod +x ./node_modules/react-native-zoom-bridge/bin/import_prod_sdk.sh
    $ ./node_modules/react-native-zoom-bridge/bin/import_prod_sdk.sh
    $ cd ios
    $ pod install
    

    Rerun project.

  16. Palwisha77 commented on Jul 18, 2020

    @Palwisha77
    Author

    Yes, I have tried both dev SDK and prod SDK and got the same issue with both SDK types.

  17. Palwisha77 commented on Jul 20, 2020

    @Palwisha77
    Author

    I have checked this https://stackoverflow.com/questions/38371044/ios-app-testing-app-installation-failed-no-code-signature-found but my Xcode version is 11.3.1 (11C504). I didn't find any 'Embed Frameworks' under 'Build Phase'
    Screenshot 2020-07-20 at 1 36 37 PM
    Instead of you can see there is 'Embed Pods Framework' which includes the framework path.
    Screenshot 2020-07-20 at 1 35 24 PM

  18. chaimPaneth commented on Jul 31, 2020

    @chaimPaneth
    Owner

    Hi @Palwisha77

    Can you try and archive an .ipa with AdHoc provision and upload it to Microsoft AppCenter and install from there?

    Tell me if archiving worked?

  19. Palwisha77 commented on Aug 5, 2020

    @Palwisha77
    Author

    No, I have not try archiving but soon will tell you.

  20. jordanwade commented on Aug 5, 2020

    @jordanwade

    Just wanted to note I'm having the same issue.

  21. thanh125643 commented on Aug 7, 2020

    @thanh125643

    me too but you can run it with archiving and install from Microsoft AppCenter

  22. jordanwade commented on Aug 7, 2020

    @jordanwade

    I was able to get it to work in dev on a locally tethered device by removing the reference to MobileRTC.framework in the Input and Output paths under [CP] Embed Pods Frameworks in Build Phases. I'm no Xcode expert, so I don't know if that needs to be there or not, but that is what worked for me currently for testing on a physical device.

  23. dearsikandarkhan commented on Jan 9, 2021

    @dearsikandarkhan

    I was able to get it to work in dev on a locally tethered device by removing the reference to MobileRTC.framework in the Input and Output paths under [CP] Embed Pods Frameworks in Build Phases. I'm no Xcode expert, so I don't know if that needs to be there or not, but that is what worked for me currently for testing on a physical device.

    This worked for me 💯

  24. dearsikandarkhan commented on Jan 13, 2021

    @dearsikandarkhan

    This issue occured again for me recent build. I fixed it by following steps

    👍

  25. socheat-leang commented on May 29, 2021

    @socheat-leang

    I was able to get it to work in dev on a locally tethered device by removing the reference to MobileRTC.framework in the Input and Output paths under [CP] Embed Pods Frameworks in Build Phases. I'm no Xcode expert, so I don't know if that needs to be there or not, but that is what worked for me currently for testing on a physical device.

    It's not work for me. Anyone have other solution beside this. ?
    Build success,can install to simulator. but got error when install into physical device.

    `Details

    Unable to install "testingapp"
    Domain: com.apple.dt.MobileDeviceErrorDomain
    Code: -402620388

    No code signature found.
    Domain: com.apple.dt.MobileDeviceErrorDomain
    Code: -402620388
    User Info: {
    DVTRadarComponentKey = 261622;
    MobileDeviceErrorCode = "(0xE800801C)";
    "com.apple.dtdevicekit.stacktrace" = (
    0 DTDeviceKitBase 0x000000012a667c8f DTDKCreateNSErrorFromAMDErrorCode + 220
    1 DTDeviceKitBase 0x000000012a6a6241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
    2 DVTFoundation 0x000000010ebb564b DVTInvokeWithStrongOwnership + 71
    3 DTDeviceKitBase 0x000000012a6a5f82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
    4 IDEiOSSupportCore 0x000000012a516a10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
    5 DVTFoundation 0x000000010ece417e DVT_CALLING_CLIENT_BLOCK + 7
    6 DVTFoundation 0x000000010ece5da0 __DVTDispatchAsync_block_invoke + 1191
    7 libdispatch.dylib 0x00007fff6efb56c4 _dispatch_call_block_and_release + 12
    8 libdispatch.dylib 0x00007fff6efb6658 _dispatch_client_callout + 8
    9 libdispatch.dylib 0x00007fff6efbbc44 _dispatch_lane_serial_drain + 597
    10 libdispatch.dylib 0x00007fff6efbc5d6 _dispatch_lane_invoke + 363
    11 libdispatch.dylib 0x00007fff6efc5c09 _dispatch_workloop_worker_thread + 596
    12 libsystem_pthread.dylib 0x00007fff6f214a3d _pthread_wqthread + 290
    13 libsystem_pthread.dylib 0x00007fff6f213b77 start_wqthread + 15
    );
    }
    --`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions