Fastlane failing to build - ipatool and CFPropertyList


#1

Hi there - I’m getting the below error at the export step of my fastlane iOS build. It does not reproduce locally for me. There’s a long discussion about it here: https://github.com/fastlane-old/gym/issues/90 and ultimately it comes down to a system ruby configuration problem - ipatool cannot find the CFPropertyList gem.

Has anyone else run into this problem? Any idea how to resolve it on circle? Thanks.

Dave

2016-09-19 07:47:03 +0000 [MT] Running /Applications/Xcode-7.3.app/Contents/Developer/usr/bin/ipatool '/var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/IDEDistributionThinningStep.h9a' '--json' '/var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/ipatool-json-filepath-Gi1' '--info' '--toolchain' '/Applications/Xcode-7.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr' '--platforms' '/Applications/Xcode-7.3.app/Contents/Developer/Platforms'
2016-09-19 07:47:04 +0000  ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin15]
2016-09-19 07:47:04 +0000  /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize': Could not find CFPropertyList-2.3.3 in any of the sources (Bundler::GemNotFound)
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `map!'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `materialize'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:140:in `specs'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:185:in `specs_for'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/definition.rb:174:in `requested_specs'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/environment.rb:19:in `requested_specs'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:14:in `setup'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup'
	from /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/setup.rb:19:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
2016-09-19 07:47:04 +0000 [MT] /Applications/Xcode-7.3.app/Contents/Developer/usr/bin/ipatool exited with 1
2016-09-19 07:47:04 +0000 [MT] ipatool JSON: (null)

#2

@anon47539524 any ideas?


#3

Hey Davis,

Could you please try to add sudo gem install CFPropertyList to your dependencies step in your configuration file?

Best,
Constantin


#4