2017-05-12 8 views
0

remoteserverを使用してMacでiOS用のビジュアルスタジオ2017からコードバスアプリを作成しようとすると、ビルドが失敗し、失敗の理由はありません。VS2017 cordovaエラーコードなしでiOSビルドに失敗する

Visual Studio Tools for Apache Cordova: iOS Guideの手順に従って、非セキュアモードのremoteserverを使用してビルドを行います。

remoteserver、jnodeおよびxcodeがMacで更新されました。 VS2015から同様の設定で同じアプリケーションが以前に構築されました。

VS出力ウィンドウ内の最後のいくつかのエントリは次のとおりです。

taco-remote-multiplexer downloaded and installed. 
Error: ENOENT: no such file or directory, open '/Users/ccs/.taco_home/node_modules/taco-remote-multiplexer/latest/node_modules/taco-remote-multiplexer/tacoRemoteMultiplexer.js' 
Build will be executed under: /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600 
Saving build request payload to : /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600 
Saved uploaded build to /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600/upload_600.tgz 
POST /cordova/build/tasks?command=build&vcordova=6.3.1&cfg=release&options=--device 202 1348.564 ms - 629 
GET /cordova/build/tasks/600 200 0.970 ms - 629 
Extracted app contents from uploaded build request to /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600/cordovaApp. Requesting build. 
Taking 600 as current build 
GET /cordova/build/tasks/600 200 1.428 ms - 687 
Done with current build. Checking for next build in queue. 

this discussionに基づいて、ENOENTエラーがあると表示されません。

Wrote out iOS Bundle Identifier "com.bytebloc.sked" and iOS Bundle Version "2.1" to /Users/ccs/.taco_home/remote-builds/taco-remote/builds/600/cordovaApp/platforms/ios/#TestApp#/#TestApp#-Info.plist 
Set TARGETED_DEVICE_FAMILY to "1,2". 
iOS Product Name has not changed (still "#TestApp#") 
Updating icons at platforms/ios/#TestApp#/Images.xcassets/AppIcon.appiconset/ 
Updating splash screens at platforms/ios/#TestApp#/Images.xcassets/LaunchImage.launchimage/ 
Prepared iOS project successfully 
Executing script found in config.xml for hook "after_prepare": hooks/xcode8.js 
Checking config.xml for saved plugins that haven't been added to the project 
Saving [email protected] into platforms.json 
No scripts found for hook "after_platform_add". 
Failed to build app for buildNumber 600: 

のRemoteServerウィンドウには、次のエントリを示してい問題の原因

また、/ cordovaApp/platforms/ios/buildディレクトリからMac上で直接build.xcconfigを実行すると、アプリケーションがコンパイルされて正常にビルドされます。

何が問題なのですか?

ウィンドウの最新バージョンをインストールします:

答えて

0

はちょうどそれがすることが重要であると主張したかった。NPMプラットフォーム]タブでは、config.xmlの上(コルドバ7.0.0を使用するには、-gコルドバ のconfigure VSをインストールします場合はそれを見ないでください、ちょうど7.0.0にtaco.jsonを変更してください) 最新のコードバをMacにインストールする:npm install -g cordova ios-deployの最新バージョン:npm ios-deployをインストールします フォルダを削除〜 /taco-home/node_modules/ 最新のremotebuildをmacにインストールします:npm install remotebuild(2.1.3である必要があります)。

+0

まだ動作しません。ただし、エラーが変更されました。 VSレポート:Remotebuildでは、Xcode 8.3でcordova-ios 4.3.0以降を使用する必要があります。 cordova-iosのバージョンを更新してください。 – HashPsi

+0

WindowsおよびVisual Studioでのコードバーの変更(config.xmlのcordovaへの変更)7.0.1 –

0

私のMacでcordovaを更新すると私の問題が解決しました。

+0

コードバー内のコードバーとiosの両方を更新する:https://stackoverflow.com/questions/44321757/how-to-update-cordova -ios-version-in-visual-studio-2015-cordova-project –

関連する問題