Unity Vuforia项目打包XCode出现Failed to Copy File Directory from。。。/VuforiaPluginLoader.mm'
2018-03-30 15:27
771 查看
首先我用的是Unity2017.2.1p4Pro
问题如下:
Error building Player: IOException: Failed to Copy File / Directory from 'D:/UnityEditor3p4/Editor/Unity.exe\..\PlaybackEngines\VuforiaSupport\iOS/VuforiaPluginLoader.mm' to 'C:/Users/Administrator/Desktop/IOS3\Classes/VuforiaPluginLoader.mm'.
才知道什么叫着急换了Unity2017.3.1.p4Pro版本也不可以。后来创建了一个空场景按照原来的设置还是出错。这就有很大的可能出现在了项目设置上。巧合的是我项目中同样使用了GoogleVR,为什么打包就只有Vuforia的出错了。
所以我把目光放到了XRSetting(VRSetting)上,我的一开始设置是这样子的:
我的问题就在这里Virtual Reality SDKs,我将Vuforia这个删除之后成功打包。 但是项目中又得使用,所以更改成这个样子:
也就是将Virtual Reality SDKs中的VuforiaSDK去掉直接使用Unity提供的Virtual Augmnted Reality Supp
这样之后我终于打包成功了。具体的问题我也不知道为什么不能那样子做,但是解决之后是好的。
可能无法适用所有此类问题。
问题如下:
Error building Player: IOException: Failed to Copy File / Directory from 'D:/UnityEditor3p4/Editor/Unity.exe\..\PlaybackEngines\VuforiaSupport\iOS/VuforiaPluginLoader.mm' to 'C:/Users/Administrator/Desktop/IOS3\Classes/VuforiaPluginLoader.mm'.
才知道什么叫着急换了Unity2017.3.1.p4Pro版本也不可以。后来创建了一个空场景按照原来的设置还是出错。这就有很大的可能出现在了项目设置上。巧合的是我项目中同样使用了GoogleVR,为什么打包就只有Vuforia的出错了。
所以我把目光放到了XRSetting(VRSetting)上,我的一开始设置是这样子的:
我的问题就在这里Virtual Reality SDKs,我将Vuforia这个删除之后成功打包。 但是项目中又得使用,所以更改成这个样子:
也就是将Virtual Reality SDKs中的VuforiaSDK去掉直接使用Unity提供的Virtual Augmnted Reality Supp
这样之后我终于打包成功了。具体的问题我也不知道为什么不能那样子做,但是解决之后是好的。
可能无法适用所有此类问题。
相关文章推荐
- Eclipse使用Git导入项目时可能出现的错误【A .project file already exists in directory】解决办法
- Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- 94.You plan to move data from a flat file to a table in your database. You decide to use SQL*Loader
- IAR调试出现the stack plug-in failed to set a breakpoint on "main"
- 【COCOS2DX-LUA 脚本开发之十三】解决lua项目编译Android出现get data from file failed、Cocos2dxActivity cannot be 路径等问题
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- Warning: require(D:\wamp\www\glink-smart\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\wamp\www\glink-smart\bootstrap\autoload.php on line 1
- 关于打开Eclipse时出现eclipse failed to create the java virtual machine与locking is not possible in the directory问题的解决
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- SDK运行Android项目是出现Installation failed due to invalid APK file!解决方法
- IAR调试cc2540 时 出现The stack plug-in failed to set a breakpoint on "main". 解决方法
- 在把jQuery的ajax例子放在AppServ上运行时出错,failed to open stream: No such file or directory in Unknown on line 0
- Android studio 导入项目出现:Failed to crunch file
- myEclipse中改了项目名,出现的问题 和 错误java.io.IOException: tmpFile.renameTo(classFile) failed
- Mac上打开android项目出现的Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- xcode更新到5.1,"Cast from pointer to smaller type 'int' loses information” in EAGLView.mm
- Android studio 导入项目出现:Failed to crunch file