随笔分类 - ios - mac
摘要:由于开发的时候老是记不住各个设备屏幕尺寸对应的像素,特此在苹果开发者文档上将这些记录了下来,方便查阅. iPhone8 5.8-inch: 2436×1125 iPhone5 5.5-inch: 2208 x 1242 iPad (9.7): 2048x1536 iPad (12.9): 2732x2...
阅读全文
摘要:using UnityEngine; using System.Collections; using System.Runtime.InteropServices; public class ComManager { [DllImport("__Internal")] // ios手机的当前语言...
阅读全文
摘要:#if UNITY_IPHONE || UNITY_EDITOR const string APP_ID = "564457517"; var url = string.Format( "itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Pur...
阅读全文
摘要:因苹果规定 .cer证书只能存在于一台机器上,因此 如果另一台电脑想要用的话,需要导出为.p12 file ,安装到另一台电脑 把原来的同名.cer文件证书从keychain access工具中删掉,关闭keychain access工具,然后双击打开.p12文件! Ref: http://blog.sina.com.cn/s/blog_65c178a80102v985.html
阅读全文
摘要:To use the in-tree debug server on macOS, lldb needs to be code signed. TheDebug, DebugClang and Release builds are set to code sign using a code sign
阅读全文
摘要:Select the top level node called Unity-iPhone in the left tree view (the one with the blue item). Select Automatically manage signingSelect your team
阅读全文
摘要:Build application in Unity 2017.20f3 用Unity2017/2018编译iPhone版本出现以下错误: ETC1(or DXT1) compressed textures are not supported when publishing to iPhone Pa
阅读全文
摘要:解决办法:登录Apple开发证书后台,把发布版证书.cer文件下载到本地,双击安装即可。若还没有设置发布证书文件,则创建一个后下载。 Ref: https://blog.csdn.net/dingqk/article/details/79007072
阅读全文
摘要:1、XCode项目中创建一个.strings 扩展名的文件:打开File > New > File,选择Resource中Strings Fils,如图:点击下一步,为文件命名为(强烈建议这样命名) InfoPlist.strings ,然后点击save。 2、创建完成后,你可以看到工程目录结构文件
阅读全文
摘要:苹果电脑(Mac mini或Macbook或iMac)恢复出厂设置,首先要做好如下的准备: 第一:数据的备份;第二:保证正常的wifi连接;第三:有线的鼠标键盘连接; 具体恢复操作步骤: 步骤一:电脑启动时,按下键盘组合键(option + command + R,或alt + command +
阅读全文
摘要:Xcode 9.4.1 https://download.developer.apple.com/Developer_Tools/Xcode_9.4.1/Xcode_9.4.1.xip Xcode 9.4 https://download.developer.apple.com/Developer_
阅读全文