remove SignalMessaging framework

This commit is contained in:
Ehren Kret
2024-03-12 03:09:39 -05:00
parent 9c03618710
commit 616aaa4c89
16 changed files with 427 additions and 921 deletions

View File

@@ -43,7 +43,7 @@ open Signal.xcworkspace
In the TARGETS area of the General tab, change the Team drop down to
your own. You will need to do that for all the listed targets, for ex.
Signal, SignalShareExtension, and SignalMessaging. You will need an Apple
Signal, SignalShareExtension, and SignalNSE. You will need an Apple
Developer account for this.
On the Capabilities tab, turn off Push Notifications, Apple Pay,

View File

@@ -81,9 +81,6 @@ end
# These extensions inherit all of the common pods
target 'SignalMessaging' do
end
target 'SignalShareExtension' do
ui_pods
end
@@ -280,7 +277,6 @@ end
def copy_acknowledgements
targets = [
'Signal',
'SignalMessaging',
'SignalNSE',
'SignalPerformanceTests',
'SignalServiceKit',

View File

@@ -201,6 +201,6 @@ SPEC CHECKSUMS:
SwiftProtobuf: 407a385e97fd206c4fbe880cc84123989167e0d1
YYImage: f1ddd15ac032a58b78bbed1e012b50302d318331
PODFILE CHECKSUM: 4d223f03b46d9ce79ab7c3e00160230da30b4558
PODFILE CHECKSUM: 05363f1dac74474b54731934b1be952a95b94db0
COCOAPODS: 1.15.2

2
Pods

Submodule Pods updated: 338b3c9f26...9d79b876b9

View File

@@ -31,7 +31,6 @@ $REPO_ROOT/Scripts/sds_codegen/sds_parse_swift_bridging.py --src-path . --swift
# We parse Obj-C source files (.m only, not .mm yet) to extract simple class descriptions (class name, base class, property names and types, etc.)
$REPO_ROOT/Scripts/sds_codegen/sds_parse_objc.py --src-path SignalServiceKit/ --swift-bridging-path $REPO_ROOT/Scripts/sds_codegen/sds-includes
$REPO_ROOT/Scripts/sds_codegen/sds_parse_objc.py --src-path SignalShareExtension/ --swift-bridging-path $REPO_ROOT/Scripts/sds_codegen/sds-includes
$REPO_ROOT/Scripts/sds_codegen/sds_parse_objc.py --src-path SignalMessaging --swift-bridging-path $REPO_ROOT/Scripts/sds_codegen/sds-includes
$REPO_ROOT/Scripts/sds_codegen/sds_parse_objc.py --src-path Signal --swift-bridging-path $REPO_ROOT/Scripts/sds_codegen/sds-includes
$REPO_ROOT/Scripts/sds_codegen/sds_regenerate.sh

View File

@@ -615,7 +615,6 @@ def gather_module_headers(pods_dir_path):
for project_name in (
'SignalServiceKit',
'SignalMessaging',
'Signal',
):
src_dir_path = os.path.join(git_repo_path, project_name)
@@ -629,13 +628,10 @@ def gather_module_headers(pods_dir_path):
def get_pch_include(file_path):
ssk_path = os.path.join(git_repo_path, 'SignalServiceKit') + os.sep
sm_path = os.path.join(git_repo_path, 'SignalMessaging') + os.sep
s_path = os.path.join(git_repo_path, 'Signal') + os.sep
sae_path = os.path.join(git_repo_path, 'SignalShareExtension') + os.sep
if file_path.startswith(ssk_path):
return os.path.join(git_repo_path, "SignalServiceKit/SignalServiceKit-prefix.pch")
elif file_path.startswith(sm_path):
return os.path.join(git_repo_path, "SignalMessaging/SignalMessaging-Prefix.pch")
elif file_path.startswith(s_path):
return os.path.join(git_repo_path, "Signal/Signal-Prefix.pch")
elif file_path.startswith(sae_path):
@@ -732,7 +728,6 @@ if __name__ == "__main__":
header_include_paths = []
header_include_paths.extend(find_header_include_paths('SignalServiceKit/src'))
header_include_paths.extend(find_header_include_paths('SignalMessaging'))
# SDS code generation uses clang to parse the AST of Objective-C files.
# We're parsing these files outside the context of an XCode workspace,

View File

@@ -213,6 +213,4 @@ if __name__ == "__main__":
process_dir(pods_dir_path, dirname, swift_bridging_path)
process_dir(src_dir_path, 'SignalServiceKit', swift_bridging_path)
process_dir(src_dir_path, 'SignalMessaging', swift_bridging_path)
process_dir(src_dir_path, 'Signal', swift_bridging_path)

View File

@@ -30,6 +30,4 @@ PROPERTY_ORDER_JSON="$REPO_ROOT/Scripts/sds_codegen/sds_config/sds-property_orde
GENERATE_ARGS="--record-type-swift-path $RECORD_TYPE_SWIFT --record-type-json-path $RECORD_TYPE_JSON --config-json-path $CONFIG_JSON --property-order-json-path $PROPERTY_ORDER_JSON"
$REPO_ROOT/Scripts/sds_codegen/sds_generate.py --src-path SignalServiceKit/ --search-path . $GENERATE_ARGS
$REPO_ROOT/Scripts/sds_codegen/sds_generate.py --src-path SignalShareExtension/ --search-path . $GENERATE_ARGS
$REPO_ROOT/Scripts/sds_codegen/sds_generate.py --src-path SignalMessaging/ --search-path . $GENERATE_ARGS
$REPO_ROOT/Scripts/sds_codegen/sds_generate.py --src-path Signal --search-path . $GENERATE_ARGS

View File

@@ -78,5 +78,4 @@ if __name__ == "__main__":
args = parser.parse_args()
search_path('Signal')
search_path('SignalMessaging')
search_path('SignalServiceKit')

View File

@@ -8,11 +8,10 @@ cd "$REPO_ROOT"
SSK_DIR="SignalServiceKit"
SAE_DIR="SignalShareExtension"
SM_DIR="SignalMessaging"
SUI_DIR="SignalUI"
NSE_DIR="SignalNSE"
TARGETS=(Signal "${SSK_DIR}" "${SAE_DIR}" "${SM_DIR}" "${NSE_DIR}" "${SUI_DIR}")
TARGETS=(Signal "${SSK_DIR}" "${SAE_DIR}" "${NSE_DIR}" "${SUI_DIR}")
TMP="$(mktemp -d)"
STRINGFILE="Signal/translations/en.lproj/Localizable.strings"

View File

@@ -33,7 +33,6 @@ def parse_args():
project_path,
[
"Signal/src",
"SignalMessaging",
"SignalNSE",
"SignalServiceKit",
"SignalShareExtension",

File diff suppressed because it is too large Load Diff

View File

@@ -74,13 +74,6 @@
BlueprintName = "SignalCoreKit"
ReferencedContainer = "container:Pods/Pods.xcodeproj">
</BuildableReference>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "453518911FC63DBF00210559"
BuildableName = "SignalMessaging.framework"
BlueprintName = "SignalMessaging"
ReferencedContainer = "container:Signal.xcodeproj">
</BuildableReference>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "F9C5C896289451B900548EEE"

View File

@@ -1,24 +0,0 @@
<?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>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</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>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>

View File

@@ -1,18 +0,0 @@
//
// Copyright 2014 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
#import <Availability.h>
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <SignalCoreKit/OWSAsserts.h>
#import <SignalCoreKit/NSObject+OWS.h>
#import <SignalServiceKit/SSKAsserts.h>
#import <SignalServiceKit/SDSDatabaseStorage+Objc.h>
#import <SignalCoreKit/SignalCoreKit-Swift.h>
#import <SignalCoreKit/SignalCoreKit.h>
#endif

View File

@@ -1,14 +0,0 @@
//
// Copyright 2017 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
#import <Foundation/Foundation.h>
//! Project version number for SignalMessaging.
FOUNDATION_EXPORT double SignalMessagingVersionNumber;
//! Project version string for SignalMessaging.
FOUNDATION_EXPORT const unsigned char SignalMessagingVersionString[];
// The public headers of the framework