Skip to content

Commit dfc0625

Browse files
committed
CCPackageHelper returning a default value instead of nothing to prevent a crash in the cocos2d-test-ios project.
Hopefully this can be solved to get the platform defines set correctly soon.
1 parent 5bfc94c commit dfc0625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCPackageHelper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ + (NSString *)currentOS
1515
return @"Android";
1616

1717
#endif
18-
return nil;
18+
return @"iOS";
1919
}
2020

2121
@end

0 commit comments

Comments
 (0)