2016-04-06 5 views
1

моих ионных построить ИОС терпит неудачу после того, как я установить PhoneGap плагин:Ионных построить ИОС сбой после установки Cordova толчок плагина

it gives me this error 

The following build commands failed: 
    CompileC build/example.build/Debug-iphonesimulator/example.build/Objects-normal/i386/PushPlugin.o example/Plugins/com.phonegap.plugins.PushPlugin/PushPlugin.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler 
(1 failure) 
ERROR building one of the platforms: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/wangeltamang/Documents/est_ionic/platforms/ios/cordova/build-debug.xcconfig,-project,example.xcodeproj,ARCHS=i386,-target,example,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/wangeltamang/Documents/est_ionic/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/wangeltamang/Documents/est_ionic/platforms/ios/build/sharedpch 
You may not have the required environment or OS to build this project 

что делает требуемое окружение не хватает? У меня есть обновленный xcode и версии cli

Cordova CLI: 6.0.0 
Gulp version: CLI version 3.9.1 
Gulp local: Local version 3.9.1 
Ionic Version: 1.2.4 
Ionic CLI Version: 1.7.14 
Ionic App Lib Version: 0.7.0 
ios-deploy version: Not installed 
ios-sim version: 5.0.6 
OS: Mac OS X El Capitan 
Node Version: v5.9.0 
Xcode version: Xcode 7.2.1 Build version 7C1002 
+0

Вы пытались удалить платформу/добавить платформу? ref: https://forum.ionicframework.com/t/ionic-build-ios-plugin-errors-exit-code-65/7274/24 – HardikDG

+0

@pyro да, я пробовал и работает –

+0

, это не значит, что я должен был обновить кордову и ионный и снова обработать все, чтобы построить ios –

ответ

1

Какой у вас выход на платформу кордовы?

$ cordova platform Installed platforms: ios 3.9.2 Available platforms: amazon-fireos, android, blackberry10, browser, firefoxos, osx, webos

с прошивкой 4.0.0 У меня была такая же ошибка. Я изменил версию платформы, и она сработала.

$cordova platform remove ios $cordova platform add [email protected]

Смежные вопросы