2

Ich versuche, eine IPA von meinem cordova-ionischen Projekt mit Visual Studio 2015 zu erstellen. Ich kann das Projekt auf einem iOS-Simulator mit RemoteBuild ausführen.Bereitstellungsprofil wird nicht akzeptiert?

Ich habe die Schritten here gefolgt und ein Provisioning-Profil erstellt (meinen kostenlosen Apple ID verwenden). Ich bin in einer schwierigen Situation und das iOS-Gerät, auf dem ich das Projekt ausführen möchte, befindet sich in einem anderen Land.

Ich schaffe das Provisioning-Profil auf dem Mac meines Freundes mit dem iOS-Gerät angeschlossen. Ich logge mich dann in eine El Capitan VM auf meinem Rechner ein und benutze das Bereitstellungsprofil, das auf dem Mac meines Freundes erstellt wurde, um einen IPA zu erstellen. Ich folge, was beschrieben wird here und das Projekt auf Visual Studio mit Debug-und Remote-Gerät oder lokales Gerät ausgeführt.

ich die folgende Fehlermeldung erhalten:

Error: Remote build error from the build server Build failed with error Error code 65 for command: 
xcodebuild with args: -xcconfig,/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-project,BookYourTutor.xcodeproj,ARCHS=armv7 arm64,-target,BookYourTutor,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/sharedpch - 1 BookYourTutor  1 

am Ausgang von Build Sehen, gegen Ende, ich sehe:

Libtool /Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/device/libCordova.a normal armv7 
cd /Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/CordovaLib 
export IPHONEOS_DEPLOYMENT_TARGET=8.0 
export PATH="/Users/noyolk/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Users/noyolk/Downloads/Xcode-beta.app/Contents/Developer/usr/bin:/Users/noyolk/.taco_home/node_modules/taco-remote-lib/2.2.1/node_modules/taco-remote-lib/node_modules/ios-sim/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" 
/Users/noyolk/Downloads/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Users/noyolk/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk -L/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/device -filelist /Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/device/libCordova.a 

=== BUILD TARGET BookYourTutor OF PROJECT BookYourTutor WITH CONFIGURATION Debug === 
Check dependencies 
Signing for "BookYourTutor" requires a development team. Select a development team in the project editor. 
Code signing is required for product type 'Application' in SDK 'iOS 10.0' 

** BUILD FAILED ** 
The following build commands failed: 
Check dependencies 
(1 failure) 
Failed to build app for buildNumber 708: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-project,BookYourTutor.xcodeproj,ARCHS=armv7 arm64,-target,BookYourTutor,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/sharedpch 
MSBUILD : cordova-build error : Error: Remote build error from the build server Build failed with error Error code 65 for command: xcodebuild with args: -xcconfig,/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-project,BookYourTutor.xcodeproj,ARCHS=armv7 arm64,-target,BookYourTutor,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/sharedpch - 1 
Error Remote build error from the build server Build failed with error Error code 65 for command: xcodebuild with args: -xcconfig,/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-project,BookYourTutor.xcodeproj,ARCHS=armv7 arm64,-target,BookYourTutor,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/noyolk/.taco_home/remote-builds/taco-remote/builds/708/cordovaApp/platforms/ios/build/sharedpch - {1} 
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 
========== Deploy: 0 succeeded, 0 failed, 0 skipped ========== 

Mit dem, was ich glaube, das wichtigste Bit ist, zu sein

=== BUILD TARGET BookYourTutor OF PROJECT BookYourTutor WITH CONFIGURATION Debug === 
Check dependencies 
Signing for "BookYourTutor" requires a development team. Select a development team in the project editor. 
Code signing is required for product type 'Application' in SDK 'iOS 10.0' 
** BUILD FAILED ** 

Ich habe Probleme zu verstehen, was genau das bedeutet oder wie ich es beheben sollte. Für den Kontext verwende ich xcode 8 beta 4 auf meinem El Capitan VM.

Ich habe versucht, für diesen ‚Fehlercode 65‘ und die Fehlermeldung ‚Die Anmeldung für XXX Suche um erfordert ein Entwicklungsteam. Wählen Sie im Projekteditor ein Entwicklungsteam aus. aber ich hatte nicht viel Glück.

Jede Hilfe wird sehr geschätzt.

+0

Haben Sie in den Projekten -> Ziele -> Allgemein ein Entwicklerkonto hinzugefügt? –

+0

hatte keine Chance, es zu versuchen, fürchte ich. Ich habe auf xcode 7 heruntergestuft und das Problem ging weg – smellyfish

Antwort

0

Downgrading zu Xcode 7 von Xcode 8 Beta 4 scheint dieses Problem gelöst zu haben.

0

Es gibt eine Änderung aufgrund der Veröffentlichung von iOS 10.

Referenz https://dpogue.ca/articles/cordova-xcode8.html für dieses Problem zu umgehen.

+0

Ich habe genau das gleiche Problem, und ich folgte den Anweisungen in der dpogue Artikel, und es hat überhaupt nicht geholfen. Ich verwende die Release-Version von xcode (8.0) – emaia

+0

Siehe meine Antwort unten –

0

Ich musste tatsächlich einige Versuche und Fehler machen. Der obige Link half sehr, aber die Probleme waren immer noch mit dem, was Apple für XCode 8 brauchte, um die Build-Anfrage zu akzeptieren. Meine Einstellungen in build.json sind ähnlich wie diese:

"ios": { 
    "debug": { 
    "developmentTeam": "[my team id]", 
    "provisioningProfile: "[my provisioning profile]" 
    }, 
    "release": { 
    "developmentTeam": "[my team id]", 
    "provisioningProfile: "[my provisioning profile]" 
    } 
} 
} 

Ihre developmentTeam zu erhalten, melden Sie sich bei developer.apple.com, klicken Sie auf Mitgliedschaft, und Sie werden Ihre TEAM-ID sehen. Setze das als EntwicklerTeam ein.

Für die provisioningProfile, offene XCode -> Einstellungen, klicken Sie auf Ihr Profil, Details. Klicken Sie auf Ihr Bereitstellungsprofil, klicken Sie mit der rechten Maustaste und im Finder anzeigen. Ihr Bereitstellungsprofil ist der vollständige Dateiname ohne die Dateierweiterung .mobileprovision. Speichern Sie build.json, erstellen Sie Ihr Projekt neu, und Sie sollten gut gehen.

Verwandte Themen