This PR does few things to bring the AzureCommunicationCalling native lib to work with net7-ios
In the process I have modified create_binding.sh so it's self contained.
You can run script multiple times and it will copy files accordingly and modify the .h files to adjust references to AzureCommunicationCommon.
Effectively create_binding.sh should create ApiDefinitions.cs and StructsAndEnums.cs every time regardless of what version of the native lib you will use.
The process of preparing a package looks now like:
run create_binding.sh
do the manual adjustments in ApiDefinitions.cs and StructsAndEnums.cs files
dotnet build
The nuget package works on M1 cpu, for both ios simulator and real device.
It has not been tested on x86 machine.
There is no CallDelegate crash anymore
Some more issues are fixed due to latest AzureCommunicationCalling being used.
This PR does few things to bring the AzureCommunicationCalling native lib to work with net7-ios In the process I have modified
create_binding.sh
so it's self contained. You can run script multiple times and it will copy files accordingly and modify the .h files to adjust references to AzureCommunicationCommon. Effectivelycreate_binding.sh
should createApiDefinitions.cs
andStructsAndEnums.cs
every time regardless of what version of the native lib you will use. The process of preparing a package looks now like:create_binding.sh
ApiDefinitions.cs
andStructsAndEnums.cs
filesdotnet build
The nuget package works on M1 cpu, for both ios simulator and real device. It has not been tested on x86 machine. There is no CallDelegate crash anymore Some more issues are fixed due to latest AzureCommunicationCalling being used.