[TIMOB-27612] iOS: Not able to debug Swift module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2019-12-03T15:32:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | engSchedule |
Reporter | Nazmus Salahin |
Assignee | Jan Vennemann |
Created | 2019-11-19T04:15:43.000+0000 |
Updated | 2019-12-03T15:32:52.000+0000 |
Description
The customer is developing a swift module for MSAL library integration for Intune appProxy feature.
And following the steps provided in the guide to debugging the native swift module - http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Module_Project
But when we run the app crash. with error
Error {
column = 10;
line = 11677;
message = "Couldn't find module: ./app for architecture: arm64";
sourceURL = "file:///var/containers/Bundle/Application/D7D0A00A-9EA3-47C6-8B3E-581101C7A357/TestSSOIntune.app/ti.main.js";
stack = " at require@[native code]\n at (/ti.main.js:11677:10)\n at loadAsync(/ti.main.js:11603:13)\n at global code(/ti.main.js:11674:10)";
toJSON = "<KrollCallback: 0x281327dc0>";
}
Attached the module project for debugging.
Attachments
File | Date | Size |
---|---|---|
LibIntuneMSAL.zip | 2019-11-19T04:14:38.000+0000 | 10426335 |
You maybe running into TIMOB-26807. Running the Xcode project out of the box is currently broken. However, there is a workaround described in TIMOB-26807. You just need to follow these two steps: * Make sure to build the app for device. * Open the generated Xcode project and add a new "Run Script" build phase with the following content to your target:
[~jvennemann] Can you look into this and give a resolution to client? Thanks.
I would, if i knew what their issue is? We already guided them how to setup the module so it will receive app delegate messages. So, what's the problem with the above code? Please note that the linked .zip files does not contain the app delegate code. If you can provide me with updated module code and an actual issue description i'd be happy to help.