2015-06-10 47 views
0

我開始在ios設備上運行meteor項目。全光照以下命令:在運行時需要Xcode 4.6或更高版本才能運行iOS命令:meteor run ios

sudo meteor run ios 

但是它報告了我以下錯誤:

Xcode 4.6 or greater is required to run iOS commands.

我已經得到了我的Xcode室內用安裝6.3.1版與OSX版本10.10命令行工具一起0.2

完整的日誌:

sudo meteor run ios --verbose 
Password: 
% Parsing the --port option 
% Will compile mobile builds     
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: aldeed:[email protected] 
Local package version is up-to-date: aldeed:[email protected] 
Local package version is up-to-date: aldeed:[email protected] 
Local package version is up-to-date: anti:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: bengott:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: dburles:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: dispatch:[email protected] 
Local package version is up-to-date:   
dispatch:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: fourseven:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: ground:[email protected] 
Local package version is up-to-date: ground:[email protected] 
Local package version is up-to-date: ground:[email protected] 
Local package version is up-to-date: ground:minima[email protected] 
Local package version is up-to-date: ground:[email protected] 
Local package version is up-to-date: ground:[email protected] 
Local package version is up-to-date: ground:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: iron:[email protected] 
Local package version is up-to-date: jparker:[email protected] 
Local package version is up-to-date: jparker:[email protected] 
Local package version is up-to-date: jparker:[email protected] 
Local package version is up-to-date: [email protected]_2 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: matb33:[email protected] 
Local package version is up-to-date: mdg:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: meteorhacks:[email protected] 
Local package version is up-to-date: meteorhacks:[email protected] 
Local package version is up-to-date: meteoric:[email protected] 
Local package version is up-to-date: meteoric:[email protected] 
Local package version is up-to-date: meteoric:[email protected] 
Local package version is up-to-date: meteoric:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: momentjs:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: mrt:[email protected] 
Local package version is up-to-date: mrt:[email protected] 
Local package version is up-to-date: mrt:[email protected] 
Local package version is up-to-date: [email protected]_2 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: raix:[email protected] 
Local package version is up-to-date: raix:[email protected] 
Local package version is up-to-date: raix:[email protected] 
Local package version is up-to-date: raix:[email protected] 
Local package version is up-to-date: raix:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: reywood:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: settinghead:[email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date:   
underscorestring:un[email protected]_1 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: [email protected] 
Local package version is up-to-date: zimme:[email protected] 
% Running build for platforms: [ 'ios' ]  
Running command /usr/bin/xcrun cc --version 
% Building the cordova build project   
% Bundling the web.cordova program of the app 
% Ensuring the cordova build project   
% Reading the mobile control file    
% Running the mobile control file    
% Copying resources for mobile apps   
% Writing new config.xml      
% Ensuring that platforms in cordova build project are in sync 
Using (built-in) Android SDK at    
/Users/Yongfeng/.meteor/android_bundle/android-sdk 
% Running synchronously: /Users/Yongfeng/.meteor/packages/meteor-tool/.1.1.3.1wysac9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'list' ] 
% The output of `cordova platforms list`: Installed platforms: 
Available platforms: amazon-fireos, android, blackberry10, browser, firefoxos, ios 

% The platform is not in the Cordova project: android 
Found com.intel.kext.intelhaxm: undefined  
% The platform is not in the Cordova project: ios 
Running command /usr/bin/xcrun cc --version 
% Adding a platform ios      
Using (built-in) Android SDK at    
/Users/Yongfeng/.meteor/android_bundle/android-sdk 
% Running synchronously: /Users/Yongfeng/.meteor/packages/meteor-tool/.1.1.3.1wysac9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ 'platform', 'add', 'ios' ] 
Xcode 4.6 or greater is required to run iOS commands. 

回答

0

最後我得到了我的問題,通過闖民宅here

其中科爾多瓦用來確定的Xcode版本被從XAMPP的Perl的「頭」代替「頭」命令解決。您可以鍵入'哪個頭'來查看腳本調用它。在我而言,我不得不註釋掉 「出口PATH =」/應用程序/ XAMPP/xamppfiles /斌:在我的.bash_profile

所以剛剛從通道中取出的XAMPP bin文件夾解決我的問題

$ PATH」。

歡呼!

相關問題