1

I have application with a bundle identifier com.maximbilan.uah-mac and today extension com.maximbilan.uah-mac.uah-mac-Today-Extension. How to setup App Groups for Mac OS X application?

enter image description here

I tried to add both identifiers or group name. But validation of archives fails.

enter image description here

Please help!

1

1 Answer 1

1

Are you trying to share data between your application and Today extension? This should only require one App Group.

Since you are already properly using your TEAMID, I think that perhaps hyphens are invalid characters.

Try using 828XSMPA74.com.maximbilan.uah for the App Group name, and then you can create your NSUserDefaults object.

let sharedDefaults = NSUserDefaults.init(suiteName: "828XSMPA74.com.maximbilan.uah")!
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.