0

I would like to know if it's possible to retrieve in my code different NSString declared in my Xcode scheme or project setting ... Would be useful if a client have to request some secret URL. He just have to modify the schemes or settings.

dyoo
  • 11,795
  • 1
  • 34
  • 44
Pierre
  • 10,593
  • 5
  • 50
  • 80

1 Answers1

0

What you want is environment variables. a preprocessor definition. You can set them in the preprocessor macros of the Xcode build settings.

Take a look here as well: Adding a Preprocessor Definition via a Xcode Scheme

Community
  • 1
  • 1
James Paolantonio
  • 2,194
  • 1
  • 15
  • 32