Ss pin for arduino nano 33 iot

Yes i dont know what is happening , upload the same code but compiled for NANO and works but same code compiled for IOT and nothing ...