cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Accept mobile SDK for IOS

Hello!!!

I am using Accept SDK in IOS.

My code was made base object-c and i used AcceptSDK.framework.

AcceptSDKHandler *handler = [[AcceptSDKHandler alloc] initWithEnvironment:AcceptSDKEnvironmentENV_TEST];
    AcceptSDKRequest *request = [[AcceptSDKRequest alloc] init];
    request.merchantAuthentication.name = @""; //name
    request.merchantAuthentication.clientKey = @""; //clientkey
   
    request.securePaymentContainerRequest.webCheckOutDataType.token.cardNumber = @""; //cardnumber
    request.securePaymentContainerRequest.webCheckOutDataType.token.expirationMonth = @"";
    request.securePaymentContainerRequest.webCheckOutDataType.token.expirationYear = @"";
    request.securePaymentContainerRequest.webCheckOutDataType.token.cardCode = @"";
   
    [handler getTokenWithRequest:request successHandler:^(AcceptSDKTokenResponse * _Nonnull token) {
        NSLog(@"success %@", token.getOpaqueData.getDataValue);
    } failureHandler:^(AcceptSDKErrorResponse * _Nonnull error) {
        NSLog(@"failed... );
    }];

But i got no matching framework error.

Frameworks/AcceptSDK.framework/Frameworks/libswiftCore.dylib: no matching architecture in universal wrapper

How can do i use this framework in Object-c?

 

 

golddrip13
Member
Who Me Too'd this topic