is neverStripDebugInfo flag available on enterprise?

As the title says, is neverStripDebugInfo flag available on enterprise? if so, how can i enable it?

For Xcode, ANT, Android Studio or all of the above?

Thanks

Rob

Sorry @Rob. Xcode. Could i generate a development .app, put it inside the payload inside an .ipa and resign it with a production certificate? We need the debug info so our runtime error system reports the correct stack traces, including filenames and variable names to our analytics platform.

Normally, the compiled Lua code is stripped for release builds and not stripped for debug builds so all that needs to be done is to force “debug” builds for the Lua code to get what you want.

In your Xcode project, find the Build Rule for *.lua.  In the script there’s a line that looks like:

"$CORONA\_MAC\_BIN\_DIR/lua2c.sh" "$INPUT\_FILE\_PATH" "$TARGET\_TEMP\_DIR" "$CONFIGURATION" "$CORONA\_MAC\_BIN\_DIR"

and change  $CONFIGURATION to DEBUG and you’ll always get unstripped Lua object code.

For Xcode, ANT, Android Studio or all of the above?

Thanks

Rob

Sorry @Rob. Xcode. Could i generate a development .app, put it inside the payload inside an .ipa and resign it with a production certificate? We need the debug info so our runtime error system reports the correct stack traces, including filenames and variable names to our analytics platform.

Normally, the compiled Lua code is stripped for release builds and not stripped for debug builds so all that needs to be done is to force “debug” builds for the Lua code to get what you want.

In your Xcode project, find the Build Rule for *.lua.  In the script there’s a line that looks like:

"$CORONA\_MAC\_BIN\_DIR/lua2c.sh" "$INPUT\_FILE\_PATH" "$TARGET\_TEMP\_DIR" "$CONFIGURATION" "$CORONA\_MAC\_BIN\_DIR"

and change  $CONFIGURATION to DEBUG and you’ll always get unstripped Lua object code.