{"action":"created","issue":{"url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/197","labels_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/197/comments","events_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/197/events","html_url":"https://github.com/leancloud/javascript-sdk/issues/197","id":122675179,"number":197,"title":"用1.0.0-rc5 集成 react-native","user":{"login":"buhe","id":650753,"avatar_url":"https://avatars.githubusercontent.com/u/650753?v=3","gravatar_id":"","url":"https://api.github.com/users/buhe","html_url":"https://github.com/buhe","followers_url":"https://api.github.com/users/buhe/followers","following_url":"https://api.github.com/users/buhe/following{/other_user}","gists_url":"https://api.github.com/users/buhe/gists{/gist_id}","starred_url":"https://api.github.com/users/buhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buhe/subscriptions","organizations_url":"https://api.github.com/users/buhe/orgs","repos_url":"https://api.github.com/users/buhe/repos","events_url":"https://api.github.com/users/buhe/events{/privacy}","received_events_url":"https://api.github.com/users/buhe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-17T07:05:06Z","updated_at":"2015-12-17T08:38:03Z","closed_at":null,"body":"debug 的时候请求可以发送出去\r\n非debug xcode 报错\r\n\r\ntid:com.facebook.React.JavaScript] 'Error: undefined undefined is not a constructor (evaluating \\'new AV.XMLHttpRequest()\\')'\r\n2015-12-17 15:01:26.562 [info][tid:com.facebook.React.JavaScript] { [TypeError: undefined is not a constructor (evaluating 'new AV.XMLHttpRequest()')]\r\n  line: 57214,\r\n  column: 30,\r\n  sourceURL: 'http://10.29.206.236:8081/index.ios.bundle?platform=ios&dev=true' }\r\n2015-12-17 15:01:26.567 [info][tid:com.facebook.React.JavaScript] 'Error: undefined undefined is not a constructor (evaluating \\'new AV.XMLHttpRequest()\\')'\r\n2015-12-17 15:01:26.570 [info][tid:com.facebook.React.JavaScript] { [TypeError: undefined is not a constructor (evaluating 'new AV.XMLHttpRequest()')]\r\n  line: 57214,\r\n  column: 30,\r\n  sourceURL: 'http://10.29.206.236:8081/index.ios.bundle?platform=ios&dev=true' }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/comments/165384094","html_url":"https://github.com/leancloud/javascript-sdk/issues/197#issuecomment-165384094","issue_url":"https://api.github.com/repos/leancloud/javascript-sdk/issues/197","id":165384094,"user":{"login":"leeyeh","id":175227,"avatar_url":"https://avatars.githubusercontent.com/u/175227?v=3","gravatar_id":"","url":"https://api.github.com/users/leeyeh","html_url":"https://github.com/leeyeh","followers_url":"https://api.github.com/users/leeyeh/followers","following_url":"https://api.github.com/users/leeyeh/following{/other_user}","gists_url":"https://api.github.com/users/leeyeh/gists{/gist_id}","starred_url":"https://api.github.com/users/leeyeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeyeh/subscriptions","organizations_url":"https://api.github.com/users/leeyeh/orgs","repos_url":"https://api.github.com/users/leeyeh/repos","events_url":"https://api.github.com/users/leeyeh/events{/privacy}","received_events_url":"https://api.github.com/users/leeyeh/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T08:38:03Z","updated_at":"2015-12-17T08:38:03Z","body":"根据你的代码片段，猜测是在运行 `pullTurningStep` 方法中的 `query.find` 时报错，但是同样的代码没有复现，请问能否提供完整可运行的代码来调试下呢。"}}