diff --git a/Mobile/Mobile.xcodeproj/project.pbxproj b/Mobile/Mobile.xcodeproj/project.pbxproj index 3785f40f1..adaba7441 100644 --- a/Mobile/Mobile.xcodeproj/project.pbxproj +++ b/Mobile/Mobile.xcodeproj/project.pbxproj @@ -79,6 +79,7 @@ BE58E12D217F295B00249358 /* MessageQueue.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = MessageQueue.hpp; sourceTree = ""; }; BE58E12E217F295B00249358 /* Protocol.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Protocol.hpp; sourceTree = ""; }; BE58E12F217F295B00249358 /* Session.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Session.hpp; sourceTree = ""; }; + BE58E13021874A2E00249358 /* Mobile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Mobile.entitlements; sourceTree = ""; }; BE5EB5B9213FE29900E0826C /* Log.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Log.cpp; sourceTree = ""; }; BE5EB5BA213FE29900E0826C /* SpookyV2.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SpookyV2.cpp; sourceTree = ""; }; BE5EB5BB213FE29900E0826C /* Session.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Session.cpp; sourceTree = ""; }; @@ -395,6 +396,7 @@ BE8D77292136762500AC58EA /* Mobile */ = { isa = PBXGroup; children = ( + BE58E13021874A2E00249358 /* Mobile.entitlements */, BE5EB5D92140363100E0826C /* ios.mm */, BE00F8922139494E001CE2D4 /* Resources */, BE8D772A2136762500AC58EA /* AppDelegate.h */, @@ -651,6 +653,11 @@ TargetAttributes = { BE8D77262136762500AC58EA = { CreatedOnToolsVersion = 9.4.1; + SystemCapabilities = { + com.apple.iCloud = { + enabled = 1; + }; + }; }; }; }; @@ -884,6 +891,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_WARN_DOCUMENTATION_COMMENTS = NO; + CODE_SIGN_ENTITLEMENTS = Mobile/Mobile.entitlements; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = J4FQ687VJK; ENABLE_BITCODE = NO; @@ -943,6 +951,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_WARN_DOCUMENTATION_COMMENTS = NO; + CODE_SIGN_ENTITLEMENTS = Mobile/Mobile.entitlements; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = J4FQ687VJK; ENABLE_BITCODE = NO; diff --git a/Mobile/Mobile/Mobile.entitlements b/Mobile/Mobile/Mobile.entitlements new file mode 100644 index 000000000..367dc1be8 --- /dev/null +++ b/Mobile/Mobile/Mobile.entitlements @@ -0,0 +1,20 @@ + + + + + com.apple.developer.icloud-container-identifiers + + iCloud.$(CFBundleIdentifier) + + com.apple.developer.icloud-services + + CloudDocuments + + com.apple.developer.ubiquity-container-identifiers + + iCloud.$(CFBundleIdentifier) + + com.apple.developer.ubiquity-kvstore-identifier + $(TeamIdentifierPrefix)$(CFBundleIdentifier) + +