Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by tmiller_vb · Apr 23, 2015 at 08:39 PM · unity 5build-errormac

How does one build an app with iCloud/CloudKit with Unity?

Hi there.

I am building an OSX app that incorporates iCloud, and I am having a ton of trouble trying to test it. I can successfully build it for testing and wrap it with entitlements (thanks to Jemast's Mac App Store Toolset on the Asset Store), but the problem occurs when I try to access iCloud. Although the ubiquityIdentityToken exists (since I'm also using CloudKit), I am getting error messages whenever I try to do anything related to iCloud. Here are some of the errors

-Sandbox: AppName (Number) deny mach-lookup com.apple.cloudd -The CKContainerID is coming back with the error: Domain=NSCocoaErrorDomain Code=4099 "Couldn't communicate with a helper application." (The connection to service named com.apple.cloudd was invalidated.)

So I feel like this issue means that my app can't access iCloud/CloudKit...but I need to be able to access iCloud/CloudKit in order to test the app. If I had access to XCode, this would likely be completely trivial, partially because I already know how to do it for iOS and partially because XCode would set everything up correctly for this to work. I feel like the problem could be related to entitlements or how I'm building the app, but as far as entitlements go, if I do it in another way, I either get the same results or the app crashes on startup with "Code Signature Invalid". I've also tried making an installer package, installing it, and running it, but that always crashes, and from everything I've read, iCloud/CloudKit makes that happen, so that is untestable.

I know other people have made OSX apps that access iCloud using Unity, but it looks like CloudKit doesn't get used much at all with Unity. How do you test iCloud and/or Cloudkit on your OSX apps?

Thanks! I appreciate any help.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image noio · Jan 03, 2017 at 11:43 AM 0
Share

I'm having exactly the same issue, also can't get iCloud to work using the Prime31 plugin. But I think it's due to an error getting a ubiquityIdentityToken .

avatar image sabhanachaudhary2571 · Aug 28, 2018 at 09:44 PM 0
Share

You did a trial for making an app but your effort is not to give too much success. I have found a good solution for Icloud support

avatar image joshskelton3000 · Sep 18, 2019 at 08:32 PM 0
Share

@noio Did you ever get it to work with Prime31? I'm using the same plugin with great results on mobile, but not so much on the macOS side.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unable to build project for Android with Mac Unity version 2017.4.1f1 0 Answers

Issue Building Application from Unity to Visual Studio on Bootcamped Mac Pro 0 Answers

My app keeps Crashing 0 Answers

Failed to re-package resources 3 Answers

Mac/Windows game build error 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges