Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9045605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:23:18+00:00 2026-06-16T11:23:18+00:00

I have written a simple test application (Mac/Cocoa) to connect to the Key-Value store

  • 0

I have written a simple test application (Mac/Cocoa) to connect to the Key-Value store in iCloud. I seem to be falling at the first fence.

You can see the code for my simple app here and you’ll see that I am not getting a URL back from “URLForUbiquityContainerIdentifier” call.

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
    // Insert code here to initialize your application
    NSURL *ubiq = [[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:nil];
    if (!ubiq)
        NSLog(@"No iCloud");
    else
        NSLog(@"Yes iCloud");
}

Screenshot of the app running with output:

enter image description here

In term of trying to see if I’ve everything setup correctly I looked at the setup of my App Id (Test app is called Radio) in the developer provisioning centre:

enter image description here

So that seemed to be ok. Then I re-created my provisioning profile (called Radio Dev 2) and checked that it was using the correct App Id:

enter image description here

Ok, so that also seemed to be ok. I then checked that entitlements was switched on and Key-Value container was activated:

enter image description here

So they are activated. I then took a look at the file itself, just to see if anything jumped out:

enter image description here

So I couldn’t see anything jumping out at me in the entitlements file. Lastly, I confirmed that I was signing the build with the correct cert using the provisioning profile that I expected:

enter image description here

I was happy enough with that.

So I’m stumped. I’ve regenerated everything, etc, to no avail.

I’d really appreciate if anybody has any ideas. Have I missed anything?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T11:23:19+00:00Added an answer on June 16, 2026 at 11:23 am

    Damien’s comment on the question had the solution for me. For anyone using Xcode 4.5, you need to click the + below the Ubiquity Containers box. Until I did that, nothing worked.

    Xcode

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a simple test application using asp.net mvc with C#. The application
I have written a very simple test application that creates a websocket and parses
I have written a simple WPF application in which I wanted to test the
This is a simple script I have written to test command line argument handling:
I have written a simple automation script for deploying and restarting my twisted application
I have written a simple web Application which is running(on Tomcat Server) fine on
I have written a VERY simple MVC application which just displays a single string
I have written the following simple test in trying to learn Castle Windsor's Fluent
I have written a simple activity to test out services and broacast receivers and
I have written a simple code in page test_cookie.php to work with cookies. if(isset($_GET['data']))

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.