mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins; curl -L http://git.io/lOQWeA | tar xvz -C ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin rm -rf ~/Library/Application\ Support/Alcatraz
插件路径
[SMS_SDK registerApp:appKey withSecret:appSecret];
/** * @brief 获取验证码(Get verification code by SMS) * * @from v1.0.7 * @param phoneNumber 电话号码(The phone number) * @param zone 区域号,不要加"+"号(Area code) * @param result 请求结果回调(Results of the request) */ + (void)getVerificationCodeBySMSWithPhone:(NSString *)phoneNumber zone:(NSString *)zone result:(GetVerificationCodeResultHandler)result; /** * @brief 提交验证码(Commit the verification code) * @param 验证码(Verification code) * @param 请求结果回调(Results of the request) */ +(void)commitVerifyCode:(NSString *)code result:(CommitVerifyCodeBlock)result;
//验证是否支持指纹识别 - (BOOL)canEvaluatePolicy:(LAPolicy)policy error:(NSError * __autoreleasing *)error __attribute__((swift_error(none))); //开始指纹识别 - (void)evaluatePolicy:(LAPolicy)policy localizedReason:(NSString *)localizedReason reply:(void(^)(BOOL success, NSError * __nullable error))reply;