cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Service and Asset Manager application Launch fails on ios simulator

prashanthi_vangala2
Product and Topic Expert
Product and Topic Expert
634

After building the custom ios client and when launching it in the simulator, the launch terminated with error -

NativeScript encountered a fatal error: Uncaught ReferenceError: MapDelegate is not defined

at

(file:///app/vendor.js:132164:38)

at ./node_modules/extension-MapFramework/Common/ControlDelegate.ios.ts(file:///app/vendor.js:132166:2)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./node_modules/extension-MapFramework/Map/MapManager.ios.ts(file:///app/vendor.js:132180:81)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./node_modules/extension-MapFramework/index.ios.ts(file:///app/vendor.js:132210:73)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./app/ExternalsDummy.ts(file:///app/bundle.js:2187:80)

at __webpack_require__(file:///app/runtime.js:23:42)

at ./app/app.ts(file:///app/bundle.js:91:73)

at __webpack_require__(file:///app/runtime.js:23:42)

at __webpack_exec__(file:///app/bundle.js:9146:39)

at (file:///app/bundle.js:9147:318)

at __webpack_require__.X(file:///app/runtime.js:102:21)

at (file:///app/bundle.js:9147:47)

at (file:///app/bundle.js:9152:3)

at require(:1:137)

', reason: '(null)'

*** First throw call stack:


Could you please help with identifying the issue and resolving it. bill.froelich wilson.velpula

View Entire Topic
subrahmanyam_pampana
Product and Topic Expert
Product and Topic Expert
0 Kudos

I am also getting the same error. below are my configurations

mac os version: 3.4 (22F66)

I am using below marked versions of mdk for SSAM

dependency installer showing everything is fine.

I noticed cocoapods installed in homebrew, so I tried uninstalling from homebrew and installed in /usr/local/bin/pod

I tried by removing the define keyword in the below file, then it worked, but that is not the solution I am looking for, because it is working perfectly fine in my colleague system without making this change.

file path: <myFolder>/SAM.mdkproject/extensions/extension-MapFramework/plugin/Plugin-MapFramework/Common/ControlDelegate.ios.ts


bill.froelich , jitendra.kansal Can you Please help me resolving this issue