XCode与iOS如何匹配安装
iOS开发每次升级都是一次折磨!下面是mac上装的XCode与iphone设备的iOS系统对应的版本,如果不匹配会造成各种问题!
Xcode 12.2 → iOS 14.2
Xcode 12.1 → iOS 14.1
Xcode 12 → iOS 14
Xcode 11.7 → iOS 13.7
Xcode 11.6 → iOS 13.6
Xcode 11.5 → iOS 13.5
Xcode 11.4 → iOS 13.4
使用C#开发跨平台游戏
iOS开发每次升级都是一次折磨!下面是mac上装的XCode与iphone设备的iOS系统对应的版本,如果不匹配会造成各种问题!
Xcode 12.2 → iOS 14.2
Xcode 12.1 → iOS 14.1
Xcode 12 → iOS 14
Xcode 11.7 → iOS 13.7
Xcode 11.6 → iOS 13.6
Xcode 11.5 → iOS 13.5
Xcode 11.4 → iOS 13.4
Your app uses or references the following non-public APIs:
– LinkPresentation.framework
– QuickLookThumbnailing.framework
The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.
Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.
Next Steps
If you are using third-party libraries, please update to the most recent version of those libraries. If you do not have access to the libraries’ source, you may be able to search the compiled binary using the “strings” or “otool” command line tools. The “strings” tool can output a list of the methods that the library calls and “otool -ov” will output the Objective-C class structures and their defined methods. These tools can help you narrow down where the problematic code resides. You could also use the “nm” tool to verify if any third-party libraries are calling these APIs.
Visual Studio 2017 连接MacOS虚拟机日志文件位置
随着微软放弃Windows Phone,一大堆开发者弃坑!作为XNA的忠实用户,我有很多游戏是基于cocos2d-xna的WP7版本开发的,为了移植,本人对cocos2d-xna做了修改,使它能够运行于尽可能多的平台,而无需修改WP7游戏代码本身!并开源:https://github.com/chengcong/cocos2d-xna 目前支持iOS Android UWP 以及Windows桌面应用。
Nuget: https://www.nuget.org/packages/cocos2d-xna.Android
https://www.nuget.org/packages/cocos2d-xna.iOS
https://www.nuget.org/packages/cocos2d-xna.Desktop
https://www.nuget.org/packages/cocos2d-xna.UWP
Visual Studio 2017 开发Xamarin iOS,启动屏幕storyboard中使用Image View存在严重bug。设计视图修改Image View的Image图片,完全不起作用!
Apple开发工具官方安装包下载地址:需要登录开发者账号下载
git忽略版本控制文件.ignore
MonoGame在iOS平台使用this.graphics.PreferredBackBufferWidth,this.graphics.PreferredBackBufferHeight设置缓冲区大小方法是在Game构造函数中加入如下代码,设置以后屏幕的触控(点击)坐标X的最大值是800,触控(点击)坐标Y的最大值是480。
MonoGame 适配多种设备分辨率运行库。
Visual Studio打包iOS项目.ipa包如果出现:IPA file was not generated.Please check the project configuration错误,说明编译通过但生成ipa包出现问题。
如果Visual Studio连接MAC出现以下错误,
MonoGame在iOS平台如果想对URL或者HTML进行编码处理需要引用System.Net.dll。使用System.Net.WebUtility代替HttpUtility(iOS平台没有实现HttpUtility)。
iOS模拟器运行Accelerometer会出现异常,MonoGame版本3.5.1。所以模拟器调试程序需要判断是否支持重力感应,代码如下:
安装UWP应用程序包appxbundle方法如下:
MonoGame的Content.mgcb生成xnb文件存在问题,生成的xnb文件中文部分是乱码的!