[Vm-beginners] Objective C Test Failures

John McIntosh johnmci at smalltalkconsulting.com
Thu May 19 21:26:24 UTC 2011


UIApplication is an iOS class that does not exist on OS-x. The test
will run on iOS, bur not on OS-x. Check the docs to see what the
proper class to use on OS-x

On Thursday, May 19, 2011, Sean P. DeNigris <sean at clipperadams.com> wrote:
> 4 tests are failing due to the following error:
>
>         (ObjectiveCBridge classObjectForName: 'UIApplication') sharedApplication.
>
> #sharedApplication -> DNU. (The error seems to be in the primitive
> primitiveGetMethodSignatureForSelectoron:, which returns 0 as an external
> memory address).
>
> Steps taken so far:
> 1. I checked the Apple docs and everything seems correct.
> 2. I successfully evaluated the following in the same image as a sanity
> check:
>         bundle := ObjectiveCObject findClassName: 'NSBundle'.
>         aBundle := bundle bundleWithPath: '/Applications/Mail.app' asNSStringUTF8.
>         aBundle bundleIdentifier asString.
>
> What is going on here?
>
> Thanks.
> Sean
>
> --
> View this message in context: http://forum.world.st/Objective-C-Test-Failures-tp3536795p3536795.html
> Sent from the Smalltalk VM - Beginners mailing list archive at Nabble.com.
> _______________________________________________
> VM-beginners mailing list
> VM-beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners
>

-- 
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================


More information about the VM-beginners mailing list