Simple test case (source):
import wx app = wx.App(False) frame = wx.Frame(None, wx.ID_ANY, "Hello World") frame.Show(True) app.MainLoop()
Having installed wxwidgets 2.9 with brew (brew install wxmac), building an app with py2app will throw the following error when trying to run:
objc: Class wxNSAppController is implemented in both ./dist/[app].app/Contents/Frameworks/libwx_osx_cocoau_core-126.96.36.199.0.dylib and ./dist/[app].app/Contents/Frameworks/libwx_osx_cocoau_core-2.9.dylib. One of the two will be used. Which one is undefined. (...) [app](2428,0x7fff78376180) malloc: *** error for object 0x1049f3240: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6
This issue is not present in 0.6.4 and does not affect alias mode, using the current repo version.