- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我尝试在 iPhone 6 上运行我的 React Native 应用程序,但是当它进入调试阶段时它崩溃了,但在模拟器上运行它没有问题。
我的 React Native 版本是 0.60.5
这些是我的依赖项:
"dependencies": {<br>
"@react-native-community/netinfo": "^4.1.5",<br>
"jwt-decode": "^2.2.0",<br>
"react": "16.8.6",<br>
"react-native": "^0.60.5",<br>
"react-native-auth0": "^1.5.0",<br>
"react-native-calendars": "^1.210.0",<br>
"react-native-device-info": "^2.3.2",<br>
"react-native-document-picker": "git://github.com/Elyx0/react-native-document-picker.git#v3",<br>
"react-native-file-viewer": "^2.0.0",<br>
"react-native-fs": "^2.14.1",<br>
"react-native-gesture-handler": "^1.4.1",<br>
"react-native-image-picker": "^1.0.2",<br>
"react-native-offline": "^5.0.0",<br>
"react-native-progress": "^3.6.0",<br>
"react-native-queue": "^1.2.1",<br>
"react-native-splash-screen": "^3.2.0",<br>
"react-native-svg": "^9.6.4",<br>
"react-navigation": "^3.11.1",<br>
"react-redux": "^7.1.0",<br>
"realm": "^2.29.2",<br>
"redux": "^4.0.4"<br>
},<br>
"devDependencies": {<br>
"@babel/core": "^7.5.5",<br>
"@babel/runtime": "^7.5.5",<br>
"@react-native-community/eslint-config": "^0.0.5",<br>
"babel-jest": "^24.9.0",<br>
"eslint": "^6.2.0",<br>
"jest": "^24.9.0",<br>
"metro-react-native-babel-preset": "^0.56.0",<br>
"react-test-renderer": "16.8.6"<br>
},<br>
这是完整的日志:
2019-08-26 17:02:18.721172+0200 iDiary[14898:1856748] [Accessibility] ****************** Loading GAX Client Bundle ****************
2019-08-26 17:03:18.996939+0200 iDiary[14898:1856834] Task <9BC4C6D4-EA36-4C9E-AE26-EA910C6A991F>.<1> finished with error - code: -1001
2019-08-26 17:03:19.030974+0200 iDiary[14898:1856834] Task <9BC4C6D4-EA36-4C9E-AE26-EA910C6A991F>.<1> HTTP load failed (error code: -999 [1:89])
2019-08-26 17:03:19.027 [info][tid:main][RCTCxxBridge.mm:236] Initializing <RCTCxxBridge: 0x103b13170> (parent: <RCTBridge: 0x283f536b0>, executor: (null))
2019-08-26 17:03:19.037682+0200 iDiary[14898:1856748] Initializing <RCTCxxBridge: 0x103b13170> (parent: <RCTBridge: 0x283f536b0>, executor: (null))
2019-08-26 17:03:19.214 [info][tid:main][RCTRootView.m:293] Running application iDiary ({
initialProps = {
};
rootTag = 1;
})
2019-08-26 17:03:19.214706+0200 iDiary[14898:1856748] Running application iDiary ({
initialProps = {
};
rootTag = 1;
})
2019-08-26 17:03:19.299503+0200 iDiary[14898:1856748] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281472f00, domain=1, instance=1>
2019-08-26 17:03:19.551522+0200 iDiary[14898:1856748] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x281469300, domain=1, instance=1>
2019-08-26 17:03:19.785 [info][tid:main][RCTCxxBridge.mm:1061] Invalidating <RCTCxxBridge: 0x103b13170> (parent: <RCTBridge: 0x283f536b0>, executor: RCTWebSocketExecutor)
2019-08-26 17:03:19.786216+0200 iDiary[14898:1856748] Invalidating <RCTCxxBridge: 0x103b13170> (parent: <RCTBridge: 0x283f536b0>, executor: RCTWebSocketExecutor)
2019-08-26 17:03:20.091 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.091389+0200 iDiary[14898:1856934] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.097 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.097325+0200 iDiary[14898:1856934] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.097 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.097585+0200 iDiary[14898:1856934] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.098 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.097817+0200 iDiary[14898:1856934] Attempted to invoke `5` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.098 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `1` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.098149+0200 iDiary[14898:1856934] Attempted to invoke `1` (method ID) on `WebSocketModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.098 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `0` (method ID) on `BlobModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.098306+0200 iDiary[14898:1856934] Attempted to invoke `0` (method ID) on `BlobModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.329 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `4` (method ID) on `BlobModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.328815+0200 iDiary[14898:1856934] Attempted to invoke `4` (method ID) on `BlobModule` (NativeModule name) without a method queue.
2019-08-26 17:03:20.362 [warn][tid:com.facebook.react.JavaScript] [SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()
2019-08-26 17:03:20.362037+0200 iDiary[14898:1856934] [SECURITY] node-uuid: crypto not usable, falling back to insecure Math.random()
2019-08-26 17:03:20.376 [warn][tid:com.facebook.react.JavaScript] Accessing view manager configs directly off UIManager via UIManager['getConstants'] is no longer supported. Use UIManager.getViewManagerConfig('getConstants') instead.
2019-08-26 17:03:20.375708+0200 iDiary[14898:1856934] Accessing view manager configs directly off UIManager via UIManager['getConstants'] is no longer supported. Use UIManager.getViewManagerConfig('getConstants') instead.
2019-08-26 17:03:20.437 [warn][tid:com.facebook.react.JavaScript] Require cycle: src/navigation/AppNavigator.js -> src/components/SideMenu.js -> src/navigation/AppNavigator.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
2019-08-26 17:03:20.437272+0200 iDiary[14898:1856934] Require cycle: src/navigation/AppNavigator.js -> src/components/SideMenu.js -> src/navigation/AppNavigator.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
2019-08-26 17:03:20.541 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'result.viewConfig')
2019-08-26 17:03:20.541567+0200 iDiary[14898:1856934] undefined is not an object (evaluating 'result.viewConfig')
2019-08-26 17:03:20.564 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `1` (method ID) on `ExceptionsManager` (NativeModule name) without a method queue.
2019-08-26 17:03:20.564373+0200 iDiary[14898:1856934] Attempted to invoke `1` (method ID) on `ExceptionsManager` (NativeModule name) without a method queue.
2019-08-26 17:03:20.573 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `0` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:20.573063+0200 iDiary[14898:1856934] Attempted to invoke `0` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:20.586 [warn][tid:com.facebook.react.JavaScript] Unable to symbolicate stack trace: Bundle was not loaded from the packager
2019-08-26 17:03:20.586445+0200 iDiary[14898:1856934] Unable to symbolicate stack trace: Bundle was not loaded from the packager
2019-08-26 17:03:20.587 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `1` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:20.587586+0200 iDiary[14898:1856934] Attempted to invoke `1` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:20.593 [error][tid:com.facebook.react.JavaScript] Module AppRegistry is not a registered callable module (calling runApplication)
2019-08-26 17:03:20.593304+0200 iDiary[14898:1856934] Module AppRegistry is not a registered callable module (calling runApplication)
2019-08-26 17:03:20.601 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `1` (method ID) on `ExceptionsManager` (NativeModule name) without a method queue.
2019-08-26 17:03:20.601356+0200 iDiary[14898:1856934] Attempted to invoke `1` (method ID) on `ExceptionsManager` (NativeModule name) without a method queue.
2019-08-26 17:03:20.602 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `0` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:20.601715+0200 iDiary[14898:1856934] Attempted to invoke `0` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:20.610 [warn][tid:com.facebook.react.JavaScript] Unable to symbolicate stack trace: Bundle was not loaded from the packager
2019-08-26 17:03:20.609688+0200 iDiary[14898:1856934] Unable to symbolicate stack trace: Bundle was not loaded from the packager
2019-08-26 17:03:20.610 [info][tid:com.facebook.react.JavaScript][RCTNativeModule.mm:86] Attempted to invoke `1` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:20.610356+0200 iDiary[14898:1856934] Attempted to invoke `1` (method ID) on `Timing` (NativeModule name) without a method queue.
2019-08-26 17:03:30.614 [error][tid:com.facebook.react.JavaScript][RCTCxxBridge.mm:1108] Timed out waiting for modules to be invalidated
2019-08-26 17:03:30.614340+0200 iDiary[14898:1856934] Timed out waiting for modules to be invalidated
2019-08-26 17:04:19.798616+0200 iDiary[14898:1856834] Task <EC7C12E8-0C02-4260-906B-5BE0B9224C15>.<2> finished with error - code: -1001
2019-08-26 17:04:19.801 [info][tid:main][RCTCxxBridge.mm:236] Initializing <RCTCxxBridge: 0x103b269c0> (parent: <RCTBridge: 0x283f536b0>, executor: RCTWebSocketExecutor)
2019-08-26 17:04:19.801222+0200 iDiary[14898:1856748] Initializing <RCTCxxBridge: 0x103b269c0> (parent: <RCTBridge: 0x283f536b0>, executor: RCTWebSocketExecutor)
2019-08-26 17:04:19.803884+0200 iDiary[14898:1856834] Task <EC7C12E8-0C02-4260-906B-5BE0B9224C15>.<2> HTTP load failed (error code: -999 [1:89])
2019-08-26 17:04:19.834 [error][tid:main][RCTCxxBridge.mm:502] Unable to find module for AccessibilityManager
2019-08-26 17:04:19.833846+0200 iDiary[14898:1856748] Unable to find module for AccessibilityManager
2019-08-26 17:04:19.840714+0200 iDiary[14898:1856834] [] nw_socket_handle_socket_event [C3.1:1] Socket SO_ERROR [61: Connection refused]
2019-08-26 17:04:19.847779+0200 iDiary[14898:1856834] [] nw_socket_handle_socket_event [C4.1:2] Socket SO_ERROR [61: Connection refused]
2019-08-26 17:04:19.848193+0200 iDiary[14898:1856834] [] nw_socket_handle_socket_event [C3.2:1] Socket SO_ERROR [61: Connection refused]
2019-08-26 17:04:19.849213+0200 iDiary[14898:1856835] [] nw_connection_get_connected_socket [C3] Client called nw_connection_get_connected_socket on unconnected nw_connection
2019-08-26 17:04:19.849290+0200 iDiary[14898:1856835] TCP Conn 0x28215a7c0 Failed : error 0:61 [61]
2019-08-26 17:04:19.856 [error][tid:main][RCTCxxBridge.mm:502] Unable to find module for EventDispatcher
2019-08-26 17:04:19.855794+0200 iDiary[14898:1856748] Unable to find module for EventDispatcher
2019-08-26 17:04:19.856171+0200 iDiary[14898:1856834] [] nw_socket_handle_socket_event [C4.2:2] Socket SO_ERROR [61: Connection refused]
2019-08-26 17:04:19.857102+0200 iDiary[14898:1856834] TIC TCP Conn Failed [4:0x28215ae80]: 1:61 Err(61)
2019-08-26 17:04:19.859256+0200 iDiary[14898:1856834] Task <41F50C0D-6D7D-4438-99AC-A58F0678DBF7>.<3> HTTP load failed (error code: -1004 [1:61])
2019-08-26 17:04:19.859761+0200 iDiary[14898:1856834] Task <41F50C0D-6D7D-4438-99AC-A58F0678DBF7>.<3> finished with error - code: -1004
2019-08-26 17:04:19.868 [fatal][tid:com.facebook.react.JavaScript] Connection to http://localhost:8081/debugger-proxy?role=client timed out. Are you running node proxy? If you are running on the device, check if you have the right IP address in `RCTWebSocketExecutor.m`.
2019-08-26 17:04:19.868264+0200 iDiary[14898:1857060] Connection to http://localhost:8081/debugger-proxy?role=client timed out. Are you running node proxy? If you are running on the device, check if you have the right IP address in `RCTWebSocketExecutor.m`.
2019-08-26 17:04:19.869 [info][tid:com.facebook.react.WebSocketExecutor][RCTWebSocketExecutor.m:145] WebSocket connection failed with error Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
2019-08-26 17:04:19.868969+0200 iDiary[14898:1856834] WebSocket connection failed with error Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
2019-08-26 17:04:19.881896+0200 iDiary[14898:1856748] *** Assertion failure in -[RCTCxxBridge ensureOnJavaScriptThread:](), /Users/dev/Desktop/iDiary/app-mobile/iDiary/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm:293
2019-08-26 17:04:19.882588+0200 iDiary[14898:1856748] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This method must not be called before the JS thread is created'
*** First throw call stack:
(0x188bad27c 0x187d879f8 0x188ac6988 0x1895d6ee8 0x10083199c 0x10083a1b0 0x103a3f6f0 0x103a40c74 0x103a4e6fc 0x188b3ec1c 0x188b39b54 0x188b390b0 0x18ad3979c 0x1b536f978 0x10072817c 0x1885fe8e0)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
希望有人知道如何解决,先谢谢了
最佳答案
好吧,显然只是连接问题,我的 iPhone 没有连接到与我的 MacBook 相同的 wifi,所以它不起作用
关于ios - React Native 在设备 iOS 上运行崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57661857/
iphone设备UDID、iphone设备ID和iphone设备Token之间有什么区别? 通常,当我们使用苹果推送通知服务时,会使用 iPhone 设备 token 。 但我的目标只是识别唯一的 i
我们使用 firebase 从服务器向 Android 和 IOS 设备发送通知,并且我们使用旧版 FCM 发送通知。但是当我们的应用程序在后台时,通知由系统本身处理,因此我们无法通过应用程序处理它。
在 Google 上搜索后,我发现人们说只能通过“MFi 程序”将 iOS 设备与非 iOS 设备连接起来。这是真的吗? 我的项目主要集中于直接通过蓝牙与Arduino设备发送和接收信息。 iOS和非
所以我有一个通用应用程序,我正在设置 UIScrollView 的内容大小。显然,iPhone 和 iPad 上的内容大小会有所不同。如何为 iPad 设置某种尺寸,为 iPhone 和 iPod t
问题:如何在 pod 中使用连接到主机的原始设备作为 block 设备。 我尝试使用类型为“BlockDevice”的“hostPath” volumes: - my-data: hostPath
Implemented GCKDeviceScannerListener Singleton Class on ViewController, however its delegate methods
我有一个 (PhoneGap) 应用程序,它将成功获得 Passbook 通行证,并且还将成功接收与 Passbook 分开的推送通知(当伪造设备 ID 时)。 我遇到的问题是发送给注册设备的设备 I
我正在尝试找到一种方法,通过我目前正在使用的 iOS 应用程序访问我的信标的电池电量。我正在使用 Kontakt 的 iBeacon 设备。我浏览了 Estimote iOS SDK,他们提供了一种实
我正在努力让 CUDA 应用程序也能监控 GPU 的核心温度。可通过 NVAPI 访问该信息。 问题是我想确保在运行代码时监控的是同一个 GPU。 但是,似乎有信息表明我从 NvAPI_EnumPhy
从沙箱模式到生产模式,设备 token 有何不同? 我认为我已将一些设备 token 锁定为生产模式,并且无法将它们从开发中插入。 关于如何检查有什么想法吗? 最佳答案 当您使用开发证书构建应用程序时
目录 /run/user/1000/gvfs 和 ~/.gvfs 分别是空的和不存在的。我的图形文件管理器 (Thunar) 能够检测和访问设备的内部和外部存储器。 命令 gvfs-mount -l
我有一个 Android 平板电脑,它有一个迷你 USB 端口和一个 USB 端口,我想编写一个与 USB key 通信的应用程序。我写了一个demo来找出U盘,但是没有任何反应。 令我不安的是,如果
我们将 PHP 版本从 5.4.25 更改为 5.4.45,并在服务器上安装了 MS SQL 驱动程序。在更改服务器之前,一切正常,但在更改服务器之后,我遇到了 Web 服务问题。我们的身份验证 So
我想知道是否有人使用此 API 在 Android 设备上同时从 2 个后置摄像头捕获图像或视频:https://source.android.com/docs/core/camera/concurr
我正在为客户构建一个物联网解决方案,网络管理员坚持要求设备仅通过访客网络进行连接,该网络有一个强制门户,其中的服务条款必须通过按下 UI 按钮来接受,然后才能获得外部互联网访问。到目前为止,我见过的大
我无法弄清楚这里的格式规则..在我的示例中,代码行太多,无法为每行添加 4 个空格,因此这里是我需要帮助的代码的链接 http://nitemsg.blogspot.com/2011/01/heres
如果我在我的设备上接受推送通知,并且不保存设备 token ,那么我如何在自定义 View 中查看设备 token 或恢复警报 View ? 我删除了应用程序并重新安装,但看不到设备 token 警报
我试图找出在尝试并行比较和复制设备 block 与 pthreads 时我做错了什么。看起来我正在脱离同步并且比较阶段无法正常工作。任何帮助将不胜感激 #ifndef __dbg_h__ #defin
我刚刚写完所有这些内容,但这个红色的小栏告诉我我不能发布图片或两个以上的链接。因此,如果您可以引用 this Imgur album , 那简直太好了。谢谢。 我在这里相对较新,甚至对 android
我需要启用 mysql 常规日志并将其通过 nsf 移动到我系统中的另一个驱动器/设备! 所以,我在 my.cnf 中启用了它: general_log = 1 general_log_fi
我是一名优秀的程序员,十分优秀!