Skip to content

Instructions to install AzureCommunicationCalling without Cocoapods #2016

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

Open
dorjeozer opened this issue Feb 10, 2025 · 7 comments
Open

Instructions to install AzureCommunicationCalling without Cocoapods #2016

dorjeozer opened this issue Feb 10, 2025 · 7 comments
Assignees
Labels
Communication customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@dorjeozer
Copy link

In the Quickstart guide is a section "Using XCFramework directly". It's quite easy to create a XCFramework out of AzureCommunicationCommon but it has turned out to be a very difficult task to make these two frameworks linked together.

Describe the solution you'd like
It would be great if there was an example project available to understand how this solution can be implemented.

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Feb 10, 2025
@lucianopa-msft
Copy link
Member

Hi @dorjeozer,

Can you give more details on what kind of issues are you facing? Errors you are seeing and so on?
Maybe the steps your are using for generating the Common XCframework?

@lucianopa-msft lucianopa-msft self-assigned this Feb 11, 2025
@lucianopa-msft lucianopa-msft added Communication and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Feb 11, 2025
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Feb 11, 2025
@dorjeozer
Copy link
Author

I think the following line of code (from the example project) and the related error will describe the problem I'm having quite well:

phoneNumberOptions.alternateCallerId = PhoneNumberIdentifier(phoneNumber: "+12133947338")

error: Cannot assign value of type 'AzureCommunicationCommon.PhoneNumberIdentifier' to type 'AzureCommunicationCalling.PhoneNumberIdentifier'

I have generated Common XCFramework using this tool.

@lucianopa-msft
Copy link
Member

lucianopa-msft commented Feb 17, 2025

I think the following line of code (from the example project) and the related error will describe the problem I'm having quite well:

phoneNumberOptions.alternateCallerId = PhoneNumberIdentifier(phoneNumber: "+12133947338")

error: Cannot assign value of type 'AzureCommunicationCommon.PhoneNumberIdentifier' to type 'AzureCommunicationCalling.PhoneNumberIdentifier'

I have generated Common XCFramework using this tool.

Thank you for following up with this, can you please share a sample project that repros this? Something small and self contained with less code as possible and with the xcframeworks embedded in it.

@dorjeozer
Copy link
Author

Here's an example project where the code is from your tutorial and contains both of the frameworks embedded in: ACSLibraryUI.zip

@lucianopa-msft
Copy link
Member

lucianopa-msft commented Feb 28, 2025

Hi,
Thank you for the sample, I could not reproduce the issue (not able to use the exact frameworks you had because they weren't inside the zip). So I use my own AzureCommunicationCommon.xcframework and it is all working.

Can you share details on how you are building AzureCommunicationCommon xcframework? Also, make sure you are building version 1.2.0.

Can you try using this
AzureCommunicationCommon.xcframework.zip

@dorjeozer
Copy link
Author

The code works with your file.

Would it be possible to get the instructions how it's supposed to be built? Even better would be to get the xcframework available to download for each release.

@gaobob-msft
Copy link
Member

Re-assigning this to @mjafferi-msft who owns common SDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Communication customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

5 participants