Browse Source

IOS-1482 Xcode: Extra target for sync files generation.

IOS-1482
Dirk Zimmermann 3 years ago
parent
commit
cbbdb69b4a
2 changed files with 132 additions and 6 deletions
  1. +104
    -6
      build-mac/pEpEngine.xcodeproj/project.pbxproj
  2. +28
    -0
      build-mac/pEpTrustWords copy-Info.plist

+ 104
- 6
build-mac/pEpEngine.xcodeproj/project.pbxproj View File

@ -28,6 +28,7 @@
438C439B2167582500C7425B /* sync_api.h in Headers */ = {isa = PBXBuildFile; fileRef = 438C43962167582400C7425B /* sync_api.h */; };
438C43B52167752C00C7425B /* labeled_int_list.h in Headers */ = {isa = PBXBuildFile; fileRef = 438C43AF2167752C00C7425B /* labeled_int_list.h */; };
438C43B62167752C00C7425B /* labeled_int_list.c in Sources */ = {isa = PBXBuildFile; fileRef = 438C43B42167752C00C7425B /* labeled_int_list.c */; };
43D47A84225CC60600E97C5B /* system.db in Resources */ = {isa = PBXBuildFile; fileRef = 64951A1B1BE0FCD800B10E71 /* system.db */; };
43F6921D1F164A47009418F5 /* resource_id.c in Sources */ = {isa = PBXBuildFile; fileRef = 43F6921C1F164A47009418F5 /* resource_id.c */; };
43F73BF02166269200AB4524 /* PString.c in Sources */ = {isa = PBXBuildFile; fileRef = 43F73BEB2166269200AB4524 /* PString.c */; };
43F73BF2216626E100AB4524 /* Sync_func.c in Sources */ = {isa = PBXBuildFile; fileRef = 43F73BF1216626E100AB4524 /* Sync_func.c */; };
@ -156,6 +157,13 @@
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
43D47A8F225CC63E00E97C5B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 64796A371B455AA5004B1C24 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 43D47A7F225CC60600E97C5B;
remoteInfo = pEpGenerateSync;
};
64289E321B8B630200FC617B /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 64DA24121B832EBA000BEE80 /* libetpan.xcodeproj */;
@ -235,6 +243,8 @@
438C43962167582400C7425B /* sync_api.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = sync_api.h; path = ../src/sync_api.h; sourceTree = "<group>"; };
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>"; };
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>"; };
43D47A88225CC60600E97C5B /* pEpTrustWords-iPad.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "pEpTrustWords-iPad.bundle"; sourceTree = BUILT_PRODUCTS_DIR; };
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>"; };
43F6921C1F164A47009418F5 /* resource_id.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = resource_id.c; path = ../src/resource_id.c; sourceTree = "<group>"; };
43F73BEB2166269200AB4524 /* PString.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = PString.c; path = ../asn.1/PString.c; sourceTree = "<group>"; };
43F73BF1216626E100AB4524 /* Sync_func.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = Sync_func.c; path = ../src/Sync_func.c; sourceTree = "<group>"; };
@ -388,6 +398,13 @@
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
43D47A81225CC60600E97C5B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
644297BC1BE11C65002BC73B /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@ -408,6 +425,13 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
43D47A89225CC60600E97C5B /* Resources-iPad */ = {
isa = PBXGroup;
children = (
);
name = "Resources-iPad";
sourceTree = "<group>";
};
6406CE811CE382F400C14D77 /* asn.1 */ = {
isa = PBXGroup;
children = (
@ -544,6 +568,7 @@
64796A361B455AA5004B1C24 = {
isa = PBXGroup;
children = (
43D47A89225CC60600E97C5B /* Resources-iPad */,
64951A1B1BE0FCD800B10E71 /* system.db */,
64DA24121B832EBA000BEE80 /* libetpan.xcodeproj */,
64DA240C1B832EA0000BEE80 /* netpgp.xcodeproj */,
@ -552,6 +577,7 @@
64A8264B1B455C5600EECAF0 /* srcref */,
644297C01BE11C65002BC73B /* pEpTrustWords */,
64796A401B455AA5004B1C24 /* Products */,
43D47A8A225CC60600E97C5B /* pEpTrustWords copy-Info.plist */,
);
sourceTree = "<group>";
};
@ -560,6 +586,7 @@
children = (
64796A3F1B455AA5004B1C24 /* libpEpEngine.a */,
644297BF1BE11C65002BC73B /* pEpTrustWords.bundle */,
43D47A88225CC60600E97C5B /* pEpTrustWords-iPad.bundle */,
);
name = Products;
sourceTree = "<group>";
@ -708,6 +735,24 @@
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
43D47A7F225CC60600E97C5B /* pEpGenerateSync */ = {
isa = PBXNativeTarget;
buildConfigurationList = 43D47A85225CC60600E97C5B /* Build configuration list for PBXNativeTarget "pEpGenerateSync" */;
buildPhases = (
43D47A80225CC60600E97C5B /* Sources */,
43D47A81225CC60600E97C5B /* Frameworks */,
43D47A82225CC60600E97C5B /* ShellScript */,
43D47A83225CC60600E97C5B /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = pEpGenerateSync;
productName = pEpTrustWords;
productReference = 43D47A88225CC60600E97C5B /* pEpTrustWords-iPad.bundle */;
productType = "com.apple.product-type.bundle";
};
644297BE1BE11C65002BC73B /* pEpTrustWords */ = {
isa = PBXNativeTarget;
buildConfigurationList = 644297C21BE11C65002BC73B /* Build configuration list for PBXNativeTarget "pEpTrustWords" */;
@ -730,7 +775,6 @@
isa = PBXNativeTarget;
buildConfigurationList = 64796A531B455AA5004B1C24 /* Build configuration list for PBXNativeTarget "pEpEngine" */;
buildPhases = (
64BDD59B1B7A2E1B00AC43AE /* Run Script */,
64796A3B1B455AA5004B1C24 /* Sources */,
64796A3C1B455AA5004B1C24 /* Frameworks */,
64796A3D1B455AA5004B1C24 /* CopyFiles */,
@ -739,6 +783,7 @@
buildRules = (
);
dependencies = (
43D47A90225CC63E00E97C5B /* PBXTargetDependency */,
645922541B8BD53F00A5AF93 /* PBXTargetDependency */,
64289E3F1B8B638800FC617B /* PBXTargetDependency */,
);
@ -789,6 +834,7 @@
targets = (
64796A3E1B455AA5004B1C24 /* pEpEngine */,
644297BE1BE11C65002BC73B /* pEpTrustWords */,
43D47A7F225CC60600E97C5B /* pEpGenerateSync */,
);
};
/* End PBXProject section */
@ -825,6 +871,14 @@
/* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */
43D47A83225CC60600E97C5B /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
43D47A84225CC60600E97C5B /* system.db in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
644297BD1BE11C65002BC73B /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@ -836,7 +890,7 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
644297C61BE11D00002BC73B /* ShellScript */ = {
43D47A82225CC60600E97C5B /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -847,25 +901,31 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "make -C \"$SRCROOT/../db\" system.db\n";
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";
};
64BDD59B1B7A2E1B00AC43AE /* Run Script */ = {
644297C61BE11D00002BC73B /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Run Script";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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";
shellScript = "make -C \"$SRCROOT/../db\" system.db\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
43D47A80225CC60600E97C5B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
644297BB1BE11C65002BC73B /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@ -966,6 +1026,11 @@
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
43D47A90225CC63E00E97C5B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 43D47A7F225CC60600E97C5B /* pEpGenerateSync */;
targetProxy = 43D47A8F225CC63E00E97C5B /* PBXContainerItemProxy */;
};
64289E3F1B8B638800FC617B /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "libetpan ios";
@ -979,6 +1044,30 @@
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
43D47A86225CC60600E97C5B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = "pEpTrustWords copy-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
PRODUCT_BUNDLE_IDENTIFIER = com.pep.pEpTrustWords;
PRODUCT_NAME = "pEpTrustWords-iPad";
TARGETED_DEVICE_FAMILY = 2;
WRAPPER_EXTENSION = bundle;
};
name = Debug;
};
43D47A87225CC60600E97C5B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
INFOPLIST_FILE = "pEpTrustWords copy-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
PRODUCT_BUNDLE_IDENTIFIER = com.pep.pEpTrustWords;
PRODUCT_NAME = "pEpTrustWords-iPad";
TARGETED_DEVICE_FAMILY = 2;
WRAPPER_EXTENSION = bundle;
};
name = Release;
};
644297C31BE11C65002BC73B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -1158,6 +1247,15 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
43D47A85225CC60600E97C5B /* Build configuration list for PBXNativeTarget "pEpGenerateSync" */ = {
isa = XCConfigurationList;
buildConfigurations = (
43D47A86225CC60600E97C5B /* Debug */,
43D47A87225CC60600E97C5B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
644297C21BE11C65002BC73B /* Build configuration list for PBXNativeTarget "pEpTrustWords" */ = {
isa = XCConfigurationList;
buildConfigurations = (


+ 28
- 0
build-mac/pEpTrustWords copy-Info.plist View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 Edouard Tisserant. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

Loading…
Cancel
Save