3

我已将我的项目导入 Bitbucket,并尝试为其设置 Unity 云构建。一切似乎都很好,云尝试为iOS目标编译项目,但没有成功。

这是日志的一部分:

37284: [Unity] Ignoring 'Assets/UnityCloud/Scripts/Editor/UnityEditor.CloudBuild.dll' because we're compiling for iOSSupport 37285: [Unity] Plugin 'libeveryplay.so' is used from several locations: 37286: [Unity] Assets/Plugins/Everyplay/AndroidDynamicLibraries/armeabi-v7a/libeveryplay.so would be copied to /libeveryplay.so 37287: [Unity] Assets/Plugins/Everyplay/AndroidDynamicLibraries/x86/libeveryplay.so would be copied to /libeveryplay.so 37288: [Unity] Please fix plugin settings and try again. 37289: [Unity] UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) 37290: [Unity] UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])

字符串 37285 和 37288 为红色,无法编译项目。文件libeveryplay.so仅在项目中标记为 android,但是,据我了解,云尝试将两者都包含在内,并且编译失败。

4

1 回答 1

1

I had the same issue and it turned out to be caused by a .meta file not being synced correctly with the version in our repository. The local file looked fine, but the file in the repository (the one UCB downloads) did not have the correct plugin importer settings, resulting in the same error you got.

  1. Make sure Import Settings are set to Android only for both files
  2. Push to repository (make sure files are modified)
  3. Build

enter image description here enter image description here

于 2017-04-28T14:50:30.833 回答