2015-10-12 1 views
-1

Lorsque je tente de créer des applications de Fastlane, je suis une erreur .. Comme ceci:Fastlane créer des applications iOS obtenir une erreur

[15:37:03]: Using version: 1.4.3 
[15:37:03]: Using build: 100 
[15:37:03]: Using channel_id: Sina2 
[15:37:03]: ------------------------------------------------- 
[15:37:03]: --- Step: Verifying required fastlane version --- 
[15:37:03]: ------------------------------------------------- 
[15:37:03]: fastlane version valid 
[15:37:03]: ------------------------------ 
[15:37:03]: --- Step: default_platform --- 
[15:37:03]: ------------------------------ 
[15:37:03]: Driving the lane 'ios Channel' 
[15:37:03]: ----------------------- 
[15:37:03]: --- Step: cocoapods --- 
[15:37:03]: ----------------------- 
[15:37:03]: [SHELL COMMAND]: pod install 
[15:37:03]: Variable Dump: 
[15:37:03]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios Channel"} 
[15:37:03]: No such file or directory - pod 


/Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/helper/sh_helper.rb:25:in `popen': No such file or directory - pod (Errno::ENOENT) 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/helper/sh_helper.rb:25:in `sh_no_action' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/helper/sh_helper.rb:8:in `sh' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/actions/cocoapods.rb:27:in `run' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/actions/actions_helper.rb:37:in `execute_action' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:128:in `block in execute_action' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:127:in `chdir' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:127:in `execute_action' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/fast_file.rb:134:in `method_missing' 
    from (eval):116:in `block (3 levels) in parse' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:48:in `call' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:48:in `block in execute' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:46:in `chdir' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/runner.rb:46:in `execute' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/lane_manager.rb:43:in `cruise_lane' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/lib/fastlane/command_line_handler.rb:31:in `handle' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:36:in `block (2 levels) in run' 
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call' 
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call' 
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run' 
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command' 
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!' 
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:127:in `run' 
    from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.29.2/bin/fastlane:133:in `<top (required)>' 
    from /usr/local/bin/fastlane:23:in `load' 
    from /usr/local/bin/fastlane:23:in `<main>' 
+0

Format la question correctement (en termes de retrait) et post la ligne de code qui crée l'erreur. – RichardAE

+1

Si la réponse ci-dessous résout votre problème ne pas pour obtenir d'accepter la réponse – squarefrog

+0

la ligne de code pour l'erreur était '[15:37:03]: Aucun tel fichier ou répertoire - pod' – eertl

Répondre

6

Vous avez probablement pas installé cocoapods

$ gem install cocoapods 
0

Vous devez installer l'outil Cocoapods pour lancer la commande d'installation de pod. de le faire, le terminal ouvert puis exécutez la commande suivante:

sudo gem install cocoapods 

si vous souhaitez mettre à jour l'outil sur un autre moment de l'exécution de cette commande:

sudo gem update cocoapods