Previously, I had done meteor run ios-device
and ran it on the simulator and my device- everything worked well. I pushed it to test flight and got the app approved as a beta app. Now I have made some changes locally, done rm -rf .meteor/local/cordova-build/
and built it again. But this is the error I have been getting from Xcode-
2017-01-29 22:19:15.414 trusu[28692:1522744] CDVWKWebViewEngine will reload WKWebView if required on resume
2017-01-29 22:19:15.415 trusu[28692:1522744] Using WKWebView
2017-01-29 22:19:15.415 trusu[28692:1522744] [CDVTimer][handleopenurl] 0.156999ms
2017-01-29 22:19:15.421 trusu[28692:1522744] [CDVTimer][intentandnavigationfilter] 5.162001ms
2017-01-29 22:19:15.421 trusu[28692:1522744] [CDVTimer][gesturehandler] 0.092983ms
2017-01-29 22:19:15.589 trusu[28692:1522744] Serving asset bundle version: 952019b63de51d609135f6d3379b89163b006ad4
[INFO] GCDWebServer started on port 12568 and reachable at http://localhost:12568/
2017-01-29 22:19:15.596 trusu[28692:1522744] [CDVTimer][webapplocalserver] 174.703002ms
2017-01-29 22:19:15.636 trusu[28692:1522744] [CDVTimer][statusbar] 39.719999ms
2017-01-29 22:19:15.666 trusu[28692:1522744] [CDVTimer][splashscreen] 29.563963ms
2017-01-29 22:19:15.666 trusu[28692:1522744] [CDVTimer][TotalPluginStartup] 251.096010ms
2017-01-29 22:19:19.525 trusu[28692:1522744] network
2017-01-29 22:19:19.664 trusu[28692:1522744] Exception from Tracker recompute function:
2017-01-29 22:19:19.665 trusu[28692:1522744] Error: No such function: _
2017-01-29 22:19:19.665 trusu[28692:1522744] http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3213:24
call@http://localhost:12568/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:172:23
mustacheImpl@http://localhost:12568/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:106:30
mustache@http://localhost:12568/packages/spacebars.js?hash=ebf9381e7fc625d41acb0df14995b7614360858a:110:44
http://localhost:12568/app/app.js?hash=e588c7ec6199418889696a1a7e37c73de856f85f:6252:32
doRender@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:2085:32
http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1933:24
_withTemplateInstanceFunc@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:3743:16
http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1931:54
_withCurrentView@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:2270:16
lookup:_:materialize@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1930:34
_compute@http://localhost:12568/packages/tracker.js?hash=9f8a0cec09c662aad5a5e224447b2d4e88d011ef:339:36
Computation@http://localhost:12568/packages/tracker.js?hash=9f8a0cec09c662aad5a5e224447b2d4e88d011ef:229:18
autorun@http://localhost:12568/packages/tracker.js?hash=9f8a0cec09c662aad5a5e224447b2d4e88d011ef:604:34
autorun@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1943:29
http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:2079:17
nonreactive@http://localhost:12568/packages/tracker.js?hash=9f8a0cec09c662aad5a5e224447b2d4e88d011ef:631:13
_materializeView@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:2078:22
materializeDOMInner@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1531:31
_materializeDOM@http://localhost:12568/packages/blaze.js?hash=813922cefaf3c9d7388442268c14f87d2dde795f:1473:22
[native code]
I understand something might be wrong with a template helper, but when I build it for the browser, it runs fine. I have updated my cordova package to cordova:cordova-plugin-meteor-webapp@1.4.1
, updated Meteor 1.4.2.3, and all my other packages.
How can I debug this issue?
Is any code running before Meteor.startup?
It’s weird that it was running well before my push to testFlight. Is it anything to do with certifications?
Please help. I have been cracking my head on this problem for hours and its urgent.
Thanks