Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Unable to build IOS Arcore Multiplayer Light Board demo

Discussion in 'ARCore' started by rob_ice, Jul 2, 2018.

  1. rob_ice


    Nov 11, 2016
    Hi Everyone

    I have been trying to build and run the 'Light Boards' Multiplayer demo for IOS using ARCore through the git repo provided by google. However, there seems to be a cocoapods related error during the build process where some dependencies aren't added. (see error in code box below)

    Also we think this error may be stopping the build from running due to the project build process not including dependancies and generating a .xcworkspace file that needs to be opened instead of a .xcproject file (see the getting started for ArCore IOS here: )

    Build for iOS

    1. In Unity, click Build and select an output folder for your iOS Xcode project. An Xcode project is generated.

    2. Locate and open the generated *.xcworkspace workspace file in Xcode.
      To avoid build errors, do not build or launch from the included *.xcodeproj project file.

    3. In Xcode, select the Unity iOS project in the left pane, connect your device, and launch your app.

    Code (CSharp):
    1. iOS framework addition failed due to a Cocoapods installation failure. This will will likely result in an non-functional Xcode project.
    2. 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: for potential solutions.
    3. pod install output:
    4. Analyzing dependencies
    5. Cloning spec repo `cpdc-internal-spec` from `sso://cpdc-internal/spec`
    6. [!] Unable to add a source with url `sso://cpdc-internal/spec` named `cpdc-internal-spec`.
    7. You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
    9.     �[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
    10.     Consider adding the following to ~/.profile:
    11.     export LANG=en_US.UTF-8
    12.     �[0m
    13. pod repo update output:
    14. Updating spec repo `master`
    15.   $ /usr/bin/git -C /Users/rob.farthing/.cocoapods/repos/master fetch origin --progress
    16.   $ /usr/bin/git -C /Users/rob.farthing/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
    17.   master
    18.   $ /usr/bin/git -C /Users/rob.farthing/.cocoapods/repos/master reset --hard origin/master
    19.   HEAD is now at b43e0256d53 [Add] JXFMDBHelper 0.1.0
    21.     �[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
    22.     Consider adding the following to ~/.profile:
    23.     export LANG=en_US.UTF-8
    24.     �[0m
    25.   remote: Counting objects: 9, done.      
    26.   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.      
    27.   remote: Total 9 (delta 5), reused 0 (delta 0), pack-reused 0      
    28.   From
    29.      66380c197f3..b43e0256d53  master     -> origin/master
    30. UnityEngine.Debug:LogError(Object)
    31. Google.Logger:Log(String, LogLevel)
    32. Google.IOSResolver:Log(String, Boolean, LogLevel)
    33. Google.IOSResolver:OnPostProcessInstallPods(BuildTarget, String)
    34. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)