Issue
Using Objective-C Project with iOS SDK, the following runtime error shows as soon as the Split factory object is initialized:
.../Pods/Split/Split/Common/Utils/JFBCrypt/JFBCrypt.m:578:16: runtime error: left shift of 16488694 by 8 places cannot be represented in type 'SInt32' (aka 'int')
Root Cause
If Undefined Behavior Sanitizer flag is turned on, it will cause the error above.
Answer
To resolve the issue, follow steps below:
- Turn off the Undefined Behavior Sanitizer flag located at the Diagnostics tab in your target's Edit Scheme option.
- Clear the project.
- Delete the derived data folder.
- Rebuild.
Comments
0 comments
Please sign in to leave a comment.