Post

Replies

Boosts

Views

Activity

Detecting an Archive vs. Development build
I have a 3rd party library that requires a licensing key. I have two: I have a development key that will not work with IPAs and is used to build to a phone in development. And I have a Production key which will workonly from an IPA/Archive build but not directly on a phone. Is there a compiler directive that can tell me if I am building to an Archive/IPA or developmently to a phone? Currently I have resorted to creating separate project targets to achieve this task, but it is clumsy and inelegant (and prone to error). I am using XCode13 & Swift 5.5 Thanks-in-advance, Tom
1
0
555
Oct ’21