Unity3D中BundleIdentifier、Bundle Version、Bundle Version Code的区别

Bundle Identifier

iOS、Android公用,字符串,一般格式为com.company.game,iOS里用于开发者证书
例:PlayerSettings.bundleIdentifier = “com.senlin.xuka”;

Bundle Version

iOS、Android公用,字符串,一般格式为1.2.3,用于显示给用户的版本信息。特别注意:如果iOS要提审AppStore,那么Bundle Version必须是3位,不可以4位,比如1.2.3.0这样是不行的
例:PlayerSettings.bundleVersion = “1.2.0”;

Bundle Version Code

Android 特有,数字,anroid版本的内部版本号,可用于区别当前版本是否最新apk,进而整包更新
例:PlayerSettings.Andcroid.bundleVersionCode = 120;

Build Number

iOS特有,意义同上

发布了198 篇原创文章 · 获赞 23 · 访问量 19万+

猜你喜欢

转载自blog.csdn.net/iningwei/article/details/104486598