IOS-174 TMP enabling keychain sharing to work around iOS bug
authorDirk Zimmermann <dirk@pep-project.org>
Tue, 04 Oct 2016 15:46:58 +0200
changeset 7919d2731555ad7
parent 790 c12fc22b38df
child 792 97a1aff8e7d2
IOS-174 TMP enabling keychain sharing to work around iOS bug
pEp.entitlements
pEpForiOS.xcodeproj/project.pbxproj
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pEp.entitlements	Tue Oct 04 15:46:58 2016 +0200
     1.3 @@ -0,0 +1,10 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     1.6 +<plist version="1.0">
     1.7 +<dict>
     1.8 +	<key>keychain-access-groups</key>
     1.9 +	<array>
    1.10 +		<string>$(AppIdentifierPrefix)net.pep-security.apps.pEpAlpha</string>
    1.11 +	</array>
    1.12 +</dict>
    1.13 +</plist>
     2.1 --- a/pEpForiOS.xcodeproj/project.pbxproj	Tue Oct 04 15:46:57 2016 +0200
     2.2 +++ b/pEpForiOS.xcodeproj/project.pbxproj	Tue Oct 04 15:46:58 2016 +0200
     2.3 @@ -242,6 +242,7 @@
     2.4  		432722231D33F2FD009EC395 /* TrustWordsViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TrustWordsViewController.swift; sourceTree = "<group>"; };
     2.5  		432F7D601D2102F10094F097 /* PEPSessionTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PEPSessionTest.swift; sourceTree = "<group>"; };
     2.6  		4333FBA41CD9FAC00093364F /* SmtpTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SmtpTest.swift; sourceTree = "<group>"; };
     2.7 +		433724FC1DA2C2B1005E8DF5 /* pEp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = pEp.entitlements; sourceTree = "<group>"; };
     2.8  		4339477A1D5C9D8C005EE7C2 /* HTMLConvertOperation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HTMLConvertOperation.swift; sourceTree = "<group>"; };
     2.9  		433BCD941D5388C100DD98EF /* ReplyUtil.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyUtil.swift; sourceTree = "<group>"; };
    2.10  		433BCD961D5388DF00DD98EF /* ReplyMailTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ReplyMailTests.swift; sourceTree = "<group>"; };
    2.11 @@ -520,6 +521,7 @@
    2.12  		43980E1A1CBD0BC900A7FC3C = {
    2.13  			isa = PBXGroup;
    2.14  			children = (
    2.15 +				433724FC1DA2C2B1005E8DF5 /* pEp.entitlements */,
    2.16  				430C80D41D0EAB6E00CD4582 /* pEpTrustWords.bundle */,
    2.17  				43980ECE1CBD1CAD00A7FC3C /* Libraries */,
    2.18  				43980E251CBD0BC900A7FC3C /* pEpForiOS */,
    2.19 @@ -847,6 +849,11 @@
    2.20  						CreatedOnToolsVersion = 7.3;
    2.21  						DevelopmentTeam = SBPJ2E4G5X;
    2.22  						LastSwiftMigration = 0800;
    2.23 +						SystemCapabilities = {
    2.24 +							com.apple.Keychain = {
    2.25 +								enabled = 1;
    2.26 +							};
    2.27 +						};
    2.28  					};
    2.29  					43980E391CBD0BCA00A7FC3C = {
    2.30  						CreatedOnToolsVersion = 7.3;
    2.31 @@ -1248,6 +1255,7 @@
    2.32  			isa = XCBuildConfiguration;
    2.33  			buildSettings = {
    2.34  				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
    2.35 +				CODE_SIGN_ENTITLEMENTS = pEp.entitlements;
    2.36  				CODE_SIGN_IDENTITY = "iPhone Developer";
    2.37  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
    2.38  				INFOPLIST_FILE = pEpForiOS/Info.plist;
    2.39 @@ -1266,6 +1274,7 @@
    2.40  			isa = XCBuildConfiguration;
    2.41  			buildSettings = {
    2.42  				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
    2.43 +				CODE_SIGN_ENTITLEMENTS = pEp.entitlements;
    2.44  				CODE_SIGN_IDENTITY = "iPhone Developer";
    2.45  				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
    2.46  				INFOPLIST_FILE = pEpForiOS/Info.plist;