leavez / cocoapods-binary

integrate pods in form of prebuilt frameworks conveniently, reducing compile time
MIT License
1.3k stars 207 forks source link

Cocoapods-binary couse pod install error 1 - on Bitrise, without info why #98

Open MaciejOlejnik opened 4 years ago

MaciejOlejnik commented 4 years ago

Hey, after I added cocoapods-binary plugin into the cocoapods, pod install --verbose command exits with "exit code 1" without any information why (in verbose mode).

I added 'cocoapods-binary' to Gemfile, and seems cocoapods detect plugin correctly. Bitrise logs looks like:

Prebuilding ActionSheetPicker-3.0...
- ActionSheetPicker-3.0, 2.2.0
// other libs here
Command failed, error: exit status 1

Before change Cocoapods have builded correctly. On Macbook it prebuilds frameworks successfully.

My Env

   CocoaPods : 1.7.5
       Xcode : 10.2.1 (10E1001)
cocoapods-binary      : 0.4.4
plugin 'cocoapods-binary'

Config:

plugin 'cocoapods-binary'

platform :ios, '11.2'
use_frameworks!
inhibit_all_warnings!

# Please ensure that libs with bundles are not binary (:binary => false)
all_binary!

abstract_target 'Parent' do
  pod 'Charts', '3.3.0'
  pod 'IQKeyboardManager', '6.4.0', :binary => false
  pod 'IQKeyboardManagerSwift', '6.4.0', :binary => false
   //...

  #  Child target
  target 'child' do
  end
end

I also created ticket here: https://github.com/bitrise-steplib/steps-cocoapods-install/issues/45

DimDL commented 4 years ago

Do you have a path in your filename ? I had the same symptoms with spaces.