Skip to content

Commit 906c0be

Browse files
committed
macos/ios: Enable icloud_drive cloud sync backend
1 parent 2f1ae73 commit 906c0be

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

pkg/apple/AppStore.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
OTHER_CFLAGS = $(inherited) -DHAVE_APPLE_STORE
88
OTHER_CFLAGS = $(inherited) -DHAVE_ICLOUD
9+
OTHER_CFLAGS = $(inherited) -DHAVE_ICLOUD_DRIVE
910
OTHER_CFLAGS = $(inherited) -DHAVE_MAIN
1011
OTHER_CFLAGS = $(inherited) -DHAVE_ONLINE_UPDATER
1112

pkg/apple/GitLabCI.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99

1010
#include "Metal.xcconfig"
1111
DEVELOPMENT_TEAM=UK699V5ZS8
12-
OTHER_CFLAGS = $(inherited) -DHAVE_ICLOUD
12+
OTHER_CFLAGS = $(inherited) -DHAVE_ICLOUD -DHAVE_ICLOUD_DRIVE
1313
CODE_SIGN_ENTITLEMENTS = RetroArchCI.entitlements

pkg/apple/RetroArchAppStore.entitlements

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
<key>com.apple.developer.icloud-services</key>
1212
<array>
1313
<string>CloudKit</string>
14+
<string>CloudDocuments</string>
15+
</array>
16+
<key>com.apple.developer.ubiquity-container-identifiers</key>
17+
<array>
18+
<string>iCloud.com.libretro.dist.RetroArch</string>
1419
</array>
1520
<key>com.apple.security.app-sandbox</key>
1621
<true/>

pkg/apple/RetroArchCI.entitlements

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
<key>com.apple.developer.icloud-services</key>
1212
<array>
1313
<string>CloudKit</string>
14+
<string>CloudDocuments</string>
15+
</array>
16+
<key>com.apple.developer.ubiquity-container-identifiers</key>
17+
<array>
18+
<string>iCloud.com.libretro.dist.RetroArch</string>
1419
</array>
1520
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
1621
<true/>

pkg/apple/iOS/AppStore.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ APPSTORE_BUILD = 1
88

99
OTHER_CFLAGS = $(inherited) -DHAVE_APPLE_STORE
1010
OTHER_CFLAGS = $(inherited) -DHAVE_ICLOUD
11+
OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) -DHAVE_ICLOUD_DRIVE
1112
OTHER_CFLAGS = $(inherited) -DkRetroArchAppGroup=@\"group.com.libretro.dist.RetroArchGroup\"
1213

1314
IOS_BUNDLE_IDENTIFIER = com.libretro.dist.RetroArch

0 commit comments

Comments
 (0)