Clojurians
#cljsrn
<
2016-06-26
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

esp121:06:18

i’m just getting started with re-natal, and my app runs fine in the simulator, but i’m running into a problem when trying to run on a real ios device. i ran re-natal use-ios-device real and also changed the jsCodeLocation url in AppDelegate.m to point to my computer’s ip address. when the app starts up i can see it making requests in the react packager terminal window, but immediately afterwards i get the following error:

2016-06-26 17:35:12.694 [info][tid:com.facebook.react.JavaScript] Running application "tricorder" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2016-06-26 17:35:12.751 [info][tid:com.facebook.react.JavaScript] Loading Closure base.
2016-06-26 17:35:12.751 [info][tid:com.facebook.react.JavaScript] Shimming require
2016-06-26 17:35:12.790 [error][tid:com.facebook.react.JavaScript] { [TypeError: Network request failed]
  line: 26890,
  column: 21,
  sourceURL: '' }
2016-06-26 17:35:13.044 [warn][tid:com.facebook.react.JavaScript] Possible Unhandled Promise Rejection (id: 0):
error is not a function. (In 'error()', 'error' is an instance of TypeError)

tryCallOne@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:10529:10


callTimer@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:4227:9
callImmediatesPass@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:4285:28
callImmediates@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:4300:43

guard@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:2970:3
__callImmediates@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:3060:6

guard@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:2970:3
callFunctionReturnFlushedQueue@http://10.0.1.9:8081/index.ios.bundle?platform=ios&dev=true:3018:6
callFunctionReturnFlushedQueue@[native code]

esp121:06:37

this is with re-natal 0.2.36. any help would be very appreciated!