diff --git a/AnotherXMPP/Info.plist b/AnotherXMPP/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/AnotherXMPP/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/AnotherIM/xmpp/XMPPClient.swift b/AnotherXMPP/XMPPClient.swift similarity index 100% rename from AnotherIM/xmpp/XMPPClient.swift rename to AnotherXMPP/XMPPClient.swift diff --git a/AnotherIM/xmpp/XMPPStorage.swift b/AnotherXMPP/XMPPStorage.swift similarity index 100% rename from AnotherIM/xmpp/XMPPStorage.swift rename to AnotherXMPP/XMPPStorage.swift diff --git a/AnotherIM/xmpp/models/JID.swift b/AnotherXMPP/models/JID.swift similarity index 100% rename from AnotherIM/xmpp/models/JID.swift rename to AnotherXMPP/models/JID.swift diff --git a/AnotherIM/xmpp/models/Roster.swift b/AnotherXMPP/models/Roster.swift similarity index 100% rename from AnotherIM/xmpp/models/Roster.swift rename to AnotherXMPP/models/Roster.swift diff --git a/AnotherIM/xmpp/models/SRVRecord.swift b/AnotherXMPP/models/SRVRecord.swift similarity index 100% rename from AnotherIM/xmpp/models/SRVRecord.swift rename to AnotherXMPP/models/SRVRecord.swift diff --git a/AnotherIM/xmpp/models/Stanza.swift b/AnotherXMPP/models/Stanza.swift similarity index 100% rename from AnotherIM/xmpp/models/Stanza.swift rename to AnotherXMPP/models/Stanza.swift diff --git a/AnotherIM/xmpp/models/UserAgent.swift b/AnotherXMPP/models/UserAgent.swift similarity index 100% rename from AnotherIM/xmpp/models/UserAgent.swift rename to AnotherXMPP/models/UserAgent.swift diff --git a/AnotherIM/xmpp/models/XMLElement.swift b/AnotherXMPP/models/XMLElement.swift similarity index 100% rename from AnotherIM/xmpp/models/XMLElement.swift rename to AnotherXMPP/models/XMLElement.swift diff --git a/AnotherIM/xmpp/modules/XmppModule.swift b/AnotherXMPP/modules/XmppModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/XmppModule.swift rename to AnotherXMPP/modules/XmppModule.swift diff --git a/AnotherIM/xmpp/modules/auth/AuthorizationMechanisms.swift b/AnotherXMPP/modules/auth/AuthorizationMechanisms.swift similarity index 100% rename from AnotherIM/xmpp/modules/auth/AuthorizationMechanisms.swift rename to AnotherXMPP/modules/auth/AuthorizationMechanisms.swift diff --git a/AnotherIM/xmpp/modules/auth/AuthorizationModule.swift b/AnotherXMPP/modules/auth/AuthorizationModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/auth/AuthorizationModule.swift rename to AnotherXMPP/modules/auth/AuthorizationModule.swift diff --git a/AnotherIM/xmpp/modules/connection/ConnectionModule.swift b/AnotherXMPP/modules/connection/ConnectionModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/connection/ConnectionModule.swift rename to AnotherXMPP/modules/connection/ConnectionModule.swift diff --git a/AnotherIM/xmpp/modules/connection/DirectTLSSocket.swift b/AnotherXMPP/modules/connection/DirectTLSSocket.swift similarity index 100% rename from AnotherIM/xmpp/modules/connection/DirectTLSSocket.swift rename to AnotherXMPP/modules/connection/DirectTLSSocket.swift diff --git a/AnotherIM/xmpp/modules/connection/StartTLSSocket.swift b/AnotherXMPP/modules/connection/StartTLSSocket.swift similarity index 100% rename from AnotherIM/xmpp/modules/connection/StartTLSSocket.swift rename to AnotherXMPP/modules/connection/StartTLSSocket.swift diff --git a/AnotherIM/xmpp/modules/disco/DiscoveryModule.swift b/AnotherXMPP/modules/disco/DiscoveryModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/disco/DiscoveryModule.swift rename to AnotherXMPP/modules/disco/DiscoveryModule.swift diff --git a/AnotherIM/xmpp/modules/dns/SRVResolverModule.swift b/AnotherXMPP/modules/dns/SRVResolverModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/dns/SRVResolverModule.swift rename to AnotherXMPP/modules/dns/SRVResolverModule.swift diff --git a/AnotherIM/xmpp/modules/parsing/ParserModule.swift b/AnotherXMPP/modules/parsing/ParserModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/parsing/ParserModule.swift rename to AnotherXMPP/modules/parsing/ParserModule.swift diff --git a/AnotherIM/xmpp/modules/parsing/XMLParser.swift b/AnotherXMPP/modules/parsing/XMLParser.swift similarity index 100% rename from AnotherIM/xmpp/modules/parsing/XMLParser.swift rename to AnotherXMPP/modules/parsing/XMLParser.swift diff --git a/AnotherIM/xmpp/modules/roster/RosterModule.swift b/AnotherXMPP/modules/roster/RosterModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/roster/RosterModule.swift rename to AnotherXMPP/modules/roster/RosterModule.swift diff --git a/AnotherIM/xmpp/modules/session/Logger.swift b/AnotherXMPP/modules/session/Logger.swift similarity index 100% rename from AnotherIM/xmpp/modules/session/Logger.swift rename to AnotherXMPP/modules/session/Logger.swift diff --git a/AnotherIM/xmpp/modules/session/SessionModule.swift b/AnotherXMPP/modules/session/SessionModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/session/SessionModule.swift rename to AnotherXMPP/modules/session/SessionModule.swift diff --git a/AnotherIM/xmpp/modules/stanza/StanzaModule.swift b/AnotherXMPP/modules/stanza/StanzaModule.swift similarity index 100% rename from AnotherIM/xmpp/modules/stanza/StanzaModule.swift rename to AnotherXMPP/modules/stanza/StanzaModule.swift diff --git a/AnotherIM/xmpp/utils/Data+Crypto.swift b/AnotherXMPP/utils/Data+Crypto.swift similarity index 100% rename from AnotherIM/xmpp/utils/Data+Crypto.swift rename to AnotherXMPP/utils/Data+Crypto.swift diff --git a/AnotherIM/xmpp/utils/MemBridge.swift b/AnotherXMPP/utils/MemBridge.swift similarity index 100% rename from AnotherIM/xmpp/utils/MemBridge.swift rename to AnotherXMPP/utils/MemBridge.swift diff --git a/AnotherIM/xmpp/utils/String+Base64.swift b/AnotherXMPP/utils/String+Base64.swift similarity index 100% rename from AnotherIM/xmpp/utils/String+Base64.swift rename to AnotherXMPP/utils/String+Base64.swift diff --git a/AnotherIM/xmpp/utils/String+XML.swift b/AnotherXMPP/utils/String+XML.swift similarity index 100% rename from AnotherIM/xmpp/utils/String+XML.swift rename to AnotherXMPP/utils/String+XML.swift diff --git a/project.yml b/project.yml index a2b4e53..aeb8a4b 100644 --- a/project.yml +++ b/project.yml @@ -25,6 +25,27 @@ targets: # Sharing service here... # + # xmpp framework + AnotherXMPP: + type: framework + platform: iOS + deploymentTarget: 16.0 + scheme: {} + sources: + - path: AnotherXMPP + info: + path: ./AnotherXMPP/Info.plist + properties: + CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE) + settings: + DEBUG_INFORMATION_FORMAT: dwarf-with-dsym + PRODUCT_BUNDLE_IDENTIFIER: im.narayana.anotherxmpp.lib + DEAD_CODE_STRIPPING: true + dependencies: + - sdk: libxml2.tbd + - sdk: Security.framework + # - framework: Lib/WebRTC.xcframework + # iOS App AnotherIM: type: application @@ -63,6 +84,7 @@ targets: dependencies: - sdk: Security.framework - sdk: CryptoKit.framework + - target: AnotherXMPP - package: SwiftfulRouting link: true - package: KeychainAccess