IOS-1482 Xcode: Extra target for sync files generation. IOS-1482
authorDirk Zimmermann <dz@pep.security>
Tue, 09 Apr 2019 16:02:46 +0200
branchIOS-1482
changeset 34793b2ab4fdde51
parent 3478 435ea4587f68
child 3480 689c15d6bef7
IOS-1482 Xcode: Extra target for sync files generation.
build-mac/pEpEngine.xcodeproj/project.pbxproj
build-mac/pEpTrustWords copy-Info.plist
     1.1 --- a/build-mac/pEpEngine.xcodeproj/project.pbxproj	Tue Apr 09 16:02:46 2019 +0200
     1.2 +++ b/build-mac/pEpEngine.xcodeproj/project.pbxproj	Tue Apr 09 16:02:46 2019 +0200
     1.3 @@ -28,6 +28,7 @@
     1.4  		438C439B2167582500C7425B /* sync_api.h in Headers */ = {isa = PBXBuildFile; fileRef = 438C43962167582400C7425B /* sync_api.h */; };
     1.5  		438C43B52167752C00C7425B /* labeled_int_list.h in Headers */ = {isa = PBXBuildFile; fileRef = 438C43AF2167752C00C7425B /* labeled_int_list.h */; };
     1.6  		438C43B62167752C00C7425B /* labeled_int_list.c in Sources */ = {isa = PBXBuildFile; fileRef = 438C43B42167752C00C7425B /* labeled_int_list.c */; };
     1.7 +		43D47A84225CC60600E97C5B /* system.db in Resources */ = {isa = PBXBuildFile; fileRef = 64951A1B1BE0FCD800B10E71 /* system.db */; };
     1.8  		43F6921D1F164A47009418F5 /* resource_id.c in Sources */ = {isa = PBXBuildFile; fileRef = 43F6921C1F164A47009418F5 /* resource_id.c */; };
     1.9  		43F73BF02166269200AB4524 /* PString.c in Sources */ = {isa = PBXBuildFile; fileRef = 43F73BEB2166269200AB4524 /* PString.c */; };
    1.10  		43F73BF2216626E100AB4524 /* Sync_func.c in Sources */ = {isa = PBXBuildFile; fileRef = 43F73BF1216626E100AB4524 /* Sync_func.c */; };
    1.11 @@ -156,6 +157,13 @@
    1.12  /* End PBXBuildFile section */
    1.13  
    1.14  /* Begin PBXContainerItemProxy section */
    1.15 +		43D47A8F225CC63E00E97C5B /* PBXContainerItemProxy */ = {
    1.16 +			isa = PBXContainerItemProxy;
    1.17 +			containerPortal = 64796A371B455AA5004B1C24 /* Project object */;
    1.18 +			proxyType = 1;
    1.19 +			remoteGlobalIDString = 43D47A7F225CC60600E97C5B;
    1.20 +			remoteInfo = pEpGenerateSync;
    1.21 +		};
    1.22  		64289E321B8B630200FC617B /* PBXContainerItemProxy */ = {
    1.23  			isa = PBXContainerItemProxy;
    1.24  			containerPortal = 64DA24121B832EBA000BEE80 /* libetpan.xcodeproj */;
    1.25 @@ -235,6 +243,8 @@
    1.26  		438C43962167582400C7425B /* sync_api.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sync_api.h; path = ../src/sync_api.h; sourceTree = "<group>"; };
    1.27  		438C43AF2167752C00C7425B /* labeled_int_list.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = labeled_int_list.h; path = ../src/labeled_int_list.h; sourceTree = "<group>"; };
    1.28  		438C43B42167752C00C7425B /* labeled_int_list.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = labeled_int_list.c; path = ../src/labeled_int_list.c; sourceTree = "<group>"; };
    1.29 +		43D47A88225CC60600E97C5B /* pEpTrustWords-iPad.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "pEpTrustWords-iPad.bundle"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.30 +		43D47A8A225CC60600E97C5B /* pEpTrustWords copy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "pEpTrustWords copy-Info.plist"; path = "/Users/dirk/projects/pEp/pEpEngine/build-mac/pEpTrustWords copy-Info.plist"; sourceTree = "<absolute>"; };
    1.31  		43F6921C1F164A47009418F5 /* resource_id.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = resource_id.c; path = ../src/resource_id.c; sourceTree = "<group>"; };
    1.32  		43F73BEB2166269200AB4524 /* PString.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = PString.c; path = ../asn.1/PString.c; sourceTree = "<group>"; };
    1.33  		43F73BF1216626E100AB4524 /* Sync_func.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = Sync_func.c; path = ../src/Sync_func.c; sourceTree = "<group>"; };
    1.34 @@ -388,6 +398,13 @@
    1.35  /* End PBXFileReference section */
    1.36  
    1.37  /* Begin PBXFrameworksBuildPhase section */
    1.38 +		43D47A81225CC60600E97C5B /* Frameworks */ = {
    1.39 +			isa = PBXFrameworksBuildPhase;
    1.40 +			buildActionMask = 2147483647;
    1.41 +			files = (
    1.42 +			);
    1.43 +			runOnlyForDeploymentPostprocessing = 0;
    1.44 +		};
    1.45  		644297BC1BE11C65002BC73B /* Frameworks */ = {
    1.46  			isa = PBXFrameworksBuildPhase;
    1.47  			buildActionMask = 2147483647;
    1.48 @@ -408,6 +425,13 @@
    1.49  /* End PBXFrameworksBuildPhase section */
    1.50  
    1.51  /* Begin PBXGroup section */
    1.52 +		43D47A89225CC60600E97C5B /* Resources-iPad */ = {
    1.53 +			isa = PBXGroup;
    1.54 +			children = (
    1.55 +			);
    1.56 +			name = "Resources-iPad";
    1.57 +			sourceTree = "<group>";
    1.58 +		};
    1.59  		6406CE811CE382F400C14D77 /* asn.1 */ = {
    1.60  			isa = PBXGroup;
    1.61  			children = (
    1.62 @@ -544,6 +568,7 @@
    1.63  		64796A361B455AA5004B1C24 = {
    1.64  			isa = PBXGroup;
    1.65  			children = (
    1.66 +				43D47A89225CC60600E97C5B /* Resources-iPad */,
    1.67  				64951A1B1BE0FCD800B10E71 /* system.db */,
    1.68  				64DA24121B832EBA000BEE80 /* libetpan.xcodeproj */,
    1.69  				64DA240C1B832EA0000BEE80 /* netpgp.xcodeproj */,
    1.70 @@ -552,6 +577,7 @@
    1.71  				64A8264B1B455C5600EECAF0 /* srcref */,
    1.72  				644297C01BE11C65002BC73B /* pEpTrustWords */,
    1.73  				64796A401B455AA5004B1C24 /* Products */,
    1.74 +				43D47A8A225CC60600E97C5B /* pEpTrustWords copy-Info.plist */,
    1.75  			);
    1.76  			sourceTree = "<group>";
    1.77  		};
    1.78 @@ -560,6 +586,7 @@
    1.79  			children = (
    1.80  				64796A3F1B455AA5004B1C24 /* libpEpEngine.a */,
    1.81  				644297BF1BE11C65002BC73B /* pEpTrustWords.bundle */,
    1.82 +				43D47A88225CC60600E97C5B /* pEpTrustWords-iPad.bundle */,
    1.83  			);
    1.84  			name = Products;
    1.85  			sourceTree = "<group>";
    1.86 @@ -708,6 +735,24 @@
    1.87  /* End PBXHeadersBuildPhase section */
    1.88  
    1.89  /* Begin PBXNativeTarget section */
    1.90 +		43D47A7F225CC60600E97C5B /* pEpGenerateSync */ = {
    1.91 +			isa = PBXNativeTarget;
    1.92 +			buildConfigurationList = 43D47A85225CC60600E97C5B /* Build configuration list for PBXNativeTarget "pEpGenerateSync" */;
    1.93 +			buildPhases = (
    1.94 +				43D47A80225CC60600E97C5B /* Sources */,
    1.95 +				43D47A81225CC60600E97C5B /* Frameworks */,
    1.96 +				43D47A82225CC60600E97C5B /* ShellScript */,
    1.97 +				43D47A83225CC60600E97C5B /* Resources */,
    1.98 +			);
    1.99 +			buildRules = (
   1.100 +			);
   1.101 +			dependencies = (
   1.102 +			);
   1.103 +			name = pEpGenerateSync;
   1.104 +			productName = pEpTrustWords;
   1.105 +			productReference = 43D47A88225CC60600E97C5B /* pEpTrustWords-iPad.bundle */;
   1.106 +			productType = "com.apple.product-type.bundle";
   1.107 +		};
   1.108  		644297BE1BE11C65002BC73B /* pEpTrustWords */ = {
   1.109  			isa = PBXNativeTarget;
   1.110  			buildConfigurationList = 644297C21BE11C65002BC73B /* Build configuration list for PBXNativeTarget "pEpTrustWords" */;
   1.111 @@ -730,7 +775,6 @@
   1.112  			isa = PBXNativeTarget;
   1.113  			buildConfigurationList = 64796A531B455AA5004B1C24 /* Build configuration list for PBXNativeTarget "pEpEngine" */;
   1.114  			buildPhases = (
   1.115 -				64BDD59B1B7A2E1B00AC43AE /* Run Script */,
   1.116  				64796A3B1B455AA5004B1C24 /* Sources */,
   1.117  				64796A3C1B455AA5004B1C24 /* Frameworks */,
   1.118  				64796A3D1B455AA5004B1C24 /* CopyFiles */,
   1.119 @@ -739,6 +783,7 @@
   1.120  			buildRules = (
   1.121  			);
   1.122  			dependencies = (
   1.123 +				43D47A90225CC63E00E97C5B /* PBXTargetDependency */,
   1.124  				645922541B8BD53F00A5AF93 /* PBXTargetDependency */,
   1.125  				64289E3F1B8B638800FC617B /* PBXTargetDependency */,
   1.126  			);
   1.127 @@ -789,6 +834,7 @@
   1.128  			targets = (
   1.129  				64796A3E1B455AA5004B1C24 /* pEpEngine */,
   1.130  				644297BE1BE11C65002BC73B /* pEpTrustWords */,
   1.131 +				43D47A7F225CC60600E97C5B /* pEpGenerateSync */,
   1.132  			);
   1.133  		};
   1.134  /* End PBXProject section */
   1.135 @@ -825,6 +871,14 @@
   1.136  /* End PBXReferenceProxy section */
   1.137  
   1.138  /* Begin PBXResourcesBuildPhase section */
   1.139 +		43D47A83225CC60600E97C5B /* Resources */ = {
   1.140 +			isa = PBXResourcesBuildPhase;
   1.141 +			buildActionMask = 2147483647;
   1.142 +			files = (
   1.143 +				43D47A84225CC60600E97C5B /* system.db in Resources */,
   1.144 +			);
   1.145 +			runOnlyForDeploymentPostprocessing = 0;
   1.146 +		};
   1.147  		644297BD1BE11C65002BC73B /* Resources */ = {
   1.148  			isa = PBXResourcesBuildPhase;
   1.149  			buildActionMask = 2147483647;
   1.150 @@ -836,6 +890,19 @@
   1.151  /* End PBXResourcesBuildPhase section */
   1.152  
   1.153  /* Begin PBXShellScriptBuildPhase section */
   1.154 +		43D47A82225CC60600E97C5B /* ShellScript */ = {
   1.155 +			isa = PBXShellScriptBuildPhase;
   1.156 +			buildActionMask = 2147483647;
   1.157 +			files = (
   1.158 +			);
   1.159 +			inputPaths = (
   1.160 +			);
   1.161 +			outputPaths = (
   1.162 +			);
   1.163 +			runOnlyForDeploymentPostprocessing = 0;
   1.164 +			shellPath = /bin/sh;
   1.165 +			shellScript = "export LANG=en_US.UTF-8\nmkdir -p \"$BUILT_PRODUCTS_DIR/include\"\n\ncd \"$SRCROOT/..\"\n\nbash -l -c \"gmake -C sync\"\nbash -l -c \"gmake -C asn.1 Sync.c\"\n";
   1.166 +		};
   1.167  		644297C61BE11D00002BC73B /* ShellScript */ = {
   1.168  			isa = PBXShellScriptBuildPhase;
   1.169  			buildActionMask = 2147483647;
   1.170 @@ -849,23 +916,16 @@
   1.171  			shellPath = /bin/sh;
   1.172  			shellScript = "make -C \"$SRCROOT/../db\" system.db\n";
   1.173  		};
   1.174 -		64BDD59B1B7A2E1B00AC43AE /* Run Script */ = {
   1.175 -			isa = PBXShellScriptBuildPhase;
   1.176 +/* End PBXShellScriptBuildPhase section */
   1.177 +
   1.178 +/* Begin PBXSourcesBuildPhase section */
   1.179 +		43D47A80225CC60600E97C5B /* Sources */ = {
   1.180 +			isa = PBXSourcesBuildPhase;
   1.181  			buildActionMask = 2147483647;
   1.182  			files = (
   1.183  			);
   1.184 -			inputPaths = (
   1.185 -			);
   1.186 -			name = "Run Script";
   1.187 -			outputPaths = (
   1.188 -			);
   1.189  			runOnlyForDeploymentPostprocessing = 0;
   1.190 -			shellPath = /bin/sh;
   1.191 -			shellScript = "export LANG=en_US.UTF-8\nmkdir -p \"$BUILT_PRODUCTS_DIR/include\"\n\ncd \"$SRCROOT/..\"\n\nbash -l -c \"gmake -C sync\"\nbash -l -c \"gmake -C asn.1 Sync.c\"\n";
   1.192  		};
   1.193 -/* End PBXShellScriptBuildPhase section */
   1.194 -
   1.195 -/* Begin PBXSourcesBuildPhase section */
   1.196  		644297BB1BE11C65002BC73B /* Sources */ = {
   1.197  			isa = PBXSourcesBuildPhase;
   1.198  			buildActionMask = 2147483647;
   1.199 @@ -966,6 +1026,11 @@
   1.200  /* End PBXSourcesBuildPhase section */
   1.201  
   1.202  /* Begin PBXTargetDependency section */
   1.203 +		43D47A90225CC63E00E97C5B /* PBXTargetDependency */ = {
   1.204 +			isa = PBXTargetDependency;
   1.205 +			target = 43D47A7F225CC60600E97C5B /* pEpGenerateSync */;
   1.206 +			targetProxy = 43D47A8F225CC63E00E97C5B /* PBXContainerItemProxy */;
   1.207 +		};
   1.208  		64289E3F1B8B638800FC617B /* PBXTargetDependency */ = {
   1.209  			isa = PBXTargetDependency;
   1.210  			name = "libetpan ios";
   1.211 @@ -979,6 +1044,30 @@
   1.212  /* End PBXTargetDependency section */
   1.213  
   1.214  /* Begin XCBuildConfiguration section */
   1.215 +		43D47A86225CC60600E97C5B /* Debug */ = {
   1.216 +			isa = XCBuildConfiguration;
   1.217 +			buildSettings = {
   1.218 +				INFOPLIST_FILE = "pEpTrustWords copy-Info.plist";
   1.219 +				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
   1.220 +				PRODUCT_BUNDLE_IDENTIFIER = com.pep.pEpTrustWords;
   1.221 +				PRODUCT_NAME = "pEpTrustWords-iPad";
   1.222 +				TARGETED_DEVICE_FAMILY = 2;
   1.223 +				WRAPPER_EXTENSION = bundle;
   1.224 +			};
   1.225 +			name = Debug;
   1.226 +		};
   1.227 +		43D47A87225CC60600E97C5B /* Release */ = {
   1.228 +			isa = XCBuildConfiguration;
   1.229 +			buildSettings = {
   1.230 +				INFOPLIST_FILE = "pEpTrustWords copy-Info.plist";
   1.231 +				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
   1.232 +				PRODUCT_BUNDLE_IDENTIFIER = com.pep.pEpTrustWords;
   1.233 +				PRODUCT_NAME = "pEpTrustWords-iPad";
   1.234 +				TARGETED_DEVICE_FAMILY = 2;
   1.235 +				WRAPPER_EXTENSION = bundle;
   1.236 +			};
   1.237 +			name = Release;
   1.238 +		};
   1.239  		644297C31BE11C65002BC73B /* Debug */ = {
   1.240  			isa = XCBuildConfiguration;
   1.241  			buildSettings = {
   1.242 @@ -1158,6 +1247,15 @@
   1.243  /* End XCBuildConfiguration section */
   1.244  
   1.245  /* Begin XCConfigurationList section */
   1.246 +		43D47A85225CC60600E97C5B /* Build configuration list for PBXNativeTarget "pEpGenerateSync" */ = {
   1.247 +			isa = XCConfigurationList;
   1.248 +			buildConfigurations = (
   1.249 +				43D47A86225CC60600E97C5B /* Debug */,
   1.250 +				43D47A87225CC60600E97C5B /* Release */,
   1.251 +			);
   1.252 +			defaultConfigurationIsVisible = 0;
   1.253 +			defaultConfigurationName = Release;
   1.254 +		};
   1.255  		644297C21BE11C65002BC73B /* Build configuration list for PBXNativeTarget "pEpTrustWords" */ = {
   1.256  			isa = XCConfigurationList;
   1.257  			buildConfigurations = (
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/build-mac/pEpTrustWords copy-Info.plist	Tue Apr 09 16:02:46 2019 +0200
     2.3 @@ -0,0 +1,28 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     2.6 +<plist version="1.0">
     2.7 +<dict>
     2.8 +	<key>CFBundleDevelopmentRegion</key>
     2.9 +	<string>en</string>
    2.10 +	<key>CFBundlePackageType</key>
    2.11 +	<string>BNDL</string>
    2.12 +	<key>CFBundleIdentifier</key>
    2.13 +	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    2.14 +	<key>CFBundleInfoDictionaryVersion</key>
    2.15 +	<string>6.0</string>
    2.16 +	<key>CFBundleName</key>
    2.17 +	<string>$(PRODUCT_NAME)</string>
    2.18 +	<key>CFBundlePackageType</key>
    2.19 +	<string>BNDL</string>
    2.20 +	<key>CFBundleShortVersionString</key>
    2.21 +	<string>1.0</string>
    2.22 +	<key>CFBundleSignature</key>
    2.23 +	<string>????</string>
    2.24 +	<key>CFBundleVersion</key>
    2.25 +	<string>1</string>
    2.26 +	<key>NSHumanReadableCopyright</key>
    2.27 +	<string>Copyright © 2015 Edouard Tisserant. All rights reserved.</string>
    2.28 +	<key>NSPrincipalClass</key>
    2.29 +	<string></string>
    2.30 +</dict>
    2.31 +</plist>