|
Robert Kovacic wrote:
> I have followed the tutorial documentation and entered the Personal Money
> application. After deploying the image and running the exe I get an error
> on the #updateAtIndex: method. I get the same error whether I select or
> unselect the "strip #deprecated methods" option during the deployment.
>
> However if I replace this deprecated method in the ListModel with the
> recommended #refreshAtIndex: the deployed exe works fine. Is it possible
> that the "strip #deprecated methods" option in the deployment wizard is
> being ignored?
Probably because #updateAtIndex: is in the "Dolphin MVP (Deprecated)" package,
and it is unlikely that you have an explicit "manual pre-requisite" set to tell
the image stripper that your application depends on that package.
Just about the first stage of image stripping is to remove all the packages
that are not needed by the application, and that will discard #updateAtIndex:.
In general the Dolphin automatic dependency tracking only follows class names
and the classes of objects in View resources, it does not (it can't) attempt to
deduce package dependencies from method sends. So, in this case, it will not
"realise" that your application package depends on "Dolphin MVP (Deprecated)".
You can tell Dolphin explicitly that there is a dependency that it doesn't know
about by setting a manual dependency as one of the "properties" of the package
(from the Package Browser).
-- chris
|