Browse Source

first sketch on whiteboard

master
Andreas Buff 4 months ago
parent
commit
8a7ec5ba4f
13 changed files with 386 additions and 66 deletions
  1. +20
    -0
      Interface/PEPMessage+PEPMessage_MIME/PEPMessage+PEPMessage_MIME.h
  2. +31
    -0
      Interface/PEPMessage+PEPMessage_MIME/PEPMessage+PEPMessage_MIME.m
  3. +0
    -0
      Interface/pEpMimeObjCAdapter.h
  4. +0
    -0
      Interface/pEpMimeObjCAdapter.m
  5. +20
    -0
      PEPMIME2PEPMessageUtil/PEPMIME2PEPMessageUtil.h
  6. +21
    -0
      PEPMIME2PEPMessageUtil/PEPMIME2PEPMessageUtil.m
  7. +21
    -0
      PEPMessage2MIMEUtil/PEPMessage2MIMEUtil.h
  8. +25
    -0
      PEPMessage2MIMEUtil/PEPMessage2MIMEUtil.mm
  9. +40
    -15
      README.md
  10. +0
    -12
      libpepmimeobjcadapter_macOS/libpepmimeobjcadapter_macOS.h
  11. +0
    -12
      libpepmimeobjcadapter_macOS/libpepmimeobjcadapter_macOS.m
  12. +204
    -23
      pEpMimeObjCAdapter.xcodeproj/project.pbxproj
  13. +4
    -4
      pEpMimeObjCAdapter.xcodeproj/xcshareddata/xcschemes/libpEpMimeObjCAdapter_macOS.xcscheme

+ 20
- 0
Interface/PEPMessage+PEPMessage_MIME/PEPMessage+PEPMessage_MIME.h View File

@ -0,0 +1,20 @@
//
// PEPMessage+PEPMessage_MIME.h
// pEpMimeObjCAdapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
@import PEPObjCAdapterTypes_macOS;
NS_ASSUME_NONNULL_BEGIN
@interface PEPMessage (PEPMessage_MIME)
- (NSData*)mimeData;
- (instancetype) initWithMimeData:(NSData *)mimeData;
@end
NS_ASSUME_NONNULL_END

+ 31
- 0
Interface/PEPMessage+PEPMessage_MIME/PEPMessage+PEPMessage_MIME.m View File

@ -0,0 +1,31 @@
//
// PEPMessage+PEPMessage_MIME.m
// pEpMimeObjCAdapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
#import "PEPMessage+PEPMessage_MIME.h"
#import "PEPMessage2MIMEUtil.h"
#import "PEPMIME2PEPMessageUtil.h"
@implementation PEPMessage (PEPMessage_MIME)
- (instancetype) initWithMimeData:(NSData *)mimeData {
if (self = [self init]) {
PEPMIME2PEPMessageUtil *util = [PEPMIME2PEPMessageUtil new];
NSError *error = nil;
self = [util pEpMessageWithMimeData:mimeData error:&error];
}
return self;
}
- (NSData*)mimeData {
PEPMessage2MIMEUtil *util = [PEPMessage2MIMEUtil new];
NSError *error = nil;
NSData *mimeData = [util mimeDataFromPEPMessage:self error:&error];
return mimeData;
}
@end

PublicHeaders/pEpMimeObjCAdapter.h → Interface/pEpMimeObjCAdapter.h View File


PublicHeaders/pEpMimeObjCAdapter.m → Interface/pEpMimeObjCAdapter.m View File


+ 20
- 0
PEPMIME2PEPMessageUtil/PEPMIME2PEPMessageUtil.h View File

@ -0,0 +1,20 @@
//
// PEPMIME2PEPMessageUtil.h
// pEpMimeObjCAdapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
#import <Foundation/Foundation.h>
@class PEPMessage;
NS_ASSUME_NONNULL_BEGIN
@interface PEPMIME2PEPMessageUtil : NSObject
- (PEPMessage*)pEpMessageWithMimeData:(NSData *)mimeData error: (NSError **)error;
@end
NS_ASSUME_NONNULL_END

+ 21
- 0
PEPMIME2PEPMessageUtil/PEPMIME2PEPMessageUtil.m View File

@ -0,0 +1,21 @@
//
// PEPMIME2PEPMessageUtil.m
// pEpMimeObjCAdapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
#import "PEPMIME2PEPMessageUtil.h"
@import PEPObjCAdapterTypes_macOS;
@implementation PEPMIME2PEPMessageUtil
- (PEPMessage*)pEpMessageWithMimeData:(NSData *)mimeData error: (NSError **)error {
// mime to engine msg
//msg to pepmsg
return [PEPMessage new];
}
@end

+ 21
- 0
PEPMessage2MIMEUtil/PEPMessage2MIMEUtil.h View File

@ -0,0 +1,21 @@
//
// PEPMessage2MIMEUtil.h
// pEpMimeObjCAdapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
#import <Foundation/Foundation.h>
@class PEPMessage;
NS_ASSUME_NONNULL_BEGIN
@interface PEPMessage2MIMEUtil : NSObject
- (nullable NSData*)mimeDataFromPEPMessage:(PEPMessage *)pEpMessage error:(NSError **)error;
@end
NS_ASSUME_NONNULL_END

+ 25
- 0
PEPMessage2MIMEUtil/PEPMessage2MIMEUtil.mm View File

@ -0,0 +1,25 @@
//
// PEPMessage2MIMEUtil.m
// pEpMimeObjCAdapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
#import "PEPMessage2MIMEUtil.h"
#import <PEPObjCAdapterTypes_macOS/PEPObjCAdapterTypes_macOS.h>
#include <pEpMIME.hh>
@implementation PEPMessage2MIMEUtil
- (nullable NSData*)mimeDataFromPEPMessage:(PEPMessage *)pEpMessage error:(NSError **)error {
// PEPMSG 2 message
// msg to mimestring
//string to data
return nil;
}
@end

+ 40
- 15
README.md View File

@ -1,27 +1,52 @@
# WIP
## Required Tools
For building the engine, you need a working python3 environment and all dependencies:
## Dependencies
```
sudo port install git
```
## Setup instructions / Dependencies
In a directory of your choice, do:
sudo port install gmake
sudo port install autoconf
sudo port install libtool
sudo port install automake
```
mkdir src_pEpMimeObjCAdapter
cd src_pEpMimeObjCAdapter
```
mkdir src_pEpMime4macOS
cd src_pEpMime4macOS
mkdir -p local/include
mkdir -p local/lib
# Dont bother with crossbuild. We need the headers only.
git clone -b boost-1.73.0 --recursive https://github.com/boostorg/boost.git
pushd boost
./bootstrap.sh -mmacosx-version-min=10.10
./b2 -std=c++11 cxxflags=-mmacosx-version-min=10.10 --with-regex --with-filesystem --with-program_options --with-thread --with-system stage
./b2 install
cp stage/lib/*.a "../local/lib"
cp -r boost "../local/include"
popd
git clone -b "master" https://pep-security.lu/gitlab/misc/sqlite.git
git clone -b "master" https://gitea.pep.foundation/pEp.foundation/libetpan.git
git clone git://github.com/vlm/asn1c.git
pushd asn1c
git checkout tags/v0.9.28 -b pep-engine
autoreconf -iv
./configure --prefix="../local"
make install
popd
git clone -b v2.1.6 http://pep-security.lu/gitlab/macos/sequoia4macos.git
pushd sequoia4macos
sh build.sh
popd
https://gitea.pep.foundation/pEp.foundation/pEpEngine.git
git clone -b "v1.16_without_lib_prefix_defines" https://gitea.pep.foundation/buff/libiconv.git
git clone https://gitea.pep.foundation/pEp.foundation/pEpMIME.git
git clone https://gitea.pep.foundation/pep.foundation/pEpObjCAdapter.git
```
## Build
### Using Xcode


+ 0
- 12
libpepmimeobjcadapter_macOS/libpepmimeobjcadapter_macOS.h View File

@ -1,12 +0,0 @@
//
// libpepmimeobjcadapter_macOS.h
// libpepmimeobjcadapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
#import <Foundation/Foundation.h>
@interface libpepmimeobjcadapter_macOS : NSObject
@end

+ 0
- 12
libpepmimeobjcadapter_macOS/libpepmimeobjcadapter_macOS.m View File

@ -1,12 +0,0 @@
//
// libpepmimeobjcadapter_macOS.m
// libpepmimeobjcadapter_macOS
//
// Created by Andreas Buff on 01.07.21.
//
#import "libpepmimeobjcadapter_macOS.h"
@implementation libpepmimeobjcadapter_macOS
@end

+ 204
- 23
pEpMimeObjCAdapter.xcodeproj/project.pbxproj View File

@ -7,16 +7,75 @@
objects = {
/* Begin PBXBuildFile section */
1574D1A3268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 1574D1A2268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.h */; };
1574D1A5268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.m in Sources */ = {isa = PBXBuildFile; fileRef = 1574D1A4268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.m */; };
1585E8E6268E029500B822E1 /* pEpMimeObjCAdapter.h in Headers */ = {isa = PBXBuildFile; fileRef = 1574D19A268DB995003A5161 /* pEpMimeObjCAdapter.h */; settings = {ATTRIBUTES = (Public, ); }; };
1585E8E7268E029500B822E1 /* pEpMimeObjCAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 1574D19B268DB995003A5161 /* pEpMimeObjCAdapter.m */; };
1585E8F9268E112A00B822E1 /* libpEpMIME.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1585E8F1268E02BA00B822E1 /* libpEpMIME.a */; };
1585E901268E12D600B822E1 /* PEPMIME2PEPMessageUtil.m in Sources */ = {isa = PBXBuildFile; fileRef = 1585E8FF268E12D600B822E1 /* PEPMIME2PEPMessageUtil.m */; };
1585E902268E12D600B822E1 /* PEPMIME2PEPMessageUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 1585E900268E12D600B822E1 /* PEPMIME2PEPMessageUtil.h */; };
1585E907268E135500B822E1 /* PEPMessage2MIMEUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 1585E905268E135500B822E1 /* PEPMessage2MIMEUtil.h */; };
1585E908268E135500B822E1 /* PEPMessage2MIMEUtil.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1585E906268E135500B822E1 /* PEPMessage2MIMEUtil.mm */; };
1585E924268E158700B822E1 /* libPEPObjCAdapterTypes_macOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1585E91F268E157C00B822E1 /* libPEPObjCAdapterTypes_macOS.a */; };
1585E933268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.h in Headers */ = {isa = PBXBuildFile; fileRef = 1585E931268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.h */; };
1585E934268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.m in Sources */ = {isa = PBXBuildFile; fileRef = 1585E932268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.m */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
1585E8F0268E02BA00B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585E8E8268E02BA00B822E1 /* pEpMIME.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 1585E8A8268DFD9E00B822E1;
remoteInfo = pEpMIME;
};
1585E8F2268E02C400B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585E8E8268E02BA00B822E1 /* pEpMIME.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 1585E8A7268DFD9E00B822E1;
remoteInfo = pEpMIME;
};
1585E91E268E157C00B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585E918268E157C00B822E1 /* PEPObjCAdapterTypes.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 4E575858268329170084F02D;
remoteInfo = PEPObjCAdapterTypes_macOS;
};
1585E920268E157C00B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585E918268E157C00B822E1 /* PEPObjCAdapterTypes.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 4E575865268329A20084F02D;
remoteInfo = PEPObjCAdapterTypes_iOS;
};
1585E922268E157C00B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585E918268E157C00B822E1 /* PEPObjCAdapterTypes.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 4E5758BF26833D140084F02D;
remoteInfo = PEPObjCAdapterTypesTests_iOS;
};
1585E925268E15A000B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585E918268E157C00B822E1 /* PEPObjCAdapterTypes.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 4E575857268329170084F02D;
remoteInfo = PEPObjCAdapterTypes_macOS;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
1574D19A268DB995003A5161 /* pEpMimeObjCAdapter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = pEpMimeObjCAdapter.h; sourceTree = "<group>"; };
1574D19B268DB995003A5161 /* pEpMimeObjCAdapter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = pEpMimeObjCAdapter.m; sourceTree = "<group>"; };
1574D1A0268DB9C8003A5161 /* liblibpEpMimeObjCAdapter_macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = liblibpEpMimeObjCAdapter_macOS.a; sourceTree = BUILT_PRODUCTS_DIR; };
1574D1A2268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = libpepmimeobjcadapter_macOS.h; sourceTree = "<group>"; };
1574D1A4268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = libpepmimeobjcadapter_macOS.m; sourceTree = "<group>"; };
1574D1A0268DB9C8003A5161 /* libpEpMimeObjCAdapter_macOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libpEpMimeObjCAdapter_macOS.a; sourceTree = BUILT_PRODUCTS_DIR; };
1585E8E8268E02BA00B822E1 /* pEpMIME.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = pEpMIME.xcodeproj; path = ../pEpMIME/build_macOS/pEpMIME/pEpMIME.xcodeproj; sourceTree = "<group>"; };
1585E8FF268E12D600B822E1 /* PEPMIME2PEPMessageUtil.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PEPMIME2PEPMessageUtil.m; sourceTree = "<group>"; };
1585E900268E12D600B822E1 /* PEPMIME2PEPMessageUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PEPMIME2PEPMessageUtil.h; sourceTree = "<group>"; };
1585E905268E135500B822E1 /* PEPMessage2MIMEUtil.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PEPMessage2MIMEUtil.h; sourceTree = "<group>"; };
1585E906268E135500B822E1 /* PEPMessage2MIMEUtil.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = PEPMessage2MIMEUtil.mm; sourceTree = "<group>"; };
1585E918268E157C00B822E1 /* PEPObjCAdapterTypes.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = PEPObjCAdapterTypes.xcodeproj; path = ../pEpObjCAdapter/Subprojects/PEPObjCAdapterTypes/PEPObjCAdapterTypes.xcodeproj; sourceTree = "<group>"; };
1585E931268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PEPMessage+PEPMessage_MIME.h"; sourceTree = "<group>"; };
1585E932268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "PEPMessage+PEPMessage_MIME.m"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -24,6 +83,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
1585E924268E158700B822E1 /* libPEPObjCAdapterTypes_macOS.a in Frameworks */,
1585E8F9268E112A00B822E1 /* libpEpMIME.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -33,36 +94,84 @@
1574D184268DB8A1003A5161 = {
isa = PBXGroup;
children = (
1574D199268DB980003A5161 /* PublicHeaders */,
1574D1A1268DB9C8003A5161 /* libpepmimeobjcadapter_macOS */,
1585E918268E157C00B822E1 /* PEPObjCAdapterTypes.xcodeproj */,
1585E8E8268E02BA00B822E1 /* pEpMIME.xcodeproj */,
1574D199268DB980003A5161 /* Interface */,
1585E904268E132200B822E1 /* PEPMessage2MIMEUtil */,
1585E903268E130300B822E1 /* PEPMIME2PEPMessageUtil */,
1574D18E268DB8A1003A5161 /* Products */,
1585E8F8268E112A00B822E1 /* Frameworks */,
);
sourceTree = "<group>";
};
1574D18E268DB8A1003A5161 /* Products */ = {
isa = PBXGroup;
children = (
1574D1A0268DB9C8003A5161 /* liblibpEpMimeObjCAdapter_macOS.a */,
1574D1A0268DB9C8003A5161 /* libpEpMimeObjCAdapter_macOS.a */,
);
name = Products;
sourceTree = "<group>";
};
1574D199268DB980003A5161 /* PublicHeaders */ = {
1574D199268DB980003A5161 /* Interface */ = {
isa = PBXGroup;
children = (
1574D19A268DB995003A5161 /* pEpMimeObjCAdapter.h */,
1574D19B268DB995003A5161 /* pEpMimeObjCAdapter.m */,
1585E935268E1E2D00B822E1 /* PEPMessage+PEPMessage_MIME */,
);
path = Interface;
sourceTree = "<group>";
};
1585E8E9268E02BA00B822E1 /* Products */ = {
isa = PBXGroup;
children = (
1585E8F1268E02BA00B822E1 /* libpEpMIME.a */,
);
name = Products;
sourceTree = "<group>";
};
1585E8F8268E112A00B822E1 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
1585E903268E130300B822E1 /* PEPMIME2PEPMessageUtil */ = {
isa = PBXGroup;
children = (
1585E900268E12D600B822E1 /* PEPMIME2PEPMessageUtil.h */,
1585E8FF268E12D600B822E1 /* PEPMIME2PEPMessageUtil.m */,
);
path = PublicHeaders;
path = PEPMIME2PEPMessageUtil;
sourceTree = "<group>";
};
1574D1A1268DB9C8003A5161 /* libpepmimeobjcadapter_macOS */ = {
1585E904268E132200B822E1 /* PEPMessage2MIMEUtil */ = {
isa = PBXGroup;
children = (
1574D1A2268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.h */,
1574D1A4268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.m */,
1585E905268E135500B822E1 /* PEPMessage2MIMEUtil.h */,
1585E906268E135500B822E1 /* PEPMessage2MIMEUtil.mm */,
);
path = libpepmimeobjcadapter_macOS;
path = PEPMessage2MIMEUtil;
sourceTree = "<group>";
};
1585E919268E157C00B822E1 /* Products */ = {
isa = PBXGroup;
children = (
1585E91F268E157C00B822E1 /* libPEPObjCAdapterTypes_macOS.a */,
1585E921268E157C00B822E1 /* libPEPObjCAdapterTypes_iOS.a */,
1585E923268E157C00B822E1 /* PEPObjCAdapterTypesTests_iOS.xctest */,
);
name = Products;
sourceTree = "<group>";
};
1585E935268E1E2D00B822E1 /* PEPMessage+PEPMessage_MIME */ = {
isa = PBXGroup;
children = (
1585E931268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.h */,
1585E932268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.m */,
);
path = "PEPMessage+PEPMessage_MIME";
sourceTree = "<group>";
};
/* End PBXGroup section */
@ -72,16 +181,19 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
1574D1A3268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.h in Headers */,
1585E933268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.h in Headers */,
1585E8E6268E029500B822E1 /* pEpMimeObjCAdapter.h in Headers */,
1585E907268E135500B822E1 /* PEPMessage2MIMEUtil.h in Headers */,
1585E902268E12D600B822E1 /* PEPMIME2PEPMessageUtil.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
1574D19F268DB9C8003A5161 /* libpEpMimeObjCAdapter_macOS */ = {
1574D19F268DB9C8003A5161 /* pEpMimeObjCAdapter_macOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1574D1A6268DB9C8003A5161 /* Build configuration list for PBXNativeTarget "libpEpMimeObjCAdapter_macOS" */;
buildConfigurationList = 1574D1A6268DB9C8003A5161 /* Build configuration list for PBXNativeTarget "pEpMimeObjCAdapter_macOS" */;
buildPhases = (
1574D19C268DB9C8003A5161 /* Headers */,
1574D19D268DB9C8003A5161 /* Sources */,
@ -91,10 +203,12 @@
buildRules = (
);
dependencies = (
1585E926268E15A000B822E1 /* PBXTargetDependency */,
1585E8F3268E02C400B822E1 /* PBXTargetDependency */,
);
name = libpEpMimeObjCAdapter_macOS;
name = pEpMimeObjCAdapter_macOS;
productName = libpepmimeobjcadapter_macOS;
productReference = 1574D1A0268DB9C8003A5161 /* liblibpEpMimeObjCAdapter_macOS.a */;
productReference = 1574D1A0268DB9C8003A5161 /* libpEpMimeObjCAdapter_macOS.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
@ -121,13 +235,54 @@
mainGroup = 1574D184268DB8A1003A5161;
productRefGroup = 1574D18E268DB8A1003A5161 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = 1585E8E9268E02BA00B822E1 /* Products */;
ProjectRef = 1585E8E8268E02BA00B822E1 /* pEpMIME.xcodeproj */;
},
{
ProductGroup = 1585E919268E157C00B822E1 /* Products */;
ProjectRef = 1585E918268E157C00B822E1 /* PEPObjCAdapterTypes.xcodeproj */;
},
);
projectRoot = "";
targets = (
1574D19F268DB9C8003A5161 /* libpEpMimeObjCAdapter_macOS */,
1574D19F268DB9C8003A5161 /* pEpMimeObjCAdapter_macOS */,
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
1585E8F1268E02BA00B822E1 /* libpEpMIME.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libpEpMIME.a;
remoteRef = 1585E8F0268E02BA00B822E1 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
1585E91F268E157C00B822E1 /* libPEPObjCAdapterTypes_macOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libPEPObjCAdapterTypes_macOS.a;
remoteRef = 1585E91E268E157C00B822E1 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
1585E921268E157C00B822E1 /* libPEPObjCAdapterTypes_iOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libPEPObjCAdapterTypes_iOS.a;
remoteRef = 1585E920268E157C00B822E1 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
1585E923268E157C00B822E1 /* PEPObjCAdapterTypesTests_iOS.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = PEPObjCAdapterTypesTests_iOS.xctest;
remoteRef = 1585E922268E157C00B822E1 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
/* Begin PBXShellScriptBuildPhase section */
1574D1AF268DBD55003A5161 /* Copy artefacts to custom build dir */ = {
isa = PBXShellScriptBuildPhase;
@ -146,7 +301,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/bash;
shellScript = "CUSTOM_BUILD_DIR=${PROJECT_DIR}/build\nmkdir -p ${CUSTOM_BUILD_DIR}\ncp -R \"${BUILD_DIR}/${CONFIGURATION}/usr/local/include\" ${CUSTOM_BUILD_DIR}\ncp \"${BUILD_DIR}/${CONFIGURATION}/libpEpMimeObjCAdapter_macOS.a\" ${CUSTOM_BUILD_DIR}\n";
shellScript = "CUSTOM_BUILD_DIR=${PROJECT_DIR}/build\nmkdir -p ${CUSTOM_BUILD_DIR}/include\ncp \"${BUILD_DIR}/${CONFIGURATION}/usr/local/include/pEpMimeObjCAdapter.h\" \"${CUSTOM_BUILD_DIR}/include\"\ncp \"${BUILD_DIR}/${CONFIGURATION}/libpEpMimeObjCAdapter_macOS.a\" ${CUSTOM_BUILD_DIR}\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
@ -156,12 +311,28 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
1574D1A5268DB9C8003A5161 /* libpepmimeobjcadapter_macOS.m in Sources */,
1585E901268E12D600B822E1 /* PEPMIME2PEPMessageUtil.m in Sources */,
1585E934268E1CDA00B822E1 /* PEPMessage+PEPMessage_MIME.m in Sources */,
1585E908268E135500B822E1 /* PEPMessage2MIMEUtil.mm in Sources */,
1585E8E7268E029500B822E1 /* pEpMimeObjCAdapter.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
1585E8F3268E02C400B822E1 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = pEpMIME;
targetProxy = 1585E8F2268E02C400B822E1 /* PBXContainerItemProxy */;
};
1585E926268E15A000B822E1 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = PEPObjCAdapterTypes_macOS;
targetProxy = 1585E925268E15A000B822E1 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
1574D194268DB8A1003A5161 /* Debug */ = {
isa = XCBuildConfiguration;
@ -214,6 +385,11 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"${PROJECT_DIR}/../pEpMIME/build/include",
"${PROJECT_DIR}/../pEpEngine/build-mac/build/include",
"${PROJECT_DIR}/../pEpObjCAdapter/Subprojects/PEPObjCAdapterTypes/build/include",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
@ -267,6 +443,11 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"${PROJECT_DIR}/../pEpMIME/build/include",
"${PROJECT_DIR}/../pEpEngine/build-mac/build/include",
"${PROJECT_DIR}/../pEpObjCAdapter/Subprojects/PEPObjCAdapterTypes/build/include",
);
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
@ -308,7 +489,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1574D1A6268DB9C8003A5161 /* Build configuration list for PBXNativeTarget "libpEpMimeObjCAdapter_macOS" */ = {
1574D1A6268DB9C8003A5161 /* Build configuration list for PBXNativeTarget "pEpMimeObjCAdapter_macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1574D1A7268DB9C8003A5161 /* Debug */,


+ 4
- 4
pEpMimeObjCAdapter.xcodeproj/xcshareddata/xcschemes/libpEpMimeObjCAdapter_macOS.xcscheme View File

@ -15,8 +15,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1574D19F268DB9C8003A5161"
BuildableName = "liblibpEpMimeObjCAdapter_macOS.a"
BlueprintName = "libpEpMimeObjCAdapter_macOS"
BuildableName = "libpEpMimeObjCAdapter_macOS.a"
BlueprintName = "pEpMimeObjCAdapter_macOS"
ReferencedContainer = "container:pEpMimeObjCAdapter.xcodeproj">
</BuildableReference>
</BuildActionEntry>
@ -51,8 +51,8 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "1574D19F268DB9C8003A5161"
BuildableName = "liblibpEpMimeObjCAdapter_macOS.a"
BlueprintName = "libpEpMimeObjCAdapter_macOS"
BuildableName = "libpEpMimeObjCAdapter_macOS.a"
BlueprintName = "pEpMimeObjCAdapter_macOS"
ReferencedContainer = "container:pEpMimeObjCAdapter.xcodeproj">
</BuildableReference>
</MacroExpansion>


Loading…
Cancel
Save