chat-sdk / chat-sdk-ios

Chat SDK iOS - Open Source Mobile Messenger
http://sdk.chat
Other
914 stars 275 forks source link

pod install #18

Closed a13xand3r closed 7 years ago

a13xand3r commented 7 years ago

Hello there is a issue when i'm trying to instal the cocopods: Result of pod install: Downloading dependencies Installing AFNetworking (3.1.0) Installing Bolts (1.8.4) Installing ChatSDK (4.2.5) Installing CountryPicker (1.3) Installing DateTools (1.7.0) Installing Fabric (1.6.11) Installing Facebook-iOS-SDK (4.1.0) Installing Firebase (3.14.0) Installing FirebaseAnalytics (3.7.0) Installing FirebaseAuth (3.1.1) Installing FirebaseCore (3.5.1) Installing FirebaseDatabase (3.1.2) Installing FirebaseInstanceID (1.0.9) Installing FirebaseMessaging (1.2.2) Installing FirebaseStorage (1.1.0) Installing FrameAccessor (1.3.2) Installing GTMOAuth2 (1.1.4) Installing GTMSessionFetcher (1.1.8) Installing Google (3.0.3) Installing GoogleSignIn (4.0.2) Installing GoogleToolboxForMac (2.1.1) Installing MBProgressHUD (1.0.0) Installing Protobuf (3.2.0) Installing RXPromise (1.0.5) Installing Reachability (3.2) Installing SDWebImage (3.7.6) Installing SDWebImage-ProgressView (0.5.0) Installing StaticDataTableViewController (2.0.5) Installing TOCropViewController (2.0.12) Installing TwitterCore (1.15.3) Installing TwitterKit (1.15.3) Installing VENTokenField (2.5.2) Generating Pods project

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

Command

/usr/local/bin/pod install

Report

Stack

   CocoaPods : 1.2.0
        Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
    RubyGems : 2.0.14.1
        Host : Mac OS X 10.12.3 (16D32)
       Xcode : 8.2.1 (8C1002)
         Git : git version 2.10.1 (Apple Git-78)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 8c7965281c1a71bcba4154139d1c4878a755307d

Plugins

cocoapods-deintegrate : 1.0.1
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.1.2
cocoapods-try         : 1.1.0

Podfile

source 'https://github.com/CocoaPods/Specs.git'

target 'ChatSDK Demo' do

  pod "ChatSDK", :path => "../"
  #pod "ChatSDKModules/Backendless", :path => "ChatSDKModules"

end

Error

LoadError - cannot load such file -- cfpropertylist
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/plist.rb:25:in `read_from_path'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/project/object/helpers/file_references_factory.rb:143:in `block in new_xcdatamodeld'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/project/object/helpers/file_references_factory.rb:138:in `each'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/project/object/helpers/file_references_factory.rb:138:in `new_xcdatamodeld'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/project/object/helpers/file_references_factory.rb:27:in `new_reference'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/xcodeproj-1.4.2/lib/xcodeproj/project/object/group.rb:222:in `new_reference'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/project.rb:190:in `add_file_reference'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:187:in `block (2 levels) in add_file_accessors_paths_to_pods_group'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:185:in `each'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:185:in `block in add_file_accessors_paths_to_pods_group'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:180:in `each'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:180:in `add_file_accessors_paths_to_pods_group'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:108:in `block in add_resources'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/user_interface.rb:142:in `message'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:106:in `add_resources'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:42:in `install!'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator.rb:148:in `install_file_references'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer/xcode/pods_project_generator.rb:63:in `generate!'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer.rb:179:in `block in generate_pods_project'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/user_interface.rb:64:in `section'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer.rb:178:in `generate_pods_project'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/installer.rb:115:in `install!'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/command/install.rb:37:in `run'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0@global/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:52:in `run'
/Users/alexbalyaev/.rvm/gems/ruby-2.3.0/gems/cocoapods-1.2.0/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=cannot+load+such+file+--+cfpropertylist&type=Issues

If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new

Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

Don't forget to anonymize any private data!

Looking for related issues on cocoapods/cocoapods...

and 2 more at: https://github.com/cocoapods/cocoapods/search?q=cannot%20load%20such%20file%20--%20cfpropertylist&type=Issues&utf8=✓

I'm installing a lot of pods and this is the first project when i have this issue.

Thanks

bensmiley commented 7 years ago

Hi,

This error is caused by issues with your environment. Cocoapods is unable to find some Ruby functions. Have you done the steps mentioned in the issues:

LoadError - cannot load such file -- cfpropertylist CocoaPods/CocoaPods#6382 [closed] [6 comments]

To try to resolve the error?

a13xand3r commented 7 years ago

No! This doesn't help!

I tried to instal and uninstall Cocoapods and CFPropertyList but the same think happened!

I'm using default version of ruby: Ruby : ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]

Regards Alex

bensmiley commented 7 years ago

I think you need to look for support on the CocoaPods Github page. This appears to be a problem with CocoaPods and your system configuration rather than the Chat SDK.