2016-10-19 2 views
0

Wir haben IOS App mit cordova.We Pushwooosh Plugin Push-Benachrichtigungen senden.Vor kurzem haben wir pushwoosh Plugin von Version 3.6.5 auf 6.2.2 (https://github.com/Pushwoosh/pushwoosh-phonegap-plugin) aktualisiert. Nach der Installation einer neuen Version können wir kein Projekt erstellen.Cordova Build fehlgeschlagen für iOS nach der Installation von Pushwoosh Benachrichtigungen Plugin

cordova plugin add [email protected] 

Nach der Installation

cordova build ios 

Wir erhalten folgenden Fehler

The following build commands failed: 
    CpResource www/plugins/com.pushwoosh.plugins.pushwoosh/www/PushNotification.js build/emulator/ITCPapyra.app/PushNotification.js 
(1 failure) 
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/apple/ITCPapyra/platforms/ios/cordova/build-debug.xcconfig,-project,ITCPapyra.xcodeproj,ARCHS=i386,-target,ITCPapyra,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/apple/ITCPapyra/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/apple/ITCPapyra/platforms/ios/build/sharedpch 
ERROR building one of the platforms: Error: /Users/apple/ITCPapyra/platforms/ios/cordova/build: Command failed with exit code 2 
You may not have the required environment or OS to build this project 
Error: /Users/apple/ITCPapyra/platforms/ios/cordova/build: Command failed with exit code 2 
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:139:23) 
    at emitTwo (events.js:87:13) 
    at ChildProcess.emit (events.js:172:7) 
    at maybeClose (internal/child_process.js:827:16) 
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 

Wir verwenden cordova Version 5.2.0, Knoten Version 4.4.7 .Please Hilfe, wie dieses Problem zu lösen und bauen unseren Projekterfolg auf.

+0

Welche Xcode-Version verwenden Sie zum Erstellen? – e666

+0

Wir verwenden Xcode 8.0 –

Antwort

0
You may not have the required environment or OS to build this project 

Welche Umgebung verwenden Sie?

+0

Wir verwenden Mac –

+0

Stellen Sie sicher, dass Sie XCode-Befehlszeilenprogramme installiert haben. – shader

Verwandte Themen