As mentioned in the error , I tried modifying the plugin.xml file entry
framework src="FreshchatSDK" type="podspec" spec="4.1.5"
to
podspec src="FreshchatSDK" spec="4.1.5"
After this change, plugin is added but the
Archive is failing with error in Freshchat.m file
Can anyone please help me fix this as freschat is an important feature of my app and I have an upcoming release. Thanks in advance :)
### Problem statement:
I recently upgraded my ionic application to cordova-ios 7.1.0 from cordova-ios 5.0.0.
Afterwards, when I try to add freshchat plugin with ionic cordova plugin add https://github.com/techaffinity/freshchat-phonegap.git, it throws the following error:
("framework" tag with type "podspec" is no longer supported. Please use the "podspec" tag. ) and the plugin addition is unsuccessful.
Troubleshooting Performed:
In cordova-ios release notes, it is mentioned that type "podspec" is no longer supported from cordova-ios 7.0.0. Reference Link : https://cordova.apache.org/announcements/2023/07/10/cordova-ios-7.0.0.html
As mentioned in the error , I tried modifying the plugin.xml file entry framework src="FreshchatSDK" type="podspec" spec="4.1.5" to podspec src="FreshchatSDK" spec="4.1.5" After this change, plugin is added but the Archive is failing with error in Freshchat.m file
Can anyone please help me fix this as freschat is an important feature of my app and I have an upcoming release. Thanks in advance :)
Versions: Cordova 11.1.0 Node 16.20.2 Npm 6.14.8 Ionic 6.20.1 Cordova ios 7.1.0