AvdLee / RocketSimApp

Enhancing the iOS simulator for productivity
566 stars 20 forks source link

Favour #if targetEnvironment(simulator) over #if DEBUG #536

Closed tpa-ios-ci closed 4 days ago

tpa-ios-ci commented 4 days ago

Hi Antoine,

Is there a reason the code from the "Copy code" button of the Rocketsim Connect feature, contains an #if DEBUG instead of #if targetEnvironment(simulator)? Debug builds on real devices should and can never access the Rocketsim.app right?

Cheers!

tpa-ios-ci commented 4 days ago

@AvdLee could you delete this ticket? I accidentally posted it with the wrong account.