1. I am applying for APP ID I found some difference between OSX and iOS in iOS it has the key of APP Groups but in OSX do not have the key of APP Group
I’m having a hard time parsing your text, but I believe you’re referring to the app group prefix here. And yes, there is a difference: on macOS the app group identifier is prefixed by the the Team ID, whereas that’s not the case on iOS. For example, here’s what I see when I dump the entitlements of my macOS test app:
$ codesign -d --entitlements :- build/Debug/QNEPacketTunnel.app
…
<dict>
…
<key>com.apple.security.application-groups</key>
<array>
<string>VR9NTVC6BB.com.example.apple-samplecode.QNE-macOS</string>
</array>
</dict>
</plist>
And here’s the output for the iOS version of that app:
$ codesign -d --entitlements :- build/Debug-iphoneos/QNEPacketTunnel.app
…
<dict>
…
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.example.apple-samplecode.QNE-iOS</string>
</array>
…
</dict>
</plist>
2. When I put the Mac Client submitted to the app store It returns error message value com.test.group for key com.apple.security.application-groups is not supported.
It’s hard to say what’s going on here without more details of your specific app. My general advice when you’re having entitlement issues is to run through the steps in Technote 2415 Entitlements Troubleshooting
3. When I was in the iOS client handle data interaction between app and appex i use the key of APP Group but I am on a MAC client, said the key value is not supported on macOS that MAC app and data interaction between appex should now how to deal with?
Both macOS and iOS support app groups, you just have to get the identifiers, and their associated entitlements, correct. I recommend you do that first and then move on to dealing with the API side of this.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"