Can't initialize SX1268 lora module

You should not to change main.cpp to reassign your pins number. There are special configuration file for that - variant.h.

#define LORA_DIO0 26  // a No connect on the SX1262/SX1268 module
#define LORA_RESET 23 // RST for SX1276, and for SX1262/SX1268
#define LORA_DIO1 33  // IRQ for SX1262/SX1268
#define LORA_DIO2 32  // BUSY for SX1262/SX1268

And not forget to use this initialization:

#define USE_SX1268

You could use variant.h from the DIY project as starting point in your project.

There is also platformio.ini with building flags, such as -D EBYTE_E22 for using with the power 30S EBYTE modules.