Juce Demo - NSConcreteValue autoreleased with no pool in pla

Trying to build the Juce demo from the tip for the iPhone. (Xcode 3.2.3 iOS SDK 4.0.1) …

I’m getting these “Object of class NSConcreteValue autoreleased with no pool in place - just leaking” errors and the app won’t launch in the simulator. The errors are similar using the 3.2 and 4 SDKs (see below). Other apps are fine using the same version of Juce.

4 SDK

[Session started at 2010-07-21 22:04:19 +0100.] JUCE v1.52.43 2010-07-21 22:04:20.311 JuceDemo[28127:40b] *** __NSAutoreleaseNoPool(): Object 0x6501f60 of class NSConcreteValue autoreleased with no pool in place - just leaking 2010-07-21 22:04:20.314 JuceDemo[28127:40b] *** __NSAutoreleaseNoPool(): Object 0x6214730 of class NSConcreteValue autoreleased with no pool in place - just leaking 2010-07-21 22:04:20.314 JuceDemo[28127:40b] *** __NSAutoreleaseNoPool(): Object 0x6214b70 of class NSConcreteValue autoreleased with no pool in place - just leaking 2010-07-21 22:04:20.345 JuceDemo[28127:40b] *** __NSAutoreleaseNoPool(): Object 0x6219ff0 of class __NSCFData autoreleased with no pool in place - just leaking

3.2 SDK

[Session started at 2010-07-21 22:36:52 +0100.] JUCE v1.52.43 2010-07-21 22:37:02.306 JuceDemo[28295:40b] *** _NSAutoreleaseNoPool(): Object 0x5214d60 of class NSConcreteValue autoreleased with no pool in place - just leaking Stack: (0x2b7f71f 0x2bb7602 0x2b0a5c6 0x31a7f4f 0x31a7001 0x31a62e3 0x31a61c5 0x31a611d 0x8f783e 0x8f2883 0x8f34dc 0x2c44b5 0x2c3759 0x2c3caa 0x22a157 0x24f2f4 0x24f5c2 0x257e4b 0x8bbf 0x7abc 0x793f 0x77de) 2010-07-21 22:37:02.311 JuceDemo[28295:40b] *** _NSAutoreleaseNoPool(): Object 0x5215530 of class NSConcreteValue autoreleased with no pool in place - just leaking Stack: (0x2b7f71f 0x2bb7602 0x2b0aac6 0x31a7edd 0x31a7001 0x31a62e3 0x31a61c5 0x31a611d 0x8f783e 0x8f2883 0x8f34dc 0x2c44b5 0x2c3759 0x2c3caa 0x22a157 0x24f2f4 0x24f5c2 0x257e4b 0x8bbf 0x7abc 0x793f 0x77de) 2010-07-21 22:37:02.312 JuceDemo[28295:40b] *** _NSAutoreleaseNoPool(): Object 0x5216350 of class NSConcreteValue autoreleased with no pool in place - just leaking Stack: (0x2b7f71f 0x2bb7602 0x2b0ace6 0x31a7fa3 0x31a7001 0x31a62e3 0x31a61c5 0x31a611d 0x8f783e 0x8f2883 0x8f34dc 0x2c44b5 0x2c3759 0x2c3caa 0x22a157 0x24f2f4 0x24f5c2 0x257e4b 0x8bbf 0x7abc 0x793f 0x77de)

Thanks Martin, I need to do a few tricks to get that working - will check something in in the next day or two.