建立专案rb_file_s_symlink时发生错误

时间:2019-04-12 21:48:20

标签: ios ruby unity3d cocoapods googlemobileads

尝试在我拥有的任何Mac上为iOS构建我的应用程序时遇到一个非常困难的问题。我尝试使用2018.3.12.f1的全新Unity安装进行三种不同的安装。我尝试建立一个仅包含官方Google Mobile Ads unity软件包的新项目。当我尝试构建时,它声称“成功”,但是在控制台中收到以下错误。任何提示将不胜感激。

  • 我已将ruby安装更改为其他版本。
  • 我尝试了不同版本的Cocoapods。
  • 我尝试了不同版本的Mac(High Sierra和Mojave)。
  • 我仅用Google Movbile Ads尝试了一个全新的项目 SDK。
  • 我尝试了多个版本的Google Mobile Ads SDK Unity 插件。

  • 我尝试过从项目目录构建文件并通过 团结。

Analyzing dependencies
Downloading dependencies
Installing Google-Mobile-Ads-SDK (7.42.2)
Installing GoogleAppMeasurement (5.8.1)
Installing GoogleUtilities (5.7.0)
Installing nanopb (0.3.901)
Generating Pods project

命令

/Users/devguy/.rvm/gems/ruby-2.6.2/bin/pod install

堆栈

   CocoaPods : 1.7.0.beta.3
        Ruby : ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin18]
    RubyGems : 3.0.3
        Host : Mac OS X 10.14.4 (18E226)
       Xcode : 10.2 (10E125)
         Git : git version 2.20.1 (Apple Git-117)
Ruby lib dir : /Users/devguy/.rvm/rubies/ruby-2.6.2/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 7e4338382b9e702a02a5b245aba0ace0648d98bc

插件

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.1.0
cocoapods-trunk       : 1.3.1
cocoapods-try         : 1.1.0

Podfile

source 'https://github.com/CocoaPods/Specs'
source 'https://github.com/CocoaPods/Specs.git'
install! 'cocoapods', :integrate_targets => false
platform :ios, '9.0'

target 'Unity-iPhone' do
pod 'Google-Mobile-Ads-SDK', '~> 7.41'
end

错误

Errno::ENOENT - No such file or directory @ rb_file_s_symlink - (../../../GoogleUtilities/GoogleUtilities/AppDelegateSwizzler/Internal/GULAppDelegateSwizzler_Private.h, /Users/devguy/iOS Builds/TESTIOS2/Pods/Headers/Private/GoogleUtilities/GULAppDelegateSwizzler_Private.h)
/Users/devguy/.rvm/rubies/ruby-2.6.2/lib/ruby/2.6.0/fileutils.rb:363:in `symlink'
/Users/devguy/.rvm/rubies/ruby-2.6.2/lib/ruby/2.6.0/fileutils.rb:363:in `block in ln_s'
/Users/devguy/.rvm/rubies/ruby-2.6.2/lib/ruby/2.6.0/fileutils.rb:1571:in `fu_each_src_dest0'
/Users/devguy/.rvm/rubies/ruby-2.6.2/lib/ruby/2.6.0/fileutils.rb:361:in `ln_s'
/Users/devguy/.rvm/rubies/ruby-2.6.2/lib/ruby/2.6.0/fileutils.rb:380:in `ln_sf'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/sandbox/headers_store.rb:139:in `add_file'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/sandbox/headers_store.rb:112:in `block in add_files'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/sandbox/headers_store.rb:111:in `map'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/sandbox/headers_store.rb:111:in `add_files'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:166:in `block (4 levels) in link_headers'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:165:in `each'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:165:in `block (3 levels) in link_headers'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:164:in `each'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:164:in `block (2 levels) in link_headers'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:156:in `each'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:156:in `block in link_headers'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/user_interface.rb:145:in `message'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:155:in `link_headers'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb:51:in `install!'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator.rb:99:in `block in install_file_references'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/user_interface.rb:145:in `message'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/pods_project_generator.rb:97:in `install_file_references'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer/xcode/single_pods_project_generator.rb:17:in `generate!'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer.rb:295:in `block in create_and_save_projects'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/user_interface.rb:64:in `section'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer.rb:290:in `create_and_save_projects'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer.rb:281:in `generate_pods_project'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/installer.rb:159:in `install!'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/command/install.rb:51:in `run'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/lib/cocoapods/command.rb:52:in `run'
/Users/devguy/.rvm/gems/ruby-2.6.2/gems/cocoapods-1.7.0.beta.3/bin/pod:55:in `<top (required)>'
/Users/devguy/.rvm/gems/ruby-2.6.2/bin/pod:23:in `load'
/Users/devguy/.rvm/gems/ruby-2.6.2/bin/pod:23:in `<main>'
/Users/devguy/.rvm/gems/ruby-2.6.2/bin/ruby_executable_hooks:24:in `eval'
/Users/devguy/.rvm/gems/ruby-2.6.2/bin/ruby_executable_hooks:24:in `<main>'

我希望得到一个干净的Xcode项目文件夹。 在Xcode中构建文件夹时,我得到了一个损坏的文件夹。

0 个答案:

没有答案