If Pickit 4 is your only option for programming then do this:

1. Use MCS to write your program and produce hex
2. Run MPLAB IPE (not IDE) to connect to Pickit 4
3. Program your PIC through the IPE

That's all. And use whatever IPE version you want. Just be sure to use MPLBX 5.35 to use PBP compiler.

Ioannis