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

[iOS][Swift]Run time crash while integrating AzureCommunicationCalling #370

Open
aahmed92021 opened this issue Sep 13, 2021 · 0 comments
Open
Labels

Comments

@aahmed92021
Copy link

aahmed92021 commented Sep 13, 2021

Describe the bug
Run time crash while trying to integrate AzureCommunicationCalling SDK via CocoaPods

To Reproduce
Steps to reproduce the behavior:

  1. Go to podfile in your project
  2. Add pod 'AzureCommunicationCalling', '1.0.0-beta.12'
  3. pod install
  4. compile and run
  5. App crashes at launch with error: "dyld: Library not loaded: @rpath/AzureCommunication.framework/AzureCommunication
    Referenced from: /Users/arqamowais/Library/Developer/CoreSimulator/Devices/D23B6797-EA6F-4F70-9F6D-547A81D084B0/data/Containers/Bundle/Application/0D5EF810-6CFC-4D6E-867C-D755AF0C1004/VeriBank.app/Frameworks/AzureCommunicationCalling.framework/AzureCommunicationCalling
    Reason: image not found
    dyld: launch, loading dependent libraries
    DYLD_SHARED_CACHE_DIR=/Users/arqamowais/Library/Developer/CoreSimulator/Caches/dyld/20G95/com.apple.CoreSimulator.SimRuntime.iOS-14-5.18E182
    DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
    DYLD_LIBRARY_PATH=/Users/arqamowais/Library/Developer/Xcode/DerivedData/VBMBProduct-gwabandzvcctzldykxlqwqtoflev/Build/Products/Development-iphonesimulator:/Users/arqamowais/Library/Developer/Xcode/DerivedData/VBMBProduct-gwabandzvcctzldykxlqwqtoflev/Build/Products/Development-watchsimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection
    DYLD_PRINT_STATISTICS=1
    DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla"

Expected behavior
App shouldn't crash at launch

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: iOS 14.5

Smartphone (please complete the following information):

  • Device: iPhone7, iPhone Simulator 12 ProMax
  • OS: iOS 14.5

Additional context
Adding this pod in standalone project works fine. But adding it in existing project breaks it. I've tried various combinations and solutions suggested in othere similar issues. Nothing worked for me yet. I've tried the following pods in various combinations:

pod 'AzureCommunicationCalling', '1.0.0-beta.9'
pod 'AzureCommunicationCalling', '1.0.0-beta.12'
pod 'AzureCommunicationCalling', '2.0.0-beta.1'

pod 'AzureCommunicationCommon', '1.0.0'
pod 'AzureCommunicationCommon', '~> 1.0.0'

@aahmed92021 aahmed92021 added Bug Something isn't working Teams interop labels Sep 13, 2021
@ghost ghost added the Needs: triage 🔍 label Sep 13, 2021
@aahmed92021 aahmed92021 changed the title Run time crash while integrating AzureCommunicationCalling [iOS][Swift]Run time crash while integrating AzureCommunicationCalling Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant