解决UE4编译项目后提示插件缺失问题

正在开发一个测试项目,没有使用C++,纯蓝图编写,使用了iTween插件,编辑器内运行没有问题,编译发布为可执行程序也能正常编译完成,但是运行可执行程序就会提示某某插件没有找到的提示(Plugin ‘iTween’ failed to load because module ‘iTween’ could not be found. Please ensure the plugin is properly installed, otherwise consider disabling the plugin for this project.).

而插件也确认在项目的Plugin目录下,为什么就提示找不到呢,经过搜寻才找到解决办法,即创建一个C++类,不用给这个类写任何代码,再次编译即可解决这个问题.

继续阅读

Flutter应用提交AppStore构建问题解决

上篇文已经成功将flutter运行在了iOS设备上,要提交AppStore,需要在Xcode中编译构建archive文件,而构建之前,需要使用终端在项目目录下执行 flutter build ios 命令后再构建archive文件,这时候可能会遇到2个问题(GeneratedPluginRegistrant Module ‘connectivity’ not found和error: The linked framework ‘Pods_Runner.framework’ is missing one or more
architectures required by this target: armv7. (in target ‘Runner’ from project
‘Runner’),如需要详细看到flutter build 等命令执行log,可以加-v参数,即 flutter -v build ios.

继续阅读

macOS上搭建Flutter环境并编译到iOS

需要测试一个基于Flutter编写的项目,于是走上了搭建Flutter环境之旅,虽然不难,但是首次搭建还是挺繁琐的.因为某些原因,我们访问Flutter会有些网络麻烦,可以把Flutter的镜像更新为中国开发者专用的,打开终端输入如下命令:

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

去官网下载一份Flutter最新的SDK包:https://flutter.dev/docs/development/tools/sdk/releases#macos

解压到一个固定目录,比如 ~/development 下,注:~代表当前登录用户文件夹.解压后完整目录如 ~/development/flutter.

继续阅读

UE4构建时出”System.ArgumentException: 已添加了具有相同键的项”错误的解决

构建UE项目时报相同键的错误,网上搜大多数的解决方案是删除Intermediate文件夹及更改”*.uproject”的名字.再就是搜索”*.Target”把“之前的工程名.cs” 、“之前的工程名.target”的文件删除后重新打包.

而我当前测试的项目是纯蓝图项目没有解决,反复测试后发现因为Plugin中的插件导致,进一步排查后发现是安装了不同版本的相同插件导致,如项目中有A_v1插件,引擎插件目录中有A_v2插件.解决方案是移除引擎插件目录下的同名插件.

UATHelper: Cooking (Windows (64-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults: Error: System.ArgumentException: 已添加了具有相同键的项(ERROR: An item with the same key has already been added.)。
UATHelper: Cooking (Windows (64-bit)): BUILD FAILED

删除重复的插件再重新编译即可,回见.

Unity提交AppStore因ASIdentifierManager被拒指南

App Store的应用有4个年龄分级,分别为4+、9+、12+和17+,年龄分级是指该应用(软件、游戏或者媒体内容等)允许面向的用户群的年龄,其中4+为4岁以上,9+为9岁以上,以此类推.
对于4+这个级别,Apple要求比较苛刻,下面这几条只有任何一点满足提交审核都会被拒,

• Does your app include third-party analytics? If so, please provide details about what data is collected for this purpose.
• Does your app include third-party advertising? If so, please provide a link to the ad network’s publicly-documented practices and policies for kids apps.
• Will the data be shared with any third parties? If so, for what purposes and where will this information be stored?
• Is your app collecting any user or device data for purposes beyond third-party analytics or third-party advertising? If so, please provide a complete and clear explanation of all planned uses of this data.

继续阅读