In my ios app, I'm trying to distinguish environments, to make web api calls to the proper environment (Development
, Staging
and Production
).
For that I have created a configuration.plist
file with the different endpoints for each environment and:
- Duplicated the
Debug
Configuration and called itDevelopment Build
. - Created a new Scheme called
Development
(duplicated theDebug
scheme) and in the Info tab (Run
section) chose theDevelopment Build
configuration.
When I run in Debug mode, everything runs normally.
I'm using cocoa pods.
If I select Development
scheme, I get a No such module 'JazzHands'
If I edit the Development
scheme to use the Debug
build, it works fine.
So I must be missing some thing for this not to work.