1 RCTWebSocket Semantic issue
-
打開(kāi)RCTSCrollView.m Command+F 搜索@implementation RCTCustomScrollView
只會(huì)搜索到一個(gè)結(jié)果囊榜,然后修改:@implementation RCTCustomScrollView { RCTRefreshControl *_refreshControl;//不管原來(lái)有什么看成,在原來(lái)的基礎(chǔ)上加上這句 }
-
// SecRandomCopyBytes(kSecRandomDefault, keyBytes.length, keyBytes.mutableBytes); (void)SecRandomCopyBytes(kSecRandomDefault, keyBytes.length, keyBytes.mutableBytes);
2 __nw_connection_get_connected_socket_block_invoke
Xocde控制臺(tái)不斷輸出 如下log
[] __nw_connection_get_connected_socket_block_invoke * Connection has no connected handler
- Xcode menu -> Product -> Edit Scheme...
- Environment Variables -> Add -> Name: "OS_ACTIVITY_MODE", Value:"disable"
- Run again
3 Apple Mach-O Linker(Id) Error
在
TARGETS
下 Build setting
-> Other Linker Flags
->添加
-lc++