ios-app-group

WatchKit Extension is not seeing data saved in NSUserDefaults with App Group

我与影子孤独终老i 提交于 2019-12-12 12:50:17
问题 I've been through a ton of SO posts, and this USED to work, but it stopped working. I'm not sure what happened. I developed this iPhone+WatchKit app with watchOS 1.0 and everything worked fine. I've upgraded my app, project, and Apple Watch to watchOS 2.0, and now I can't get any data via NSUserDefaults using my App Group. App Groups is enabled in Xcode on the host App, and WatchKit Extension. I even tried turning it on for the WatchKit App as well. My group name is called "group.com

App rejected for crash on persistenstore creation

人盡茶涼 提交于 2019-12-11 08:32:05
问题 My app got rejected for crash on launch and after symbolizing the crash log i have this: Incident Identifier: -- CrashReporter Key: -- Hardware Model: xxx Process: BUDGT [1029] Path: /private/var/mobile/Containers/Bundle/Application/F5D98A63-AF73-4A76-A80C-EA57B4E41082/BUDGT.app/BUDGT Identifier: --.BUDGT Version: 1 (4) Code Type: ARM-64 (Native) Parent Process: launchd [1] Date/Time: 2015-05-08 18:09:23.379 -0700 Launch Time: 2015-05-08 18:09:23.142 -0700 OS Version: iOS 8.3 (12F70) Report

iOS Does saving data in share group directory is safe?

我的梦境 提交于 2019-12-10 06:31:40
问题 I need to access to the data (photos, database...) from the app and app extension. But the app can't access to the app extension document folder. I've searched and storing data at shared app group folder instead of saving it in the document dictionary is the solution. /Users/*/Library/Developer/CoreSimulator/Devices/8B1DB861-AA3F-446F-A559-D4727CDB9285/data/Containers/Shared/AppGroup/4849394B-CD33-4A85-9C6F-70573B615D6C But, does it safe? In my previous question, i've asked about the location

Provisioning profile doesn't include the com.apple.security.application-groups entitlement

邮差的信 提交于 2019-12-05 18:37:29
问题 I am getting error while configuring Xcode provisioning profiles. Provisioning profile $ProfileName doesn't include the com.apple.security.application-groups entitlement. How to fix it. It seems my provisioning profile/certificate does not have some capabilities. How/where to add those capabilities? update In marked duplicated post, Sharing data in between apps in IOS the poster asked for generic way to share data between apps but in this post i am asking to resolve a specific build error i

Provisioning profile doesn't include the com.apple.security.application-groups entitlement [duplicate]

泄露秘密 提交于 2019-12-04 04:56:20
This question already has an answer here: Sharing data in between apps in IOS 1 answer I am getting error while configuring Xcode provisioning profiles. Provisioning profile $ProfileName doesn't include the com.apple.security.application-groups entitlement. How to fix it. It seems my provisioning profile/certificate does not have some capabilities. How/where to add those capabilities? update In marked duplicated post, Sharing data in between apps in IOS the poster asked for generic way to share data between apps but in this post i am asking to resolve a specific build error i am getting while

Xcode shows warning after adding App Groups (Add the “App Groups” entitlement to your App ID) [closed]

痞子三分冷 提交于 2019-12-03 14:29:25
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . After I added an App Group in Xcode it shows a warning: Add the "App Groups" entitlement to your App ID Add the "App Groups containers" entitlement to your App ID Before the warning there was a loading spinner like this: after it finished the loading I got the following warnings: What can I do to correct the two

Xcode shows warning after adding App Groups (Add the “App Groups” entitlement to your App ID) [closed]

自作多情 提交于 2019-12-03 04:17:09
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. After I added an App Group in Xcode it shows a warning: Add the "App Groups" entitlement to your App ID Add the "App Groups containers" entitlement to your App ID Before the warning there was a loading spinner like this: after it finished the loading I got the following warnings: What can I do to correct the two wrong steps? If I'm right it is already added to my App ID. Ahmed Khalaf I faced the same issue, and in my

how can I create and access share app group document directory?

Deadly 提交于 2019-12-02 14:12:45
i am using custom keyboard extension then download keyboard theme from server and save in to app document directory but app document directory can not access in custom keyboard extension so, required to share app group directory. how can i do please help me. Now i am trying this but its not working. let fileManager = FileManager.default if let directory = fileManager.containerURL(forSecurityApplicationGroupIdentifier: "group.companyname.appname") { //let newDirectory = directory.appendingPathComponent(dataPath) newDirectory = directory.appendingPathComponent("MyDirectory") try? fileManager

How to use same Authenticated user token between main iOS app and its Share Extension

早过忘川 提交于 2019-12-02 02:25:46
We have the main app integrated with Firebase SDK. User sign in via main application using email, google or facebook. Now, we have share extension implemented which ideally should share same Authentication session internally so that data can be sent on Firebase with the same user without asking him to login again through the extension. So, does anyone know the way to share Firebase authentication session between the Main app and share extension? Either we sent some internal call to the main app to perform Firebase stuff because it has authentication detail within it. The main app set some

NSUserDefault with App Group is not working in iOS 8 Beta3

戏子无情 提交于 2019-12-02 01:01:37
问题 I have to save Boolean Value to NSUserDefault in my App with custom keyboard extension and share with App Group. My Code is worked in iOS 8 Beta1. self.defaults = [NSUserDefaults standardUserDefaults]; if([self.defaults boolForKey:@"BlackKey"]) { NSLog(@"Black"); } else { NSLog(@"White"); } But Not in iOS 8 Beta3. When i retrieve Boolean value from NSUserDefault , it's return nothing and i can't load from custom keyboard extension. I have also tried with initWithSuiteName in NSUserDefault .