diff --git a/CouchbaseLite.xcodeproj/project.pbxproj b/CouchbaseLite.xcodeproj/project.pbxproj index c9bff34a0..c221c69a2 100644 --- a/CouchbaseLite.xcodeproj/project.pbxproj +++ b/CouchbaseLite.xcodeproj/project.pbxproj @@ -2217,7 +2217,6 @@ 275FF6581E412C66005F90DD /* DocPerfTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DocPerfTest.m; sourceTree = ""; }; 275FF6B61E47B2FC005F90DD /* ExceptionUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ExceptionUtils.h; sourceTree = ""; }; 275FF6B71E47B2FC005F90DD /* ExceptionUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ExceptionUtils.m; sourceTree = ""; }; - 275FF6BE1E48081B005F90DD /* CouchbaseLite.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = CouchbaseLite.exp; sourceTree = ""; }; 276740B51EE7381E0036DE42 /* CBLTrustCheck.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CBLTrustCheck.h; sourceTree = ""; }; 276740B61EE7381E0036DE42 /* CBLTrustCheck.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = CBLTrustCheck.mm; sourceTree = ""; }; 27B69A121F2A4B7400782145 /* MYAnonymousIdentity.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MYAnonymousIdentity.h; sourceTree = ""; }; @@ -2249,6 +2248,11 @@ 40086B172B7EDDD400DA6770 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 40086B452B803B2A00DA6770 /* CBLBlockConflictResolver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CBLBlockConflictResolver.h; sourceTree = ""; }; 40086B522B803B2B00DA6770 /* CBLBlockConflictResolver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CBLBlockConflictResolver.m; sourceTree = ""; }; + 40A789282BE2C7D100CA43A1 /* CBL_EE.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = CBL_EE.exp; sourceTree = ""; }; + 40A789292BE2C7D100CA43A1 /* CBL.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = CBL.exp; sourceTree = ""; }; + 40A7892B2BE2C7D100CA43A1 /* CBL_EE.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = CBL_EE.txt; sourceTree = ""; }; + 40A7892C2BE2C7D100CA43A1 /* CBL.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = CBL.txt; sourceTree = ""; }; + 40A7892D2BE2C7D100CA43A1 /* generate_exports.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = generate_exports.sh; sourceTree = ""; }; 40C5FD5A2B9946E6004BFD3B /* CBLVectorIndexTypes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CBLVectorIndexTypes.h; sourceTree = ""; }; 40E905462B5B6D9D00EDF483 /* CouchbaseLiteSwift.private.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = CouchbaseLiteSwift.private.modulemap; sourceTree = ""; }; 40EF68102B71891A00F0CB50 /* remove_private_module.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = remove_private_module.sh; sourceTree = ""; }; @@ -2269,7 +2273,6 @@ 40FC1AB12B9286E700394276 /* CBLListenerCertificateAuthenticator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CBLListenerCertificateAuthenticator.m; sourceTree = ""; }; 40FC1AB22B9286E700394276 /* CBLListenerPasswordAuthenticator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CBLListenerPasswordAuthenticator.m; sourceTree = ""; }; 40FC1AB32B9286E700394276 /* CBLURLEndpointListenerConfiguration.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CBLURLEndpointListenerConfiguration.mm; sourceTree = ""; }; - 40FC1AB42B9286E700394276 /* CouchbaseLite.exp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.exports; path = CouchbaseLite.exp; sourceTree = ""; }; 40FC1AB72B9286E700394276 /* CBLEncryptionKey+Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CBLEncryptionKey+Internal.h"; sourceTree = ""; }; 40FC1AB82B9286E700394276 /* CBLDatabase+EncryptionInternal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "CBLDatabase+EncryptionInternal.mm"; sourceTree = ""; }; 40FC1ABA2B9286E700394276 /* CBLTLSIdentity+Internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CBLTLSIdentity+Internal.h"; sourceTree = ""; }; @@ -3075,6 +3078,26 @@ path = Extensions; sourceTree = ""; }; + 40A7892A2BE2C7D100CA43A1 /* Generated */ = { + isa = PBXGroup; + children = ( + 40A789282BE2C7D100CA43A1 /* CBL_EE.exp */, + 40A789292BE2C7D100CA43A1 /* CBL.exp */, + ); + path = Generated; + sourceTree = ""; + }; + 40A7892E2BE2C7D100CA43A1 /* Exports */ = { + isa = PBXGroup; + children = ( + 40A7892A2BE2C7D100CA43A1 /* Generated */, + 40A7892B2BE2C7D100CA43A1 /* CBL_EE.txt */, + 40A7892C2BE2C7D100CA43A1 /* CBL.txt */, + 40A7892D2BE2C7D100CA43A1 /* generate_exports.sh */, + ); + path = Exports; + sourceTree = ""; + }; 40EF68FD2B7755FD00F0CB50 /* Resources */ = { isa = PBXGroup; children = ( @@ -3092,7 +3115,6 @@ 40FC1AD72B9286E700394276 /* Replicator */, 40FC1AB52B9286E700394276 /* Internal */, 40FC1AD62B9286E700394276 /* CBLEdition.h */, - 40FC1AB42B9286E700394276 /* CouchbaseLite.exp */, ); name = "Objective-C"; path = "../couchbase-lite-ios-ee/Sources/Objective-C"; @@ -3991,9 +4013,9 @@ 9388CBE521BF717C005CA66D /* Log */, 934F4C931E241FB500F90659 /* Internal */, 93BFCD931E0380A300E52F8A /* Tests */, + 40A7892E2BE2C7D100CA43A1 /* Exports */, 4006AB4E2B9106000036E66D /* CBLEdition.h */, 9398D9FD1E03531A00464432 /* CouchbaseLite.h */, - 275FF6BE1E48081B005F90DD /* CouchbaseLite.exp */, 9398D9FE1E03531A00464432 /* Info.plist */, ); path = "Objective-C"; diff --git a/Objective-C/CBLQueryBuilder.h b/Objective-C/CBLQueryBuilder.h index 080994158..fdb050954 100644 --- a/Objective-C/CBLQueryBuilder.h +++ b/Objective-C/CBLQueryBuilder.h @@ -20,7 +20,7 @@ #import @class CBLQuery, CBLQuerySelectResult, CBLQueryDataSource, CBLQueryJoin; -@class CBLQueryOrdering, CBLQueryGroupBy, CBLQueryLimit; +@class CBLQueryOrdering, CBLQueryLimit; @class CBLQueryExpression; NS_ASSUME_NONNULL_BEGIN diff --git a/Objective-C/CBLQueryDataSource.h b/Objective-C/CBLQueryDataSource.h index 5ae5407b0..bf64e22ee 100644 --- a/Objective-C/CBLQueryDataSource.h +++ b/Objective-C/CBLQueryDataSource.h @@ -19,7 +19,7 @@ #import -@class CBLQueryDatabase, CBLDatabase; +@class CBLDatabase; @class CBLCollection; NS_ASSUME_NONNULL_BEGIN @@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN Create a database data source. @param database The database used as the data source as the query. - @return The CBLQueryDatabase instance. + @return The CBLQueryDataSource instance for the database. */ + (instancetype) database: (CBLDatabase*)database __deprecated_msg("Use [DataSource collection: [database defaultCollection]]) instead."); @@ -44,7 +44,7 @@ __deprecated_msg("Use [DataSource collection: [database defaultCollection]]) ins @param database The database used as the data source as the query. @param alias The alias name of the data source. - @return The CBLQueryDatabase instance. + @return The CBLQueryDataSource instance for the database. */ + (instancetype) database: (CBLDatabase*)database as: (nullable NSString*)alias __deprecated_msg("Use [DataSource collection: [database defaultCollection] as:]) instead."); @@ -52,7 +52,7 @@ __deprecated_msg("Use [DataSource collection: [database defaultCollection] as:]) /** Create a collection data source. @param collection The collection used as the data source as the query. - @return The CBLQueryDatabase instance. + @return The CBLQueryDataSource instance for the collection. */ + (instancetype) collection: (CBLCollection*)collection; @@ -61,7 +61,7 @@ __deprecated_msg("Use [DataSource collection: [database defaultCollection] as:]) @param collection The collection used as the data source as the query. @param alias The alias name of the data source. - @return The CBLQueryDatabase instance. + @return The CBLQueryDataSource instance for the collection. */ + (instancetype) collection: (CBLCollection*)collection as: (nullable NSString*)alias; diff --git a/Objective-C/CBLQueryExpression.h b/Objective-C/CBLQueryExpression.h index a75e8c189..3d0d85cc2 100644 --- a/Objective-C/CBLQueryExpression.h +++ b/Objective-C/CBLQueryExpression.h @@ -21,7 +21,6 @@ @class CBLBlob; @class CBLQueryCollation; -@class CBLVariableExpression; @protocol CBLQueryFullTextIndexExpressionProtocol; NS_ASSUME_NONNULL_BEGIN diff --git a/Objective-C/CouchbaseLite.exp b/Objective-C/Exports/CBL.txt similarity index 90% rename from Objective-C/CouchbaseLite.exp rename to Objective-C/Exports/CBL.txt index a62665326..108f7ab4b 100644 --- a/Objective-C/CouchbaseLite.exp +++ b/Objective-C/Exports/CBL.txt @@ -1,7 +1,7 @@ -# CouchbaseLite.exp +# CBL.txt # CouchbaseLite # -# Copyright (c) 2017 Couchbase, Inc All rights reserved. +# Copyright (c) 2024 Couchbase, Inc All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -15,15 +15,19 @@ # See the License for the specific language governing permissions and # limitations under the License. -# All public global symbols -- classes, functions, constants -- need to be declared here. +# All public symbols -- classes and constants -- need to be declared here. +# Run generate_exports.sh after modifying this file. -# Public classes: +# Classes: .objc_class_name_CBLArray .objc_class_name_CBLAuthenticator .objc_class_name_CBLBasicAuthenticator .objc_class_name_CBLBlob .objc_class_name_CBLCollection +.objc_class_name_CBLCollectionChange .objc_class_name_CBLCollectionConfiguration +.objc_class_name_CBLConflict +.objc_class_name_CBLConflictResolver .objc_class_name_CBLConsoleLogger .objc_class_name_CBLDatabase .objc_class_name_CBLDatabaseChange @@ -34,11 +38,13 @@ .objc_class_name_CBLDocumentFragment .objc_class_name_CBLDocumentReplication .objc_class_name_CBLFileLogger +.objc_class_name_CBLFragment .objc_class_name_CBLFullTextIndex +.objc_class_name_CBLFullTextIndexConfiguration .objc_class_name_CBLFullTextIndexItem -.objc_class_name_CBLFragment .objc_class_name_CBLIndex .objc_class_name_CBLIndexBuilder +.objc_class_name_CBLIndexConfiguration .objc_class_name_CBLLog .objc_class_name_CBLLogFileConfiguration .objc_class_name_CBLMutableArray @@ -70,42 +76,35 @@ .objc_class_name_CBLReplicator .objc_class_name_CBLReplicatorChange .objc_class_name_CBLReplicatorConfiguration +.objc_class_name_CBLReplicatorStatus .objc_class_name_CBLScope .objc_class_name_CBLSessionAuthenticator .objc_class_name_CBLURLEndpoint .objc_class_name_CBLValueIndex -.objc_class_name_CBLValueIndexItem -.objc_class_name_CBLIndexConfiguration -.objc_class_name_CBLFullTextIndexConfiguration .objc_class_name_CBLValueIndexConfiguration +.objc_class_name_CBLValueIndexItem -# Blob Constants: -_kCBLBlobType -_kCBLTypeProperty +# Constants: +_CBLErrorDomain +_kCBLBlobContentTypeProperty _kCBLBlobDigestProperty _kCBLBlobLengthProperty -_kCBLBlobContentTypeProperty - -# Default Constants: -_kCBLDefaultLogFileUsePlaintext -_kCBLDefaultLogFileUsePlainText -_kCBLDefaultLogFileMaxSize -_kCBLDefaultLogFileMaxRotateCount +_kCBLBlobType +_kCBLDefaultCollectionName _kCBLDefaultFullTextIndexIgnoreAccents -_kCBLDefaultReplicatorType -_kCBLDefaultReplicatorContinuous +_kCBLDefaultLogFileMaxRotateCount +_kCBLDefaultLogFileMaxSize +_kCBLDefaultLogFileUsePlainText +_kCBLDefaultReplicatorAcceptParentCookies _kCBLDefaultReplicatorAllowReplicatingInBackground +_kCBLDefaultReplicatorContinuous +_kCBLDefaultReplicatorEnableAutoPurge _kCBLDefaultReplicatorHeartbeat -_kCBLDefaultReplicatorMaxAttemptsSingleShot -_kCBLDefaultReplicatorMaxAttemptsContinuous _kCBLDefaultReplicatorMaxAttemptWaitTime +_kCBLDefaultReplicatorMaxAttemptsContinuous +_kCBLDefaultReplicatorMaxAttemptsSingleShot _kCBLDefaultReplicatorMaxAttemptsWaitTime -_kCBLDefaultReplicatorEnableAutoPurge _kCBLDefaultReplicatorSelfSignedCertificateOnly -_kCBLDefaultReplicatorAcceptParentCookies - -# Others constants: -_CBLErrorDomain -_kCBLAllPropertiesName -_kCBLDefaultCollectionName +_kCBLDefaultReplicatorType _kCBLDefaultScopeName +_kCBLTypeProperty diff --git a/Objective-C/Exports/CBL_EE.txt b/Objective-C/Exports/CBL_EE.txt new file mode 100644 index 000000000..11bba2a83 --- /dev/null +++ b/Objective-C/Exports/CBL_EE.txt @@ -0,0 +1,65 @@ +# CBL_EE.txt +# CouchbaseLite +# +# Copyright (c) 2024 Couchbase, Inc All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# All public symbols -- classes and constants -- need to be declared here. +# Run generate_exports.sh after modifying this file. + +# Classes: +.objc_class_name_CBLCoreMLPredictiveModel +.objc_class_name_CBLClientCertificateAuthenticator +.objc_class_name_CBLDatabaseEndpoint +.objc_class_name_CBLEncryptionKey +.objc_class_name_CBLListenerCertificateAuthenticator +.objc_class_name_CBLListenerPasswordAuthenticator +.objc_class_name_CBLMessage +.objc_class_name_CBLMessageEndpoint +.objc_class_name_CBLMessageEndpointListener +.objc_class_name_CBLMessageEndpointListenerChange +.objc_class_name_CBLMessageEndpointListenerConfiguration +.objc_class_name_CBLMessagingError +.objc_class_name_CBLPrediction +.objc_class_name_CBLPredictiveIndex +.objc_class_name_CBLQueryPredictionFunction +.objc_class_name_CBLTLSIdentity +.objc_class_name_CBLURLEndpointListener +.objc_class_name_CBLURLEndpointListenerConfiguration +.objc_class_name_CBLVectorEncoding +.objc_class_name_CBLVectorIndexConfiguration + +# Constants: +_kCBLDefaultListenerPort +_kCBLDefaultListenerDisableTls +_kCBLDefaultListenerReadOnly +_kCBLDefaultListenerEnableDeltaSync +_kCBLDefaultVectorIndexDistanceMetric +_kCBLDefaultVectorIndexEncoding +_kCBLCertAttrCommonName +_kCBLCertAttrCountry +_kCBLCertAttrEmailAddress +_kCBLCertAttrGivenName +_kCBLCertAttrHostname +_kCBLCertAttrIPAddress +_kCBLCertAttrLocality +_kCBLCertAttrOrganization +_kCBLCertAttrOrganizationUnit +_kCBLCertAttrPostalAddress +_kCBLCertAttrPostalCode +_kCBLCertAttrPseudonym +_kCBLCertAttrRegisteredID +_kCBLCertAttrStateOrProvince +_kCBLCertAttrSurname +_kCBLCertAttrURL diff --git a/Objective-C/Exports/Generated/CBL.exp b/Objective-C/Exports/Generated/CBL.exp new file mode 100644 index 000000000..bf6b5bd12 --- /dev/null +++ b/Objective-C/Exports/Generated/CBL.exp @@ -0,0 +1,89 @@ +# GENERATED BY generate_exports.sh -- DO NOT EDIT + +.objc_class_name_CBLArray +.objc_class_name_CBLAuthenticator +.objc_class_name_CBLBasicAuthenticator +.objc_class_name_CBLBlob +.objc_class_name_CBLCollection +.objc_class_name_CBLCollectionChange +.objc_class_name_CBLCollectionConfiguration +.objc_class_name_CBLConflict +.objc_class_name_CBLConflictResolver +.objc_class_name_CBLConsoleLogger +.objc_class_name_CBLDatabase +.objc_class_name_CBLDatabaseChange +.objc_class_name_CBLDatabaseConfiguration +.objc_class_name_CBLDictionary +.objc_class_name_CBLDocument +.objc_class_name_CBLDocumentChange +.objc_class_name_CBLDocumentFragment +.objc_class_name_CBLDocumentReplication +.objc_class_name_CBLFileLogger +.objc_class_name_CBLFragment +.objc_class_name_CBLFullTextIndex +.objc_class_name_CBLFullTextIndexConfiguration +.objc_class_name_CBLFullTextIndexItem +.objc_class_name_CBLIndex +.objc_class_name_CBLIndexBuilder +.objc_class_name_CBLIndexConfiguration +.objc_class_name_CBLLog +.objc_class_name_CBLLogFileConfiguration +.objc_class_name_CBLMutableArray +.objc_class_name_CBLMutableDictionary +.objc_class_name_CBLMutableDocument +.objc_class_name_CBLMutableFragment +.objc_class_name_CBLQuery +.objc_class_name_CBLQueryArrayExpression +.objc_class_name_CBLQueryArrayFunction +.objc_class_name_CBLQueryBuilder +.objc_class_name_CBLQueryChange +.objc_class_name_CBLQueryCollation +.objc_class_name_CBLQueryDataSource +.objc_class_name_CBLQueryExpression +.objc_class_name_CBLQueryFullTextExpression +.objc_class_name_CBLQueryFullTextFunction +.objc_class_name_CBLQueryFunction +.objc_class_name_CBLQueryJoin +.objc_class_name_CBLQueryLimit +.objc_class_name_CBLQueryMeta +.objc_class_name_CBLQueryOrdering +.objc_class_name_CBLQueryParameters +.objc_class_name_CBLQueryResult +.objc_class_name_CBLQueryResultSet +.objc_class_name_CBLQuerySelectResult +.objc_class_name_CBLQuerySortOrder +.objc_class_name_CBLQueryVariableExpression +.objc_class_name_CBLReplicatedDocument +.objc_class_name_CBLReplicator +.objc_class_name_CBLReplicatorChange +.objc_class_name_CBLReplicatorConfiguration +.objc_class_name_CBLReplicatorStatus +.objc_class_name_CBLScope +.objc_class_name_CBLSessionAuthenticator +.objc_class_name_CBLURLEndpoint +.objc_class_name_CBLValueIndex +.objc_class_name_CBLValueIndexConfiguration +.objc_class_name_CBLValueIndexItem +_CBLErrorDomain +_kCBLBlobContentTypeProperty +_kCBLBlobDigestProperty +_kCBLBlobLengthProperty +_kCBLBlobType +_kCBLDefaultCollectionName +_kCBLDefaultFullTextIndexIgnoreAccents +_kCBLDefaultLogFileMaxRotateCount +_kCBLDefaultLogFileMaxSize +_kCBLDefaultLogFileUsePlainText +_kCBLDefaultReplicatorAcceptParentCookies +_kCBLDefaultReplicatorAllowReplicatingInBackground +_kCBLDefaultReplicatorContinuous +_kCBLDefaultReplicatorEnableAutoPurge +_kCBLDefaultReplicatorHeartbeat +_kCBLDefaultReplicatorMaxAttemptWaitTime +_kCBLDefaultReplicatorMaxAttemptsContinuous +_kCBLDefaultReplicatorMaxAttemptsSingleShot +_kCBLDefaultReplicatorMaxAttemptsWaitTime +_kCBLDefaultReplicatorSelfSignedCertificateOnly +_kCBLDefaultReplicatorType +_kCBLDefaultScopeName +_kCBLTypeProperty diff --git a/Objective-C/Exports/Generated/CBL_EE.exp b/Objective-C/Exports/Generated/CBL_EE.exp new file mode 100644 index 000000000..ebf06e0e4 --- /dev/null +++ b/Objective-C/Exports/Generated/CBL_EE.exp @@ -0,0 +1,131 @@ +# GENERATED BY generate_exports.sh -- DO NOT EDIT + +.objc_class_name_CBLArray +.objc_class_name_CBLAuthenticator +.objc_class_name_CBLBasicAuthenticator +.objc_class_name_CBLBlob +.objc_class_name_CBLClientCertificateAuthenticator +.objc_class_name_CBLCollection +.objc_class_name_CBLCollectionChange +.objc_class_name_CBLCollectionConfiguration +.objc_class_name_CBLConflict +.objc_class_name_CBLConflictResolver +.objc_class_name_CBLConsoleLogger +.objc_class_name_CBLCoreMLPredictiveModel +.objc_class_name_CBLDatabase +.objc_class_name_CBLDatabaseChange +.objc_class_name_CBLDatabaseConfiguration +.objc_class_name_CBLDatabaseEndpoint +.objc_class_name_CBLDictionary +.objc_class_name_CBLDocument +.objc_class_name_CBLDocumentChange +.objc_class_name_CBLDocumentFragment +.objc_class_name_CBLDocumentReplication +.objc_class_name_CBLEncryptionKey +.objc_class_name_CBLFileLogger +.objc_class_name_CBLFragment +.objc_class_name_CBLFullTextIndex +.objc_class_name_CBLFullTextIndexConfiguration +.objc_class_name_CBLFullTextIndexItem +.objc_class_name_CBLIndex +.objc_class_name_CBLIndexBuilder +.objc_class_name_CBLIndexConfiguration +.objc_class_name_CBLListenerCertificateAuthenticator +.objc_class_name_CBLListenerPasswordAuthenticator +.objc_class_name_CBLLog +.objc_class_name_CBLLogFileConfiguration +.objc_class_name_CBLMessage +.objc_class_name_CBLMessageEndpoint +.objc_class_name_CBLMessageEndpointListener +.objc_class_name_CBLMessageEndpointListenerChange +.objc_class_name_CBLMessageEndpointListenerConfiguration +.objc_class_name_CBLMessagingError +.objc_class_name_CBLMutableArray +.objc_class_name_CBLMutableDictionary +.objc_class_name_CBLMutableDocument +.objc_class_name_CBLMutableFragment +.objc_class_name_CBLPrediction +.objc_class_name_CBLPredictiveIndex +.objc_class_name_CBLQuery +.objc_class_name_CBLQueryArrayExpression +.objc_class_name_CBLQueryArrayFunction +.objc_class_name_CBLQueryBuilder +.objc_class_name_CBLQueryChange +.objc_class_name_CBLQueryCollation +.objc_class_name_CBLQueryDataSource +.objc_class_name_CBLQueryExpression +.objc_class_name_CBLQueryFullTextExpression +.objc_class_name_CBLQueryFullTextFunction +.objc_class_name_CBLQueryFunction +.objc_class_name_CBLQueryJoin +.objc_class_name_CBLQueryLimit +.objc_class_name_CBLQueryMeta +.objc_class_name_CBLQueryOrdering +.objc_class_name_CBLQueryParameters +.objc_class_name_CBLQueryPredictionFunction +.objc_class_name_CBLQueryResult +.objc_class_name_CBLQueryResultSet +.objc_class_name_CBLQuerySelectResult +.objc_class_name_CBLQuerySortOrder +.objc_class_name_CBLQueryVariableExpression +.objc_class_name_CBLReplicatedDocument +.objc_class_name_CBLReplicator +.objc_class_name_CBLReplicatorChange +.objc_class_name_CBLReplicatorConfiguration +.objc_class_name_CBLReplicatorStatus +.objc_class_name_CBLScope +.objc_class_name_CBLSessionAuthenticator +.objc_class_name_CBLTLSIdentity +.objc_class_name_CBLURLEndpoint +.objc_class_name_CBLURLEndpointListener +.objc_class_name_CBLURLEndpointListenerConfiguration +.objc_class_name_CBLValueIndex +.objc_class_name_CBLValueIndexConfiguration +.objc_class_name_CBLValueIndexItem +.objc_class_name_CBLVectorEncoding +.objc_class_name_CBLVectorIndexConfiguration +_CBLErrorDomain +_kCBLBlobContentTypeProperty +_kCBLBlobDigestProperty +_kCBLBlobLengthProperty +_kCBLBlobType +_kCBLCertAttrCommonName +_kCBLCertAttrCountry +_kCBLCertAttrEmailAddress +_kCBLCertAttrGivenName +_kCBLCertAttrHostname +_kCBLCertAttrIPAddress +_kCBLCertAttrLocality +_kCBLCertAttrOrganization +_kCBLCertAttrOrganizationUnit +_kCBLCertAttrPostalAddress +_kCBLCertAttrPostalCode +_kCBLCertAttrPseudonym +_kCBLCertAttrRegisteredID +_kCBLCertAttrStateOrProvince +_kCBLCertAttrSurname +_kCBLCertAttrURL +_kCBLDefaultCollectionName +_kCBLDefaultFullTextIndexIgnoreAccents +_kCBLDefaultListenerDisableTls +_kCBLDefaultListenerEnableDeltaSync +_kCBLDefaultListenerPort +_kCBLDefaultListenerReadOnly +_kCBLDefaultLogFileMaxRotateCount +_kCBLDefaultLogFileMaxSize +_kCBLDefaultLogFileUsePlainText +_kCBLDefaultReplicatorAcceptParentCookies +_kCBLDefaultReplicatorAllowReplicatingInBackground +_kCBLDefaultReplicatorContinuous +_kCBLDefaultReplicatorEnableAutoPurge +_kCBLDefaultReplicatorHeartbeat +_kCBLDefaultReplicatorMaxAttemptWaitTime +_kCBLDefaultReplicatorMaxAttemptsContinuous +_kCBLDefaultReplicatorMaxAttemptsSingleShot +_kCBLDefaultReplicatorMaxAttemptsWaitTime +_kCBLDefaultReplicatorSelfSignedCertificateOnly +_kCBLDefaultReplicatorType +_kCBLDefaultScopeName +_kCBLDefaultVectorIndexDistanceMetric +_kCBLDefaultVectorIndexEncoding +_kCBLTypeProperty diff --git a/Objective-C/Exports/generate_exports.sh b/Objective-C/Exports/generate_exports.sh new file mode 100755 index 000000000..4f3e24317 --- /dev/null +++ b/Objective-C/Exports/generate_exports.sh @@ -0,0 +1,12 @@ +#! /bin/bash -e + +SCRIPT_DIR=`dirname $0` +pushd "$SCRIPT_DIR/generated" > /dev/null + +echo -e "# GENERATED BY generate_exports.sh -- DO NOT EDIT\n" > CBL.exp +echo -e "# GENERATED BY generate_exports.sh -- DO NOT EDIT\n" > CBL_EE.exp + +cat ../CBL.txt | sort | awk '/^[._]/ { print $0 }' >> CBL.exp +cat ../CBL.txt ../CBL_EE.txt | sort | awk '/^[._]/ { print $0 }' >> CBL_EE.exp + +popd > /dev/null diff --git a/xcconfigs/CBL_EE_ObjC.xcconfig b/xcconfigs/CBL_EE_ObjC.xcconfig index a01b27b47..93c36665a 100644 --- a/xcconfigs/CBL_EE_ObjC.xcconfig +++ b/xcconfigs/CBL_EE_ObjC.xcconfig @@ -20,4 +20,4 @@ #include "CBL_EE_Common.xcconfig" #include "CBL_ObjC.xcconfig" -CBL_EXPORTED_SYMBOLS_FILE = ../couchbase-lite-ios-ee/Sources/Objective-C/CouchbaseLite.exp +CBL_EXPORTED_SYMBOLS_FILE = Objective-C/Exports/Generated/CBL_EE.exp diff --git a/xcconfigs/CBL_ObjC.xcconfig b/xcconfigs/CBL_ObjC.xcconfig index 445f4f804..8e7caa5c4 100644 --- a/xcconfigs/CBL_ObjC.xcconfig +++ b/xcconfigs/CBL_ObjC.xcconfig @@ -17,7 +17,7 @@ // limitations under the License. // -CBL_EXPORTED_SYMBOLS_FILE = Objective-C/CouchbaseLite.exp +CBL_EXPORTED_SYMBOLS_FILE = Objective-C/Exports/Generated/CBL.exp DEFINES_MODULE = YES DYLIB_COMPATIBILITY_VERSION = 1 DYLIB_CURRENT_VERSION = 1