The quickest solution will be compiling application with “-verbose -clean” switch and pipe output to text file. Next, manually edit cpp file, and manually run linking stage (should be one of the last entries in piped text file).
I forgot that edited cpp file should be recompiled also before linking.
Other option is to edit lime compile script not to recreate cpp files when running build (since You are using simulators etc, it may be easier to achieve than running manually all toolchain):
You could build te game, edit script to not update cpp files, rebuild script, edit file, rebuild game, and revert script to previous state.
if (!Reflect.hasField (metaFields.update, "ignore") && (command == "update")) {
then from folder lime/version/tools run
haxe tools.hxml
It will rebuild script. If You encounter errors, probably You need to install “lime-tools” and “format” libs with haxelib.
Then, if You are modifying App sources, run
openfl update $(Your_target) $(Your_flags)
This will regenerate cpp files.
Then, edit bad strings and run “test” or “build” commands.
Should be fine I think.
@Retard: lime-tools is old and deprecated, to rebuild, use lime rebuild tools with a development version of Lime installed
@aWaKeNiNG: This looks like an issue with Haxe UI, it needs a Context.resolvePath call in the macro, probably. This uses all of the available Haxe classpaths, rather than looking relative to the current working directory. The directory structure is different (due to Xcode) on iOS builds, so macros need to resolve using the Haxe classpaths
Thanks @Retard. Currently, i want to search the origin of the problem and fix it.
@singmajesty: Today i have found that the problem is produced here, in lime library. I have seen that the Build.hxml file containts the -cp ../../../../ lines.
In the line 103,
Input: sources = [,Source,assets,/Users/pablomartin/Documents/workspace/sdks/HaxeToolkit/haxe/lib/lime/git/legacy]
Output: [../../../../,../../../../Source,../../../../assets,/Users/pablomartin/Documents/workspace/sdks/HaxeToolkit/haxe/lib/lime/git/legacy]
The second argument of relocatePaths function is Export/ios/JardinElena/haxe.