Crash on Xcodeproj Acknowledgements plist generation #675

xslim opened this Issue Dec 4, 2012 · 9 comments


None yet

3 participants



  • What did you do? pod install


   CocoaPods : 0.16.0
        Ruby : ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]
    RubyGems : 1.8.24
        Host : Mac OS X 10.8.2 (12C60)
       Xcode : 4.5.2 (4G2008a)
Ruby lib dir : /Users/slim/.rvm/rubies/ruby-1.9.3-p194/lib
Repositories : master - @ 13dc1fc799301c4f465d4ac97a75433d2762ceb8
               xaton - @ d2c2542b2df620ea135cc75784c56e40499219db


          xcodeproj 'Events'

platform :ios, '5.0'

# Core
#pod 'UIDeviceAddition'
pod 'Injective'
#pod 'RestKit', :podspec => ''
pod 'AFIncrementalStore', :head #:git => '' #, :head
pod 'MagicalRecord', :head  #:git => '', :commit => '5206b43ae0c0081b9ab3c034726aff7c1c1bf1d7' 
#, :podspec => ''

# Helpers
pod 'ISO8601DateFormatter'
#pod 'AFHTTPRequestOperationLogger'
#pod 'PonyDebugger', :head

# UI
pod 'TKThemeManager', :podspec => ''
pod 'MDAboutController'
pod 'UIGlossyButton'
pod 'SVProgressHUD'
pod 'DDPageControl', '0.1'
pod 'JMTabView'
pod 'MHTabBarController', :podspec => ''
pod 'GHSidebarNav'

# Social
pod 'Facebook-iOS-SDK', '1.2'
pod 'ShareKit/Facebook'
pod 'ShareKit/Twitter'
pod 'FlurrySDK'

# Testing
pod 'TestFlightSDK'
pod 'DCIntrospect'


Unable to convert value of key `:FooterText'.
/Users/slim/src/tools/CocoaPods/lib/cocoapods/generator/acknowledgements/plist.rb:11:in `write_plist'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/generator/acknowledgements/plist.rb:11:in `save_as'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/generator/acknowledgements.rb:16:in `block in save_as'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/generator/acknowledgements.rb:15:in `each'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/generator/acknowledgements.rb:15:in `save_as'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/installer.rb:168:in `block in generate_target_support_files'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/installer.rb:164:in `each'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/installer.rb:164:in `generate_target_support_files'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/installer.rb:122:in `block (2 levels) in install!'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/user_interface.rb:77:in `message'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/installer.rb:121:in `block in install!'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/user_interface.rb:37:in `section'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/installer.rb:112:in `install!'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/command/install.rb:46:in `run_install_with_update'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/command/install.rb:51:in `run'
/Users/slim/src/tools/CocoaPods/lib/cocoapods/command.rb:75:in `run'
/Users/slim/src/tools/CocoaPods/bin/pod:16:in `<main>'
@xslim xslim added a commit to xslim/CocoaPods that referenced this issue Dec 4, 2012
@xslim xslim Don't crash if Xcodeproj plist generation fails #675 ba943b5
CocoaPods member

Can you reduce the issue to the (one?) pod that is causing this? There might be a broken character used in one of the attributes.


It's FlurrySDK (4.0.5)
But I can't see any FooterText there in the pod

CocoaPods member

For visual purposes the FootText of settings is used to show the license. This issue is likely generated by this footer:
I think that it is an encoding or a similar issue of the License stored in the root of the FlurrySDK repo.

CocoaPods member

Hmm, I am able to successfully run pod install with FlurrySDK on Ruby 1.9.3p194 (although mine is installed through rbenv).

@irrationalfab Were you able to reproduce this?

CocoaPods member

Any ideas how can I get info what character Xcodeproj didn't like while generating plist?

Just before the serialisation call, add something like:

      def save_as(path)
        if (path.extname != ".plist")
          path = + "#{path.basename.to_s}.plist")
        p header_text
        p header_text.encoding
        Xcodeproj.write_plist(plist, path)
CocoaPods member

Can we close this issue?



@xslim xslim closed this Mar 9, 2013
CocoaPods member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment