Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.94 KB | None | 0 0
  1. MBP-Nikolaj:HelloHabit nikolaj$ yarn pod
  2. yarn run v1.15.2
  3. $ cd ios && pod install
  4. Analyzing dependencies
  5. Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
  6. Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
  7. Fetching podspec for `Interactable` from `../node_modules/react-native-interactable/Interactable.podspec`
  8. Fetching podspec for `RNFS` from `../node_modules/react-native-fs/RNFS.podspec`
  9. Fetching podspec for `RNFastImage` from `../node_modules/react-native-fast-image/RNFastImage.podspec`
  10.  
  11. ――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
  12.  
  13. ### Command
  14.  
  15. ```
  16. /usr/local/bin/pod install
  17. ```
  18.  
  19. ### Report
  20.  
  21. * What did you do?
  22.  
  23. * What did you expect to happen?
  24.  
  25. * What happened instead?
  26.  
  27.  
  28. ### Stack
  29.  
  30. ```
  31. CocoaPods : 1.7.5
  32. Ruby : ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
  33. RubyGems : 2.5.2.3
  34. Host : Mac OS X 10.14.5 (18F132)
  35. Xcode : 10.3 (10G8)
  36. Git : git version 2.20.1 (Apple Git-117)
  37. Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
  38. Repositories : master - https://github.com/CocoaPods/Specs.git @ 765f118d3098a5ec24bc231c14ad271ff8776b68
  39. ```
  40.  
  41. ### Plugins
  42.  
  43. ```
  44. cocoapods-deintegrate : 1.0.4
  45. cocoapods-plugins : 1.0.0
  46. cocoapods-search : 1.0.0
  47. cocoapods-stats : 1.1.0
  48. cocoapods-trunk : 1.3.1
  49. cocoapods-try : 1.1.0
  50. ```
  51.  
  52. ### Podfile
  53.  
  54. ```ruby
  55. install! 'cocoapods', :deterministic_uuids => false
  56.  
  57. platform :ios, '10.0'
  58.  
  59. target 'HelloHabit' do
  60. pod 'React', :path => '../node_modules/react-native', :subspecs => [
  61. 'Core',
  62. 'CxxBridge',
  63. 'RCTAnimation',
  64. 'RCTBlob',
  65. 'RCTImage',
  66. 'RCTLinkingIOS',
  67. 'RCTText',
  68. 'RCTNetwork',
  69. 'RCTWebSocket',
  70. 'DevSupport',
  71. ]
  72. pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
  73. pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  74. pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  75. pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  76.  
  77. pod 'react-native-in-app-utils', :podspec => '../node_modules/react-native-in-app-utils/react-native-in-app-utils.podspec'
  78. pod 'react-native-date-picker', :podspec => '../node_modules/react-native-date-picker/react-native-date-picker.podspec'
  79. pod 'RNFastImage', :podspec => '../node_modules/react-native-fast-image/RNFastImage.podspec'
  80. pod 'ReactNativeNavigation', :podspec => '../node_modules/react-native-navigation/ReactNativeNavigation.podspec'
  81. pod 'RNGestureHandler', :podspec => '../node_modules/react-native-gesture-handler/RNGestureHandler.podspec'
  82. pod 'RNReanimated', :podspec => '../node_modules/react-native-reanimated/RNReanimated.podspec'
  83. pod 'Interactable', :podspec => '../node_modules/react-native-interactable/Interactable.podspec'
  84. pod 'RNKeychain', :podspec => '../node_modules/react-native-keychain/RNKeychain.podspec'
  85. pod 'RNSVG', :podspec => '../node_modules/react-native-svg/RNSVG.podspec'
  86. pod 'RNFS', :podspec => '../node_modules/react-native-fs/RNFS.podspec'
  87. pod 'react-native-image-picker', :podspec => '../node_modules/react-native-image-picker/react-native-image-picker.podspec'
  88. pod 'react-native-slider', :podspec => '../node_modules/@react-native-community/slider/react-native-slider.podspec'
  89.  
  90. pod 'SentryReactNative', :podspec => '../node_modules/react-native-sentry/SentryReactNative.podspec'
  91.  
  92. end
  93.  
  94. post_install do |installer|
  95. # Disable some shitty RN stuff (I can't see degradation in functional)
  96. installer.pods_project.targets.each do |target|
  97. targets_to_ignore = %w(React yoga)
  98. if targets_to_ignore.include? target.name
  99. target.build_configurations.each do |config|
  100. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
  101. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'RCT_ENABLE_INSPECTOR=0'
  102. config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'ENABLE_PACKAGER_CONNECTION=0'
  103. end
  104. target.remove_from_project
  105. end
  106. end
  107. end
  108. ```
  109.  
  110. ### Error
  111.  
  112. ```
  113. Errno::ENOENT - No such file or directory @ rb_sysopen - /Users/nikolaj/Documents/FreelanceProjects/HelloHabit/node_modules/react-native-fast-image/RNFastImage.podspec
  114. /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:37:in `initialize'
  115. /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:37:in `open'
  116. /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/open-uri.rb:37:in `open'
  117. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/external_sources/podspec_source.rb:19:in `block in fetch'
  118. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/user_interface.rb:86:in `titled_section'
  119. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/external_sources/podspec_source.rb:11:in `fetch'
  120. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/analyzer.rb:854:in `fetch_external_source'
  121. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/analyzer.rb:833:in `block (2 levels) in fetch_external_sources'
  122. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/analyzer.rb:832:in `each'
  123. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/analyzer.rb:832:in `block in fetch_external_sources'
  124. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/user_interface.rb:64:in `section'
  125. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/analyzer.rb:831:in `fetch_external_sources'
  126. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer/analyzer.rb:111:in `analyze'
  127. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:398:in `analyze'
  128. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:221:in `block in resolve_dependencies'
  129. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/user_interface.rb:64:in `section'
  130. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:220:in `resolve_dependencies'
  131. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/installer.rb:156:in `install!'
  132. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command/install.rb:51:in `run'
  133. /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
  134. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/lib/cocoapods/command.rb:52:in `run'
  135. /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.7.5/bin/pod:55:in `<top (required)>'
  136. /usr/local/bin/pod:22:in `load'
  137. /usr/local/bin/pod:22:in `<main>'
  138. ```
  139.  
  140. ――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
  141.  
  142. [!] Oh no, an error occurred.
  143.  
  144. Search for existing GitHub issues similar to yours:
  145. https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory+%40+rb_sysopen+-+%2FUsers%2Fnikolaj%2FDocuments%2FFreelanceProjects%2FHelloHabit%2Fnode_modules%2Freact-native-fast-image%2FRNFastImage.podspec&type=Issues
  146.  
  147. If none exists, create a ticket, with the template displayed above, on:
  148. https://github.com/CocoaPods/CocoaPods/issues/new
  149.  
  150. Be sure to first read the contributing guide for details on how to properly submit a ticket:
  151. https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
  152.  
  153. Don't forget to anonymize any private data!
  154.  
  155. Looking for related issues on cocoapods/cocoapods...
  156. Found no similar issues. To create a new issue, please visit:
  157. https://github.com/cocoapods/cocoapods/issues/new
  158. error Command failed with exit code 1.
  159. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement