Marshing Objective-C throwing error

ios

#1

Currently i have generated typed difinitions file for AFNetworking library which can be found at https://github.com/AFNetworking/AFNetworking. Now when i try to use one method like following the application is crashing and i debugged the code and got errors as shown below:
using of method:

        let request: NSMutableURLRequest = AFHTTPRequestSerializer.serializer()
            .multipartFormRequestWithMethodURLStringParametersConstructingBodyWithBlockError(
                method, url, parameters, function (formData: AFMultipartFormData) {
                    const nsUrlPath = NSURL.alloc().initWithString(nsNetworkingFormDataObject.path);

                    formData.appendPartWithFileURLNameFileNameMimeTypeError(
                        nsUrlPath, nsNetworkingFormDataObject.name, 
                        nsNetworkingFormDataObject.fileName, nsNetworkingFormDataObject.mimeType);
                });

Now when i run the application it is throwing following error:

13:68: JS ERROR TypeError: formData.appendPartWithFileURLNameFileNameMimeTypeError is not a function.
(In 'formData.appendPartWithFileURLNameFileNameMimeTypeError(nsUrlPath, nsNetworkingFormDataObject.name, nsNetworkingFormDataObject.fileName, nsNetworkingFormDataObject.mimeType)', 'formData.appendPartWithFileURLNameFileNameMimeTypeError' is undefined)
file:///app/tns_modules/nativescript-networking/NSNetworking.js:13:68: JS ERROR TypeError: formData.appendPartWithFileURLNameFileNameMimeTypeError is not a function. 
(In 'formData.appendPartWithFileURLNameFileNameMimeTypeError(nsUrlPath, nsNetworkingFormDataObject.name, nsNetworkingFormDataObject.fileName, nsNetworkingFormDataObject.mimeType)', 
'formData.appendPartWithFileURLNameFileNameMimeTypeError' is undefined)

When i debugged the code i see this:
https://ibb.co/duAVNS