简体   繁体   中英

Visual Studio 2015 Apache Cordova - Build with ios-app in real device connected to PC

i'm tryng to build an ios app in a iPad connected to my PC. I haven't mac so i use a remote mac (i have a macincloud managed server). I have a paid developer apple account, I dowloaded ios_certificate and provisioning profile (and installed it in the registered-ipad). I launch remotebuild from mac terminal, the ios-configuration in tool>option of visual studio is ok and the connection is ok. I open my project in visual studio, set ios and local device, but when i try to compile the app i have an error, so i have some questions: 1)maybe i need a macincloud dedicated server? (i have a valid ios-developer-certificate but can't install it in xcode because i'm not administrator of tha remote mac). 2) i need to install visual studio in remote mac or it is enough have visual studio installed in my pc? 3)any other suggestions? PS If i compile the ios-app in a generic ios-simulator with remotebuild + f5 in visual studio it works fine.

But if i try to compile in local device i have the following error: Gravità Codice Descrizione Progetto File Riga Stato eliminazione Errore Error: Errore di compilazione remota restituito dal server di compilazione La compilazione non è riuscita. Errore: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/user134231/.taco_home/remote-builds/taco-remote/builds/53300/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-workspace,tennispiu.xcworkspace,-scheme,tennispiu,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,tennispiu.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/user134231/.taco_home/remote-builds/taco-remote/builds/53300/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/user134231/.taco_home/remote-builds/taco-remote/builds/53300/cordovaApp/platforms/ios/build/sharedpch: 1

Thank you if you would like to help me.

For ios target build you need to install xcode and other stuffs (remotebuild agent, npm..) on remote mac.

Please follow official TACO guide available here at paragraph "Mac OS Installation" , (its a bit long to post here):

Visual Studio Tools for Apache Cordova: iOS Guide

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM