google / j2objc

A Java to iOS Objective-C translation tool and runtime.
http://j2objc.org
Apache License 2.0
5.99k stars 963 forks source link

Undefined symbol OSAtomicDecrement32Barrier with ios6 and 0.9.1 #348

Closed glenne closed 10 years ago

glenne commented 10 years ago

After updating to 0.9.1 I am getting the error below on ios6 devices. ios7.1 seems to be OK. 0.9 does not have this problem on ios6.

dyld: lazy symbol binding failed: Symbol not found: _OSAtomicDecrement32Barrier
Referenced from: /var/mobile/Applications/4DB72772-BCA8-4381-90C4-72E77C87B96A/MViewer.app/MViewer
Expected in: /usr/lib/libSystem.B.dylib
galdolber commented 10 years ago

Here's the fix https://github.com/google/j2objc/pull/344

tomball commented 10 years ago

Fixed in 0.9.2.