Skip to content

Problems debugging in ios side #5333

Description

@DurankGts

checking your blog https://www.codenameone.com/blog/developer-workflow-debug-and-junit/
I was trying to debug in my real device ios but this error appear in maven

myProjectName\common>mvn cn1:ios-on-device-debugging
[INFO] Scanning for projects...
[INFO]
[INFO] --------------< com.geotracksolutionsint:forcesos-common >--------------
[INFO] Building forcesos-common 4.08
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- codenameone-maven-plugin:7.0.255:ios-on-device-debugging (default-cli) @ forcesos-common ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.235 s
[INFO] Finished at: 2026-07-03T13:45:10-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.codenameone:codenameone-maven-plugin:7.0.255:ios-on-device-debugging (default-cli) on project forcesos-common: No cn1-symbols.txt found under myProjectName\common\target. The translator only emits it when -Dcodename1.arg.ios.onDeviceDebug=true is set. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

D:\data_kdp\programs\CodenameOne\ws_codenameone\mvn_projects\ForceSOS_central_mvn\common>

I have configure in may

codenameone_settings.properties

I tested with this
codename1.ios.onDeviceDebug=true
codename1.arg.ios.onDeviceDebug.proxyHost=xx.xx.xx.xx
codename1.arg.ios.onDeviceDebug.proxyPort=55333
codename1.arg.ios.onDeviceDebug.waitForAttach=true

and this
ios.onDeviceDebug=true
ios.onDeviceDebug.proxyHost=xx.xx.xx.xx
onDeviceDebug.proxyPort=55333
onDeviceDebug.waitForAttach=true

the same error occure.

Some missing file debuggin to real device in ios?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions