Looks like a simple fix. You can do a simple test:
1. close Pd
2. Right click on the Pd .app & choose "Open package contents"
3. navigate to Contents/Resources/tcl
4. open pd_deken.tcl in a text editor
5. Find the line "for {set i 0} {True} {incr i} {" and change the "True" to "true"
6. save the file
7. run Pd