我最近从 VS2015 升级到 VS2017,现在无法为 iOS 构建我的 Ionic Cordova 项目。
我可以很好地为 Android 构建。
我复制了iOS远程构建设置(并检查了它在我的Mac上运行的服务器等)但是当我尝试构建时,我收到以下错误:
1>------ Build started: Project: PROJECTNAME, Configuration: Debug iOS ------
Cordova 6.3.1
------ Platform ios already exists
____ _ _ _ _ _
| _ \ ___ _ __ ___ ___ | |_ ___| |__ _ _(_) | __| |
| |_) / _ \ '_ ` _ \ / _ \| __/ _ \ '_ \| | | | | |/ _` |
| _ < __/ | | | | | (_) | || __/ |_) | |_| | | | (_| |
|_| \_\___|_| |_| |_|\___/ \__\___|_.__/ \__,_|_|_|\__,_|
-----------------------------------------------------------------------------
Sending the build to the remote build server
-----------------------------------------------------------------------------
------ Incremental Build: False
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018: The "VsTac" task failed unexpectedly.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.MDA.FileMirroring.targets(256,5): error MSB4018: at System.IO.PathHelper.GetFullPathName()
我已经在没有运行远程构建代理的情况下对此进行了测试,但它仍然失败,所以我怀疑这与我的 Windows 机器有关。但是,由于 Android 构建良好,我不确定。
我不确定从这里尝试什么;不知道如何进一步调试。
有任何想法吗?