Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #2085

Mobile projects are missing the TargetMobile conditional-compilation symbol

Status
Fixed
Fixed in
v26.11.5
Area
compiler ide
Source discussion
https://forum.objo.dev/d/1604-missing-target-symbol-for-mobile-app
Last updated
2026-11-17

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

Mobile projects do not offer or recognise the TargetMobile conditional-compilation symbol. Typing @If Tar offers the other project and operating-system symbols but no Mobile symbol, and entering TargetMobile manually produces an unknown-symbol error.

Mobile projects can also select code guarded by TargetCommandLine, even though they are not Command Line projects. This prevents shared code from reliably choosing Mobile-specific declarations and APIs.

Mobile compilations should expose TargetMobile = True and all other project-type target symbols as False. Non-Mobile compilations should recognise TargetMobile and evaluate it as False. Completion and formatting should expose the same symbol consistently.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.