mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Add push notifications entitlement to audio plug-in projects if exporter setting is enabled
This commit is contained in:
parent
c8532775e5
commit
1c3128fc50
1 changed files with 25 additions and 27 deletions
|
|
@ -3117,18 +3117,34 @@ private:
|
|||
{
|
||||
StringPairArray entitlements;
|
||||
|
||||
if (project.isAudioPluginProject())
|
||||
if (isiOS())
|
||||
{
|
||||
if (isiOS() && project.shouldEnableIAA())
|
||||
if (project.isAudioPluginProject() && project.shouldEnableIAA())
|
||||
entitlements.set ("inter-app-audio", "<true/>");
|
||||
|
||||
if (isiCloudPermissionsEnabled())
|
||||
{
|
||||
entitlements.set ("com.apple.developer.icloud-container-identifiers",
|
||||
"<array>\n"
|
||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
||||
" </array>");
|
||||
|
||||
entitlements.set ("com.apple.developer.icloud-services",
|
||||
"<array>\n"
|
||||
" <string>CloudDocuments</string>\n"
|
||||
" </array>");
|
||||
|
||||
entitlements.set ("com.apple.developer.ubiquity-container-identifiers",
|
||||
"<array>\n"
|
||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
||||
" </array>");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isPushNotificationsEnabled())
|
||||
entitlements.set (isiOS() ? "aps-environment"
|
||||
: "com.apple.developer.aps-environment",
|
||||
"<string>development</string>");
|
||||
}
|
||||
|
||||
if (isPushNotificationsEnabled())
|
||||
entitlements.set (isiOS() ? "aps-environment"
|
||||
: "com.apple.developer.aps-environment",
|
||||
"<string>development</string>");
|
||||
|
||||
if (isAppGroupsEnabled())
|
||||
{
|
||||
|
|
@ -3164,24 +3180,6 @@ private:
|
|||
entitlements.set (option, "<true/>");
|
||||
}
|
||||
|
||||
if (isiOS() && isiCloudPermissionsEnabled())
|
||||
{
|
||||
entitlements.set ("com.apple.developer.icloud-container-identifiers",
|
||||
"<array>\n"
|
||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
||||
" </array>");
|
||||
|
||||
entitlements.set ("com.apple.developer.icloud-services",
|
||||
"<array>\n"
|
||||
" <string>CloudDocuments</string>\n"
|
||||
" </array>");
|
||||
|
||||
entitlements.set ("com.apple.developer.ubiquity-container-identifiers",
|
||||
"<array>\n"
|
||||
" <string>iCloud.$(CFBundleIdentifier)</string>\n"
|
||||
" </array>");
|
||||
}
|
||||
|
||||
return entitlements;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue