TMXTiledMap is showing blank/missing tiles in cocos2d-x 3.3

I create a simple tile map and it shows blank/black/missing tiles, It seems be able to render one fine but any subsequent tiles beyond the first image show as blank.

Here is the code for load the tile map:

auto map = TMXTiledMap::create("exampleTile.tmx");
addChild(map, 0, kTagTileMap);

Here is the example tile map xml code for example.tmx

    <?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" orientation="orthogonal" renderorder="right-down" width="3" height="3" tilewidth="32" tileheight="32" nextobjectid="1">
 <tileset firstgid="1" name="grass1" tilewidth="32" tileheight="32">
  <image source="grass1.png" width="32" height="32"/>
 </tileset>
 <tileset firstgid="2" name="water1" tilewidth="32" tileheight="32">
  <image source="water1.png" width="32" height="32"/>
 </tileset>
 <layer name="Tile Layer 1" width="3" height="3">
  <data>
   <tile gid="1"/>
   <tile gid="2"/>
   <tile gid="1"/>
   <tile gid="2"/>
   <tile gid="1"/>
   <tile gid="2"/>
   <tile gid="1"/>
   <tile gid="2"/>
   <tile gid="1"/>
  </data>
 </layer>
</map>

Here is a screen shot rendered in the Tiled program:

And here is how it shows on the simulator and device

The image should show green in the corners and the middle but you can see it shows black instead.

It’s not an issue with my image resources being added the bundle because I can change the tmx file load the other image ok.

Found the issue.

The tmx file has multiple tilesets per layer which is unsupported.
The Cocos2d-x version 2.x had asserts on this issue thus flagging the bug in the tmx file.
Version 3.x does not have these asserts. Instead it simply does not render it.