Skip to content

Commit

Permalink
Release 1.3.3
Browse files Browse the repository at this point in the history
1. Bugs fixed
2. 修改模拟器中可视化埋点连接方式
3. 修改接口,自动生成可视化埋点配置链接
  • Loading branch information
Yuhan ZOU committed Mar 11, 2016
1 parent e0bef7a commit a3623d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SensorsAnalyticsSDK/HelloSensorsAnalytics/DemoController.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ - (void)testTrackSignup {
- (void)testProfileSet {
SensorsAnalyticsSDK *sdk = [SensorsAnalyticsSDK sharedInstance];
if (sdk != nil) {
[sdk.people set:@"name" to:@"caojiang"];
[sdk.people set:@"name" withValue:@"caojiang"];
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@
"$(inherited)",
);
INFOPLIST_FILE = HelloSensorsAnalytics/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.sensorsdata.sdk.HelloSensorsAnalytics;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -600,7 +600,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
INFOPLIST_FILE = HelloSensorsAnalytics/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.sensorsdata.sdk.HelloSensorsAnalytics;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
4 changes: 2 additions & 2 deletions SensorsAnalyticsSDK/SensorsAnalyticsSDK/SensorsAnalyticsSDK.m
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ - (BOOL)assertPropertyTypes:(NSDictionary *)properties withEventType:(NSString *
}
NSUInteger objLength = [((NSString *)object) lengthOfBytesUsingEncoding:NSUnicodeStringEncoding];
if (objLength > 255) {
NSString * errMsg = [NSString stringWithFormat:@"%@ The value in NSString is too long. length %ld", self, objLength];
NSString * errMsg = [NSString stringWithFormat:@"%@ The value in NSString is too long.", self];
if (_debugMode != SensorsAnalyticsDebugOff) {
@throw [SensorsAnalyticsDebugException exceptionWithName:@"InvalidDataException"
reason:errMsg
Expand All @@ -584,7 +584,7 @@ - (BOOL)assertPropertyTypes:(NSDictionary *)properties withEventType:(NSString *
if ([properties[k] isKindOfClass:[NSString class]]) {
NSUInteger objLength = [((NSString *)properties[k]) lengthOfBytesUsingEncoding:NSUnicodeStringEncoding];
if (objLength > 255) {
NSString * errMsg = [NSString stringWithFormat:@"%@ The value in NSString is too long. length %ld", self, objLength];
NSString * errMsg = [NSString stringWithFormat:@"%@ The value in NSString is too long.", self];
if (_debugMode != SensorsAnalyticsDebugOff) {
@throw [SensorsAnalyticsDebugException exceptionWithName:@"InvalidDataException"
reason:errMsg
Expand Down

0 comments on commit a3623d4

Please sign in to comment.