-
新增环境
1
-
自定义字段
2g
-
在info.plist配置配置customkey
3
NSString *customKey = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CodePushDeploymentKey"];
4.配置PReprocessor Macros
4
#if DEBUG
NSString *state = @"1";
#elif RELEASE
NSString *state = @"2";
#elif DEBUGTEST
NSString *state = @"3";
#else
NSString *state = @"4";
#endif
5.记得要pod install下










网友评论