问题描述:

I know that we can read data from plist to shell script & vice versa. But in my case I want to read a variable defined in shell script to my code.

For example

echo $ENVIRONMENT

echo ${#ENVIRONMENT}

if [ "${#ENVIRONMENT}" == 0 ]

then

{

export ENVIRONMENT="dev1"

}

fi

so my question is that can we read 'ENVIRONMENT' from Xcode (in iOS app)?

相关阅读:
Top