我一直试图通过谷歌提供的git repo使用ARCore为IOS构建和运行'Light Boards'多人游戏演示 . 但是,在构建过程中似乎存在与cocoapods相关的错误,其中未添加某些依赖项 . (见下面代码框中的错误)

此外,我们认为此错误可能会阻止构建运行,因为项目构建过程不包括依赖项并生成需要打开的.xcworkspace文件而不是.xcproject文件(请参阅此处的ArCore IOS入门:https://developers.google.com/ar/develop/unity/quickstart-ios

Build for iOS - 在Unity中,单击Build并为iOS Xcode项目选择一个输出文件夹 . 生成Xcode项目 .

  • 在Xcode中找到并打开生成的* .xcworkspace工作区文件 . 为避免构建错误,请不要从包含的* .xcodeproj项目文件构建或启动 .

  • 在Xcode中,在左窗格中选择Unity iOS项目,连接您的设备,然后启动您的应用 .

iOS framework addition failed due to a Cocoapods installation failure. This will will likely result in an non-functional Xcode project.
After the failure, "pod repo update" was executed and succeeded. "pod install" was then attempted again, and still failed. This may be due to a broken Cocoapods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions.
pod install output:
Analyzing dependencies
Cloning spec repo `cpdc-internal-spec` from `sso://cpdc-internal/spec`
[!] Unable to add a source with url `sso://cpdc-internal/spec` named `cpdc-internal-spec`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
 
    �[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
    Consider adding the following to ~/.profile:
    export LANG=en_US.UTF-8
    �[0m
pod repo update output:
Updating spec repo `master`
  $ /usr/bin/git -C /Users/rob.farthing/.cocoapods/repos/master fetch origin --progress
  $ /usr/bin/git -C /Users/rob.farthing/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
  master
  $ /usr/bin/git -C /Users/rob.farthing/.cocoapods/repos/master reset --hard origin/master
  HEAD is now at b43e0256d53 [Add] JXFMDBHelper 0.1.0
 
    �[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
    Consider adding the following to ~/.profile:
    export LANG=en_US.UTF-8
    �[0m
  remote: Counting objects: 9, done.      
  remote: Compressing objects:  12% (1/8)             remote: Compressing objects:  25% (2/8)             remote: Compressing objects:  37% (3/8)             remote: Compressing objects:  50% (4/8)             remote: Compressing objects:  62% (5/8)             remote: Compressing objects:  75% (6/8)             remote: Compressing objects:  87% (7/8)             remote: Compressing objects: 100% (8/8)             remote: Compressing objects: 100% (8/8), done.      
  remote: Total 9 (delta 5), reused 0 (delta 0), pack-reused 0      
  From https://github.com/CocoaPods/Specs
     66380c197f3..b43e0256d53  master     -> origin/master
UnityEngine.Debug:LogError(Object)
Google.Logger:Log(String, LogLevel)
Google.IOSResolver:Log(String, Boolean, LogLevel)
Google.IOSResolver:OnPostProcessInstallPods(BuildTarget, String)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
 
https://github.com/googlesamples/arcore-lightboard

https://github.com/googlesamples/arcore-lightboard