Open Smponias opened 9 years ago
Hey guys,
I wanted to try this cross-platform encryption and realized that it is not working with swift (2.0). There are a few errors and warnings.
In NSData+Base64 I get two warnings and one error I can't fix.
Warning: "Array index 3 is past the end of the array (which contains 3 elements)
outbuf [2] = ( ( inbuf[2] & 0x03 ) << 6 ) | ( inbuf[3] & 0x3F );
Maybe someone can help me?
Upadte 1: I fixed the Error by turning off the "Objective-C Automatic Reference Counting" in my Build Settings
Hey guys,
I wanted to try this cross-platform encryption and realized that it is not working with swift (2.0). There are a few errors and warnings.
import < UIKit/UIKit.h > //Remove whitespaces
In NSData+Base64 I get two warnings and one error I can't fix.
Warning: "Array index 3 is past the end of the array (which contains 3 elements)
Maybe someone can help me?
Upadte 1: I fixed the Error by turning off the "Objective-C Automatic Reference Counting" in my Build Settings