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

DSBridge不违背App store策略,请放心使用! #37

Closed
wendux opened this issue May 4, 2018 · 7 comments
Closed

DSBridge不违背App store策略,请放心使用! #37

wendux opened this issue May 4, 2018 · 7 comments

Comments

@wendux
Copy link
Owner

wendux commented May 4, 2018

dsBridge并未违反任何AppStore的政策,很多使用DSBridge的APP都已成功过审,大家可以放心使用。

@wendux wendux changed the title 苹果审核通过的或遭拒的用户请在这里留名。 App store过审的或遭拒的用户请在这里留名。 May 4, 2018
@hz0324
Copy link

hz0324 commented Jun 1, 2018

@wendux
貌似没人提交案例啊,我们正准备用,有点怕怕的啊。
请问现在啥情况啦?

@xjh093
Copy link

xjh093 commented Jun 8, 2018

昨天(2018-6-7)提交的,今天(2018-6-8)早上被拒。
通过Bugly看到了崩溃日志。

被拒:

Guideline 2.1 - Performance - App Completeness
Your app crashed on iPad running iOS 11.4 connected to an IPv6 network when we tried to log in. 

日志:

NSInvalidArgumentException
Invalid type in JSON write (HNHomeVC)

出错堆栈

0	CoreFoundation          ___exceptionPreprocess + 228
1	libobjc.A.dylib         objc_exception_throw + 56
2	CoreFoundation          -[NSException initWithCoder:]
3	Foundation              __writeJSONValue + 776
4	Foundation              ____writeJSONObject_block_invoke + 192
5	CoreFoundation          -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 232
6	Foundation              __writeJSONObject + 388
7	Foundation              -[_NSJSONWriter dataWithRootObject:options:error:] + 140
8	Foundation              +[NSJSONSerialization dataWithJSONObject:options:error:] + 356
9	QuBar                   +[JSBUtil objToJsonString:] (JSBUtil.m:0)
10	QuBar                   -[DWKWebView call::] (DWKWebView.m:322)
11	QuBar                   -[DWKWebView webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:completionHandler:] (DWKWebView.m:0)
12	WebKit                  0x0000000194d36000 + 1423092
13	WebKit                  0x0000000194d36000 + 2418236
14	WebKit                  0x0000000194d36000 + 2566916
15	WebKit                  0x0000000194d36000 + 575060
16	WebKit                  0x0000000194d36000 + 2927336
17	WebKit                  0x0000000194d36000 + 336060
18	WebKit                  0x0000000194d36000 + 325844
19	WebKit                  0x0000000194d36000 + 336628

在此处挂了

[JSBUtil objToJsonString:]

@xjh093
Copy link

xjh093 commented Jun 8, 2018

转换前没有做判断:isValidJSONObject:

@xjh093
Copy link

xjh093 commented Jun 14, 2018

趣Bar [过审] [2018-06-14]

手机可扫码下载:
趣Bar

PC可访问:
https://itunes.apple.com/cn/app/id1395026819

@wendux
Copy link
Owner Author

wendux commented Jul 5, 2018

@xjh093 改一下,提个pr呗😄

--From gitme Android

@Tanyd31
Copy link

Tanyd31 commented Aug 22, 2018

JSBUtil objToJsonString 这个方法确实需要判断一下再执行,debug模式下就直接挂了,release的话还会catch下保证不会挂。

@wendux wendux changed the title App store过审的或遭拒的用户请在这里留名。 DSBridge不违背App store策略,请放心使用! Sep 6, 2018
@wendux
Copy link
Owner Author

wendux commented Sep 6, 2018

@Tanyd31 已更新

@wendux wendux closed this as completed Sep 6, 2018
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