[iOS][Swift]Run time crash while integrating AzureCommunicationCalling
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure, ios, swift
- Domain
- mobile-dev
Research direction
Start with the existing project's Podfile and reproduce the launch failure using AzureCommunicationCalling 1.0.0-beta.12 on iOS 14.5. Compare its dependency integration with the standalone project, including the listed AzureCommunicationCalling and AzureCommunicationCommon versions. Done means the existing app installs, launches, and no longer reports the missing AzureCommunication.framework.
Written by the indexing model from the issue text.
Description
Describe the bug
Run time crash while trying to integrate AzureCommunicationCalling SDK via CocoaPods
To Reproduce
Steps to reproduce the behavior:
- Go to podfile in your project
- Add pod 'AzureCommunicationCalling', '1.0.0-beta.12'
- pod install
- compile and run
- 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'
- Dominant language
- No language data
- Stars
- 340
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/Communication
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/Communication#600 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/Communication#599 · 4 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/Communication#598 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/Communication#543 ·
-
Needs: triage :mag:
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/Communication#447 ·
All issues in Azure/Communication
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
client-controller-update ta-bot-triage team-money-movement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MetaMask/metamask-mobile#36594 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Anthonyy232/Paperize#614 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mozilla-mobile/firefox-ios#35743 ·