Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录注册都不行啊 #101

Closed
bytehello opened this issue Apr 5, 2016 · 5 comments
Closed

登录注册都不行啊 #101

bytehello opened this issue Apr 5, 2016 · 5 comments

Comments

@bytehello
Copy link

打印输出的错误信息如下:

*************************** YepNetworking Failure *****************************
Reason: Other, Error: Optional("Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSLocalizedDescription=unsupported URL, NSUnderlyingError=0x7fd09148d790 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "(null)"}}")
Resource(Method: POST, path: /v1/sms_verification_codes, headers: ["Accept-Language": "en-US", "Content-Type": "application/json"], requestBody: ["method": sms, "phone_code": 86, "mobile": 15370406515])

curl -i -X POST -H "Accept-Language: en-US" -H "Content-Type: application/json" -d "{"method":"sms","mobile":"12345666666","phone_code":"86"}"

@bytehello
Copy link
Author

是我的问题,在Other Swift Flags修改了条件编译,问题解决了

@haohao110
Copy link

怎么弄的啊,我现在模拟器一直网络超时,真机没有证书也运行不了

@kevinzhow
Copy link
Member

kevinzhow commented Dec 14, 2016 via email

@haohao110
Copy link

@kevinzhow 额..就是说项目现在看不了了么 - -

@yangxiaobo
Copy link

登录报错:
***************************** YepNetworking Failure *****************************
Reason: Other, Error: Optional(Error Domain=NSURLErrorDomain Code=-1001 "请求超时。" UserInfo={NSUnderlyingError=0x17045be70 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, NSErrorFailingURLStringKey=https://api.soyep.com/v1/sms_verification_codes, NSErrorFailingURLKey=https://api.soyep.com/v1/sms_verification_codes, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=请求超时。})
Resource(Method: POST, path: /v1/sms_verification_codes, headers: ["Content-Type": "application/json", "Accept-Language": "zh-CN"], requestBody: ["mobile": 18611015757, "method": sms, "phone_code": 86])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants