Browse Source

Merge branch 'IPS-67'

master
Dirk Zimmermann 1 month ago
parent
commit
5f12d88767
3 changed files with 592 additions and 0 deletions
  1. +92
    -0
      build-mac/.gitignore
  2. +493
    -0
      build-mac/pEpTransport/pEpTransport.xcodeproj/project.pbxproj
  3. +7
    -0
      build-mac/pEpTransport/pEpTransport.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+ 92
- 0
build-mac/.gitignore View File

@ -0,0 +1,92 @@
*.swp
### Objective-C ###
# Xcode
## Build generated
build/
DerivedData/
## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM
### Objective-C Patch ###
### OSX ###
# General
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
## Playgrounds
timeline.xctimeline
playground.xcworkspace
# Swift Package Manager
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
.build/
### Xcode Patch ###
**/xcshareddata/WorkspaceSettings.xcsettings
# vim workspace
ws
# Python runtime files
__pycache__/
*.py[cod]
*$py.class
# C build ouptut
*.so
*.a
*.o
#Build folders
build/

+ 493
- 0
build-mac/pEpTransport/pEpTransport.xcodeproj/project.pbxproj View File

@ -0,0 +1,493 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {
/* Begin PBXAggregateTarget section */
43B263AE272AB0BB00EE82BC /* generate_code_macOS */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 43B263B1272AB0BB00EE82BC /* Build configuration list for PBXAggregateTarget "generate_code_macOS" */;
buildPhases = (
43B263B2272AB0DD00EE82BC /* ShellScript */,
);
dependencies = (
);
name = generate_code_macOS;
productName = generate_code_macOS;
};
43B263D0272AC14700EE82BC /* generate_code_iOS */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 43B263D2272AC14700EE82BC /* Build configuration list for PBXAggregateTarget "generate_code_iOS" */;
buildPhases = (
43B263D1272AC14700EE82BC /* ShellScript */,
);
dependencies = (
);
name = generate_code_iOS;
productName = generate_code_macOS;
};
/* End PBXAggregateTarget section */
/* Begin PBXContainerItemProxy section */
43B263B3272ABF8000EE82BC /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 43B26348272AA95000EE82BC /* Project object */;
proxyType = 1;
remoteGlobalIDString = 43B263AE272AB0BB00EE82BC;
remoteInfo = generate_code_macOS;
};
43B263D5272AC15700EE82BC /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 43B26348272AA95000EE82BC /* Project object */;
proxyType = 1;
remoteGlobalIDString = 43B263D0272AC14700EE82BC;
remoteInfo = generate_code_iOS;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
43B26350272AA95000EE82BC /* libpEpTransport_macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libpEpTransport_macOS.a; sourceTree = BUILT_PRODUCTS_DIR; };
43B263CF272AC13400EE82BC /* libpEpTransport_iOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libpEpTransport_iOS.a; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
43B2634E272AA95000EE82BC /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
43B263CB272AC13400EE82BC /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
43B26347272AA95000EE82BC = {
isa = PBXGroup;
children = (
43B26351272AA95000EE82BC /* Products */,
);
sourceTree = "<group>";
};
43B26351272AA95000EE82BC /* Products */ = {
isa = PBXGroup;
children = (
43B26350272AA95000EE82BC /* libpEpTransport_macOS.a */,
43B263CF272AC13400EE82BC /* libpEpTransport_iOS.a */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
43B2634C272AA95000EE82BC /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
43B263C9272AC13400EE82BC /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
43B2634F272AA95000EE82BC /* pEpTransport_macOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 43B26354272AA95000EE82BC /* Build configuration list for PBXNativeTarget "pEpTransport_macOS" */;
buildPhases = (
43B2634C272AA95000EE82BC /* Headers */,
43B2634D272AA95000EE82BC /* Sources */,
43B2634E272AA95000EE82BC /* Frameworks */,
);
buildRules = (
);
dependencies = (
43B263B4272ABF8000EE82BC /* PBXTargetDependency */,
);
name = pEpTransport_macOS;
productName = pEpTransport;
productReference = 43B26350272AA95000EE82BC /* libpEpTransport_macOS.a */;
productType = "com.apple.product-type.library.static";
};
43B263C6272AC13400EE82BC /* pEpTransport_iOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 43B263CC272AC13400EE82BC /* Build configuration list for PBXNativeTarget "pEpTransport_iOS" */;
buildPhases = (
43B263C9272AC13400EE82BC /* Headers */,
43B263CA272AC13400EE82BC /* Sources */,
43B263CB272AC13400EE82BC /* Frameworks */,
);
buildRules = (
);
dependencies = (
43B263D6272AC15700EE82BC /* PBXTargetDependency */,
);
name = pEpTransport_iOS;
productName = pEpTransport;
productReference = 43B263CF272AC13400EE82BC /* libpEpTransport_iOS.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
43B26348272AA95000EE82BC /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1250;
TargetAttributes = {
43B2634F272AA95000EE82BC = {
CreatedOnToolsVersion = 12.5;
};
43B263AE272AB0BB00EE82BC = {
CreatedOnToolsVersion = 12.5;
};
};
};
buildConfigurationList = 43B2634B272AA95000EE82BC /* Build configuration list for PBXProject "pEpTransport" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 43B26347272AA95000EE82BC;
productRefGroup = 43B26351272AA95000EE82BC /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
43B2634F272AA95000EE82BC /* pEpTransport_macOS */,
43B263C6272AC13400EE82BC /* pEpTransport_iOS */,
43B263AE272AB0BB00EE82BC /* generate_code_macOS */,
43B263D0272AC14700EE82BC /* generate_code_iOS */,
);
};
/* End PBXProject section */
/* Begin PBXShellScriptBuildPhase section */
43B263B2272AB0DD00EE82BC /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/sh -l";
shellScript = "export LANG=en_US.UTF-8\n\necho \"***************************************\"\necho \"*** Generate files: ACTION: $ACTION ***\"\necho \"***************************************\"\n\nLIB_TRANSPORT_DIR=\"${PROJECT_DIR}/../..\"\nENGINE_DIR=\"${LIB_TRANSPORT_DIR}/../pEpEngine\"\nENGINE_INCLUDE_DIR=\"${ENGINE_DIR}/build-mac/build/include/pEp\"\n\nmkdir -p ${ENGINE_INCLUDE_DIR}\n\ncd \"${LIB_TRANSPORT_DIR}\"\nmake\n\n# satify PEPObjCTypeUtils\ncp ${LIB_TRANSPORT_DIR}/src/transport_status_code.h ${ENGINE_INCLUDE_DIR}\n";
};
43B263D1272AC14700EE82BC /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/sh -l";
shellScript = "export LANG=en_US.UTF-8\n\necho \"***************************************\"\necho \"*** Generate files: ACTION: $ACTION ***\"\necho \"***************************************\"\n\nLIB_TRANSPORT_DIR=\"${PROJECT_DIR}/../..\"\nENGINE_DIR=\"${LIB_TRANSPORT_DIR}/../pEpEngine\"\nENGINE_INCLUDE_DIR=\"${ENGINE_DIR}/build-mac/build/include/pEp\"\n\nmkdir -p ${ENGINE_INCLUDE_DIR}\n\ncd \"${LIB_TRANSPORT_DIR}\"\nmake\n\n# satify PEPObjCTypeUtils\ncp ${LIB_TRANSPORT_DIR}/src/transport_status_code.h ${ENGINE_INCLUDE_DIR}\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
43B2634D272AA95000EE82BC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
43B263CA272AC13400EE82BC /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
43B263B4272ABF8000EE82BC /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 43B263AE272AB0BB00EE82BC /* generate_code_macOS */;
targetProxy = 43B263B3272ABF8000EE82BC /* PBXContainerItemProxy */;
};
43B263D6272AC15700EE82BC /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 43B263D0272AC14700EE82BC /* generate_code_iOS */;
targetProxy = 43B263D5272AC15700EE82BC /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
43B26352272AA95000EE82BC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.3;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
43B26353272AA95000EE82BC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_COMMA = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INFINITE_RECURSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
CLANG_WARN_STRICT_PROTOTYPES = YES;
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu11;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 11.3;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
};
name = Release;
};
43B26355272AA95000EE82BC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
EXECUTABLE_PREFIX = lib;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
43B26356272AA95000EE82BC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
EXECUTABLE_PREFIX = lib;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
43B263AF272AB0BB00EE82BC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
43B263B0272AB0BB00EE82BC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
43B263CD272AC13400EE82BC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
EXECUTABLE_PREFIX = lib;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
43B263CE272AC13400EE82BC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
EXECUTABLE_PREFIX = lib;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
43B263D3272AC14700EE82BC /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
43B263D4272AC14700EE82BC /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
43B2634B272AA95000EE82BC /* Build configuration list for PBXProject "pEpTransport" */ = {
isa = XCConfigurationList;
buildConfigurations = (
43B26352272AA95000EE82BC /* Debug */,
43B26353272AA95000EE82BC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
43B26354272AA95000EE82BC /* Build configuration list for PBXNativeTarget "pEpTransport_macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
43B26355272AA95000EE82BC /* Debug */,
43B26356272AA95000EE82BC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
43B263B1272AB0BB00EE82BC /* Build configuration list for PBXAggregateTarget "generate_code_macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
43B263AF272AB0BB00EE82BC /* Debug */,
43B263B0272AB0BB00EE82BC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
43B263CC272AC13400EE82BC /* Build configuration list for PBXNativeTarget "pEpTransport_iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
43B263CD272AC13400EE82BC /* Debug */,
43B263CE272AC13400EE82BC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
43B263D2272AC14700EE82BC /* Build configuration list for PBXAggregateTarget "generate_code_iOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
43B263D3272AC14700EE82BC /* Debug */,
43B263D4272AC14700EE82BC /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 43B26348272AA95000EE82BC /* Project object */;
}

+ 7
- 0
build-mac/pEpTransport/pEpTransport.xcodeproj/project.xcworkspace/contents.xcworkspacedata View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

Loading…
Cancel
Save