react-native-nitro-sqlite 8.2.1-nitro.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/RNNitroSQLite.podspec +59 -0
  2. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  3. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  4. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  5. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  6. package/android/.gradle/8.9/gc.properties +0 -0
  7. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  8. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  9. package/android/.gradle/vcs-1/gc.properties +0 -0
  10. package/android/CMakeLists.txt +38 -0
  11. package/android/build.gradle +119 -0
  12. package/android/src/main/AndroidManifest.xml +4 -0
  13. package/android/src/main/cpp/cpp-adapter.cpp +21 -0
  14. package/android/src/main/java/com/margelo/rnnitrosqlite/RNNitroSQLiteOnLoadModule.java +57 -0
  15. package/android/src/main/java/com/margelo/rnnitrosqlite/RNNitroSQLitePackage.java +48 -0
  16. package/cpp/NitroSQLiteException.hpp +63 -0
  17. package/cpp/ThreadPool.cpp +91 -0
  18. package/cpp/ThreadPool.hpp +50 -0
  19. package/cpp/importSqlFile.cpp +48 -0
  20. package/cpp/importSqlFile.hpp +15 -0
  21. package/cpp/logs.hpp +38 -0
  22. package/cpp/macros.hpp +13 -0
  23. package/cpp/operations.cpp +296 -0
  24. package/cpp/operations.hpp +24 -0
  25. package/cpp/specs/HybridNativeQueryResult.cpp +20 -0
  26. package/cpp/specs/HybridNativeQueryResult.hpp +35 -0
  27. package/cpp/specs/HybridNitroSQLite.cpp +132 -0
  28. package/cpp/specs/HybridNitroSQLite.hpp +36 -0
  29. package/cpp/sqlite/sqlite3.c +237594 -0
  30. package/cpp/sqlite/sqlite3.h +12556 -0
  31. package/cpp/sqliteExecuteBatch.cpp +70 -0
  32. package/cpp/sqliteExecuteBatch.hpp +30 -0
  33. package/cpp/types.hpp +53 -0
  34. package/cpp/utils.hpp +61 -0
  35. package/ios/NitroSQLite.xcodeproj/project.pbxproj +447 -0
  36. package/ios/OnLoad.mm +41 -0
  37. package/ios/RNNitroSQLite-Swift.h +1 -0
  38. package/lib/commonjs/index.js +58 -0
  39. package/lib/commonjs/index.js.map +1 -0
  40. package/lib/commonjs/nitro.js +10 -0
  41. package/lib/commonjs/nitro.js.map +1 -0
  42. package/lib/commonjs/operations/execute.js +35 -0
  43. package/lib/commonjs/operations/execute.js.map +1 -0
  44. package/lib/commonjs/operations/session.js +39 -0
  45. package/lib/commonjs/operations/session.js.map +1 -0
  46. package/lib/commonjs/operations/transaction.js +95 -0
  47. package/lib/commonjs/operations/transaction.js.map +1 -0
  48. package/lib/commonjs/specs/NativeNitroSQLiteOnLoad.ios.js +11 -0
  49. package/lib/commonjs/specs/NativeNitroSQLiteOnLoad.ios.js.map +1 -0
  50. package/lib/commonjs/specs/NativeNitroSQLiteOnLoad.js +9 -0
  51. package/lib/commonjs/specs/NativeNitroSQLiteOnLoad.js.map +1 -0
  52. package/lib/commonjs/specs/NativeQueryResult.nitro.js +6 -0
  53. package/lib/commonjs/specs/NativeQueryResult.nitro.js.map +1 -0
  54. package/lib/commonjs/specs/NitroSQLite.nitro.js +6 -0
  55. package/lib/commonjs/specs/NitroSQLite.nitro.js.map +1 -0
  56. package/lib/commonjs/typeORM.js +62 -0
  57. package/lib/commonjs/typeORM.js.map +1 -0
  58. package/lib/commonjs/types.js +35 -0
  59. package/lib/commonjs/types.js.map +1 -0
  60. package/lib/module/index.js +23 -0
  61. package/lib/module/index.js.map +1 -0
  62. package/lib/module/nitro.js +4 -0
  63. package/lib/module/nitro.js.map +1 -0
  64. package/lib/module/operations/execute.js +28 -0
  65. package/lib/module/operations/execute.js.map +1 -0
  66. package/lib/module/operations/session.js +31 -0
  67. package/lib/module/operations/session.js.map +1 -0
  68. package/lib/module/operations/transaction.js +88 -0
  69. package/lib/module/operations/transaction.js.map +1 -0
  70. package/lib/module/specs/NativeNitroSQLiteOnLoad.ios.js +5 -0
  71. package/lib/module/specs/NativeNitroSQLiteOnLoad.ios.js.map +1 -0
  72. package/lib/module/specs/NativeNitroSQLiteOnLoad.js +3 -0
  73. package/lib/module/specs/NativeNitroSQLiteOnLoad.js.map +1 -0
  74. package/lib/module/specs/NativeQueryResult.nitro.js +2 -0
  75. package/lib/module/specs/NativeQueryResult.nitro.js.map +1 -0
  76. package/lib/module/specs/NitroSQLite.nitro.js +2 -0
  77. package/lib/module/specs/NitroSQLite.nitro.js.map +1 -0
  78. package/lib/module/typeORM.js +54 -0
  79. package/lib/module/typeORM.js.map +1 -0
  80. package/lib/module/types.js +33 -0
  81. package/lib/module/types.js.map +1 -0
  82. package/lib/tsconfig.tsbuildinfo +1 -0
  83. package/lib/typescript/index.d.ts +30 -0
  84. package/lib/typescript/nitro.d.ts +7 -0
  85. package/lib/typescript/operations/execute.d.ts +3 -0
  86. package/lib/typescript/operations/session.d.ts +4 -0
  87. package/lib/typescript/operations/transaction.d.ts +5 -0
  88. package/lib/typescript/specs/NativeNitroSQLiteOnLoad.d.ts +6 -0
  89. package/lib/typescript/specs/NativeNitroSQLiteOnLoad.ios.d.ts +3 -0
  90. package/lib/typescript/specs/NativeQueryResult.nitro.d.ts +37 -0
  91. package/lib/typescript/specs/NitroSQLite.nitro.d.ts +19 -0
  92. package/lib/typescript/typeORM.d.ts +19 -0
  93. package/lib/typescript/types.d.ts +79 -0
  94. package/nitrogen/generated/android/RNNitroSQLite+autolinking.cmake +48 -0
  95. package/nitrogen/generated/android/RNNitroSQLite+autolinking.gradle +25 -0
  96. package/nitrogen/generated/android/RNNitroSQLiteOnLoad.cpp +40 -0
  97. package/nitrogen/generated/android/RNNitroSQLiteOnLoad.hpp +25 -0
  98. package/nitrogen/generated/android/RNNitroSQLiteOnLoad.kt +1 -0
  99. package/nitrogen/generated/ios/RNNitroSQLite+autolinking.rb +56 -0
  100. package/nitrogen/generated/ios/RNNitroSQLite-Swift-Cxx-Bridge.cpp +8 -0
  101. package/nitrogen/generated/ios/RNNitroSQLite-Swift-Cxx-Bridge.hpp +303 -0
  102. package/nitrogen/generated/ios/RNNitroSQLite-Swift-Cxx-Umbrella.hpp +67 -0
  103. package/nitrogen/generated/ios/RNNitroSQLiteAutolinking.mm +35 -0
  104. package/nitrogen/generated/ios/RNNitroSQLiteAutolinking.swift +10 -0
  105. package/nitrogen/generated/shared/c++/BatchQueryCommand.hpp +77 -0
  106. package/nitrogen/generated/shared/c++/BatchQueryResult.hpp +68 -0
  107. package/nitrogen/generated/shared/c++/ColumnType.hpp +68 -0
  108. package/nitrogen/generated/shared/c++/FileLoadResult.hpp +72 -0
  109. package/nitrogen/generated/shared/c++/HybridNativeQueryResultSpec.cpp +24 -0
  110. package/nitrogen/generated/shared/c++/HybridNativeQueryResultSpec.hpp +74 -0
  111. package/nitrogen/generated/shared/c++/HybridNitroSQLiteSpec.cpp +31 -0
  112. package/nitrogen/generated/shared/c++/HybridNitroSQLiteSpec.hpp +91 -0
  113. package/nitrogen/generated/shared/c++/SQLiteQueryColumnMetadata.hpp +78 -0
  114. package/package.json +98 -0
  115. package/src/index.ts +26 -0
  116. package/src/nitro.ts +11 -0
  117. package/src/operations/execute.ts +45 -0
  118. package/src/operations/session.ts +58 -0
  119. package/src/operations/transaction.ts +137 -0
  120. package/src/specs/NativeNitroSQLiteOnLoad.ios.ts +7 -0
  121. package/src/specs/NativeNitroSQLiteOnLoad.ts +7 -0
  122. package/src/specs/NativeQueryResult.nitro.ts +44 -0
  123. package/src/specs/NitroSQLite.nitro.ts +39 -0
  124. package/src/typeORM.ts +101 -0
  125. package/src/types.ts +105 -0
@@ -0,0 +1,70 @@
1
+ /**
2
+ * SQL Batch execution implementation using default sqliteBridge implementation
3
+ */
4
+ #include "sqliteExecuteBatch.hpp"
5
+ #include "operations.hpp"
6
+ #include <utility>
7
+ #include "NitroSQLiteException.hpp"
8
+
9
+ namespace margelo::rnnitrosqlite {
10
+
11
+ std::vector<BatchQuery> batchParamsToCommands(const std::vector<BatchQueryCommand>& batchParams) {
12
+ auto commands = std::vector<BatchQuery>();
13
+
14
+ for (auto& command : batchParams) {
15
+ if (command.params) {
16
+ using ParamsVec = SQLiteQueryParams;
17
+ using NestedParamsVec = std::vector<ParamsVec>;
18
+
19
+ if (std::holds_alternative<NestedParamsVec>(*command.params)) {
20
+ // This arguments is an array of arrays, like a batch update of a single sql command.
21
+ for (const auto& params : std::get<NestedParamsVec>(*command.params)) {
22
+ commands.push_back(BatchQuery{command.query, std::make_shared<ParamsVec>(params)});
23
+ }
24
+ } else {
25
+ commands.push_back(BatchQuery{command.query, std::make_shared<ParamsVec>(std::move(std::get<ParamsVec>(*command.params)))});
26
+ }
27
+ } else {
28
+ commands.push_back(BatchQuery{command.query, NULL});
29
+ }
30
+ }
31
+
32
+ return commands;
33
+ }
34
+
35
+ SQLiteOperationResult sqliteExecuteBatch(const std::string& dbName, const std::vector<BatchQuery>& commands) {
36
+ size_t commandCount = commands.size();
37
+ if (commandCount <= 0) {
38
+ throw NitroSQLiteException(NitroSQLiteExceptionType::NoBatchCommandsProvided, "No SQL batch commands provided");
39
+ }
40
+
41
+ try {
42
+ int rowsAffected = 0;
43
+ sqliteExecuteLiteral(dbName, "BEGIN EXCLUSIVE TRANSACTION");
44
+ for (int i = 0; i < commandCount; i++) {
45
+ const auto command = commands.at(i);
46
+
47
+ // We do not provide a datas tructure to receive query data because we don't need/want to handle this results in a batch execution
48
+ auto results = SQLiteQueryResults();
49
+ auto metadata = std::optional<SQLiteQueryTableMetadata>(std::nullopt);
50
+ try {
51
+ auto result = sqliteExecute(dbName, command.sql, *command.params.get());
52
+ rowsAffected += result.rowsAffected;
53
+ } catch (NitroSQLiteException& e) {
54
+ sqliteExecuteLiteral(dbName, "ROLLBACK");
55
+ throw e;
56
+ }
57
+ }
58
+
59
+ sqliteExecuteLiteral(dbName, "COMMIT");
60
+ return {
61
+ .rowsAffected = rowsAffected,
62
+ .commands = (int)commandCount,
63
+ };
64
+ } catch (NitroSQLiteException& e) {
65
+ sqliteExecuteLiteral(dbName, "ROLLBACK");
66
+ throw e;
67
+ }
68
+ }
69
+
70
+ } // namespace margelo::rnnitrosqlite
@@ -0,0 +1,30 @@
1
+ /**
2
+ * SQL Batch execution implementation using default sqliteBridge implementation
3
+ */
4
+ #pragma once
5
+
6
+ #include "BatchQueryCommand.hpp"
7
+ #include "types.hpp"
8
+
9
+ using namespace facebook;
10
+ using namespace margelo::nitro;
11
+
12
+ namespace margelo::rnnitrosqlite {
13
+
14
+ struct BatchQuery {
15
+ std::string sql;
16
+ std::shared_ptr<SQLiteQueryParams> params;
17
+ };
18
+
19
+ /**
20
+ * Local Helper method to translate JSI objects BatchQuery datastructure
21
+ * MUST be called in the JavaScript Thread
22
+ */
23
+ std::vector<BatchQuery> batchParamsToCommands(const std::vector<BatchQueryCommand>& batchParams);
24
+
25
+ /**
26
+ * Execute a batch of commands in a exclusive transaction
27
+ */
28
+ SQLiteOperationResult sqliteExecuteBatch(const std::string& dbName, const std::vector<BatchQuery>& commands);
29
+
30
+ } // namespace margelo::rnnitrosqlite
package/cpp/types.hpp ADDED
@@ -0,0 +1,53 @@
1
+ #pragma once
2
+
3
+ #include "SQLiteQueryColumnMetadata.hpp"
4
+ #include "ColumnType.hpp"
5
+ #include <NitroModules/ArrayBuffer.hpp>
6
+ #include <string>
7
+
8
+ using namespace margelo::nitro;
9
+ using namespace margelo::nitro::rnnitrosqlite;
10
+
11
+ namespace margelo::rnnitrosqlite {
12
+
13
+ // using SQLiteValue = std::variant<std::string, double, int64_t, bool, std::shared_ptr<ArrayBuffer>, std::monostate>;
14
+ using SQLiteValue = std::variant<std::string, double, int64_t, bool, std::shared_ptr<ArrayBuffer>>;
15
+ using SQLiteQueryParams = std::vector<SQLiteValue>;
16
+ using SQLiteQueryResultRow = std::unordered_map<std::string, SQLiteValue>;
17
+ using SQLiteQueryResults = std::vector<SQLiteQueryResultRow>;
18
+ using SQLiteQueryTableMetadata = std::unordered_map<std::string, SQLiteQueryColumnMetadata>;
19
+
20
+ struct SQLiteOperationResult {
21
+ int rowsAffected;
22
+ double insertId;
23
+ int commands;
24
+ };
25
+
26
+ struct SQLiteExecuteQueryResult {
27
+ int rowsAffected;
28
+ double insertId;
29
+
30
+ std::unique_ptr<SQLiteQueryResults> results;
31
+ std::unique_ptr<std::optional<SQLiteQueryTableMetadata>> metadata;
32
+ };
33
+
34
+ // constexpr function that maps SQLiteColumnType to string literals
35
+ inline ColumnType mapSQLiteTypeToColumnType(const char* type) {
36
+ if (type == NULL) {
37
+ return ColumnType::NULL_VALUE;
38
+ } else if (strcmp(type, "BOOLEAN")) {
39
+ return ColumnType::BOOLEAN;
40
+ } else if (strcmp(type, "FLOAT")) {
41
+ return ColumnType::NUMBER;
42
+ } else if (strcmp(type, "INTEGER")) {
43
+ return ColumnType::INT64;
44
+ } else if (strcmp(type, "TEXT")) {
45
+ return ColumnType::TEXT;
46
+ } else if (strcmp(type, "BLOB")) {
47
+ return ColumnType::ARRAY_BUFFER;
48
+ } else {
49
+ return ColumnType::NULL_VALUE;
50
+ }
51
+ }
52
+
53
+ } // namespace margelo::rnnitrosqlite
package/cpp/utils.hpp ADDED
@@ -0,0 +1,61 @@
1
+ #pragma once
2
+
3
+
4
+ #include <sys/stat.h>
5
+ #include <string>
6
+
7
+ namespace margelo::rnnitrosqlite {
8
+
9
+ bool folder_exists(const std::string& foldername) {
10
+ struct stat buffer;
11
+ return (stat(foldername.c_str(), &buffer) == 0);
12
+ }
13
+
14
+ /**
15
+ * Portable wrapper for mkdir. Internally used by mkdir()
16
+ * @param[in] path the full path of the directory to create.
17
+ * @return zero on success, otherwise -1.
18
+ */
19
+ int _mkdir(const char* path) {
20
+ #if _POSIX_C_SOURCE
21
+ return mkdir(path);
22
+ #else
23
+ return mkdir(path, 0755); // not sure if this works on mac
24
+ #endif
25
+ }
26
+
27
+ /**
28
+ * Recursive, portable wrapper for mkdir.
29
+ * @param[in] path the full path of the directory to create.
30
+ * @return zero on success, otherwise -1.
31
+ */
32
+ int mkdir(const char* path) {
33
+ std::string current_level = "/";
34
+ std::string level;
35
+ std::stringstream ss(path);
36
+ // First line is empty because it starts with /User
37
+ getline(ss, level, '/');
38
+ // split path using slash as a separator
39
+ while (getline(ss, level, '/')) {
40
+ current_level += level; // append folder to the current level
41
+ // create current level
42
+ if (!folder_exists(current_level) && _mkdir(current_level.c_str()) != 0)
43
+ return -1;
44
+
45
+ current_level += "/"; // don't forget to append a slash
46
+ }
47
+
48
+ return 0;
49
+ }
50
+
51
+ inline bool file_exists(const std::string& path) {
52
+ struct stat buffer;
53
+ return (stat(path.c_str(), &buffer) == 0);
54
+ }
55
+
56
+ std::string get_db_path(const std::string& dbName, const std::string& docPath) {
57
+ mkdir(docPath.c_str());
58
+ return docPath + "/" + dbName;
59
+ }
60
+
61
+ }
@@ -0,0 +1,447 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 83BC6E412C8F788C00B954D2 /* OnLoad.mm in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E402C8F788C00B954D2 /* OnLoad.mm */; };
11
+ 83BC6E712C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Bridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E452C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Bridge.cpp */; };
12
+ 83BC6E722C8F78A200B954D2 /* HybridNitroSQLiteSpec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E4F2C8F78A200B954D2 /* HybridNitroSQLiteSpec.cpp */; };
13
+ 83BC6E732C8F78A200B954D2 /* HybridSelectQueryResultSpec.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E512C8F78A200B954D2 /* HybridSelectQueryResultSpec.cpp */; };
14
+ 83BC6E742C8F78A200B954D2 /* HybridNitroSQLite.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E5A2C8F78A200B954D2 /* HybridNitroSQLite.cpp */; };
15
+ 83BC6E752C8F78A200B954D2 /* HybridSelectQueryResult.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E5C2C8F78A200B954D2 /* HybridSelectQueryResult.cpp */; };
16
+ 83BC6E762C8F78A200B954D2 /* JSIHelper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E602C8F78A200B954D2 /* JSIHelper.cpp */; };
17
+ 83BC6E772C8F78A200B954D2 /* OnLoad.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E642C8F78A200B954D2 /* OnLoad.cpp */; };
18
+ 83BC6E782C8F78A200B954D2 /* sqlbatchexecutor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E662C8F78A200B954D2 /* sqlbatchexecutor.cpp */; };
19
+ 83BC6E792C8F78A200B954D2 /* sqlfileloader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E682C8F78A200B954D2 /* sqlfileloader.cpp */; };
20
+ 83BC6E7A2C8F78A200B954D2 /* sqlite3.c in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E6A2C8F78A200B954D2 /* sqlite3.c */; };
21
+ 83BC6E7B2C8F78A200B954D2 /* sqliteBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E6C2C8F78A200B954D2 /* sqliteBridge.cpp */; };
22
+ 83BC6E7C2C8F78A200B954D2 /* ThreadPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E6E2C8F78A200B954D2 /* ThreadPool.cpp */; };
23
+ 83BC6E7F2C8F7BDD00B954D2 /* Empty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83BC6E7E2C8F7BDD00B954D2 /* Empty.swift */; };
24
+ /* End PBXBuildFile section */
25
+
26
+ /* Begin PBXCopyFilesBuildPhase section */
27
+ 58B511D91A9E6C8500147676 /* CopyFiles */ = {
28
+ isa = PBXCopyFilesBuildPhase;
29
+ buildActionMask = 2147483647;
30
+ dstPath = "include/$(PRODUCT_NAME)";
31
+ dstSubfolderSpec = 16;
32
+ files = (
33
+ );
34
+ runOnlyForDeploymentPostprocessing = 0;
35
+ };
36
+ /* End PBXCopyFilesBuildPhase section */
37
+
38
+ /* Begin PBXFileReference section */
39
+ 134814201AA4EA6300B7C361 /* libNitroSQLite.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libNitroSQLite.a; sourceTree = BUILT_PRODUCTS_DIR; };
40
+ 83BC6E402C8F788C00B954D2 /* OnLoad.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = OnLoad.mm; sourceTree = "<group>"; };
41
+ 83BC6E422C8F78A200B954D2 /* RNNitroSQLite+autolinking.cmake */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "RNNitroSQLite+autolinking.cmake"; sourceTree = "<group>"; };
42
+ 83BC6E432C8F78A200B954D2 /* RNNitroSQLite+autolinking.gradle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "RNNitroSQLite+autolinking.gradle"; sourceTree = "<group>"; };
43
+ 83BC6E452C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Bridge.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = "RNNitroSQLite-Swift-Cxx-Bridge.cpp"; sourceTree = "<group>"; };
44
+ 83BC6E462C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Bridge.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = "RNNitroSQLite-Swift-Cxx-Bridge.hpp"; sourceTree = "<group>"; };
45
+ 83BC6E472C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Umbrella.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = "RNNitroSQLite-Swift-Cxx-Umbrella.hpp"; sourceTree = "<group>"; };
46
+ 83BC6E482C8F78A200B954D2 /* RNNitroSQLite+autolinking.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = "RNNitroSQLite+autolinking.rb"; sourceTree = "<group>"; };
47
+ 83BC6E4A2C8F78A200B954D2 /* BatchQueryCommand.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = BatchQueryCommand.hpp; sourceTree = "<group>"; };
48
+ 83BC6E4B2C8F78A200B954D2 /* BatchQueryResult.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = BatchQueryResult.hpp; sourceTree = "<group>"; };
49
+ 83BC6E4C2C8F78A200B954D2 /* ColumnMetadata.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = ColumnMetadata.hpp; sourceTree = "<group>"; };
50
+ 83BC6E4D2C8F78A200B954D2 /* ColumnType.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = ColumnType.hpp; sourceTree = "<group>"; };
51
+ 83BC6E4E2C8F78A200B954D2 /* FileLoadResult.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = FileLoadResult.hpp; sourceTree = "<group>"; };
52
+ 83BC6E4F2C8F78A200B954D2 /* HybridNitroSQLiteSpec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HybridNitroSQLiteSpec.cpp; sourceTree = "<group>"; };
53
+ 83BC6E502C8F78A200B954D2 /* HybridNitroSQLiteSpec.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = HybridNitroSQLiteSpec.hpp; sourceTree = "<group>"; };
54
+ 83BC6E512C8F78A200B954D2 /* HybridSelectQueryResultSpec.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HybridSelectQueryResultSpec.cpp; sourceTree = "<group>"; };
55
+ 83BC6E522C8F78A200B954D2 /* HybridSelectQueryResultSpec.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = HybridSelectQueryResultSpec.hpp; sourceTree = "<group>"; };
56
+ 83BC6E532C8F78A200B954D2 /* QueryResult.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = QueryResult.hpp; sourceTree = "<group>"; };
57
+ 83BC6E542C8F78A200B954D2 /* QueryType.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = QueryType.hpp; sourceTree = "<group>"; };
58
+ 83BC6E552C8F78A200B954D2 /* Transaction.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Transaction.hpp; sourceTree = "<group>"; };
59
+ 83BC6E5A2C8F78A200B954D2 /* HybridNitroSQLite.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HybridNitroSQLite.cpp; sourceTree = "<group>"; };
60
+ 83BC6E5B2C8F78A200B954D2 /* HybridNitroSQLite.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = HybridNitroSQLite.hpp; sourceTree = "<group>"; };
61
+ 83BC6E5C2C8F78A200B954D2 /* HybridSelectQueryResult.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HybridSelectQueryResult.cpp; sourceTree = "<group>"; };
62
+ 83BC6E5D2C8F78A200B954D2 /* HybridSelectQueryResult.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = HybridSelectQueryResult.hpp; sourceTree = "<group>"; };
63
+ 83BC6E5E2C8F78A200B954D2 /* Types.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = Types.hpp; sourceTree = "<group>"; };
64
+ 83BC6E602C8F78A200B954D2 /* JSIHelper.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSIHelper.cpp; sourceTree = "<group>"; };
65
+ 83BC6E612C8F78A200B954D2 /* JSIHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSIHelper.h; sourceTree = "<group>"; };
66
+ 83BC6E622C8F78A200B954D2 /* logs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = logs.h; sourceTree = "<group>"; };
67
+ 83BC6E632C8F78A200B954D2 /* macros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = macros.h; sourceTree = "<group>"; };
68
+ 83BC6E642C8F78A200B954D2 /* OnLoad.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OnLoad.cpp; sourceTree = "<group>"; };
69
+ 83BC6E652C8F78A200B954D2 /* OnLoad.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = OnLoad.hpp; sourceTree = "<group>"; };
70
+ 83BC6E662C8F78A200B954D2 /* sqlbatchexecutor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sqlbatchexecutor.cpp; sourceTree = "<group>"; };
71
+ 83BC6E672C8F78A200B954D2 /* sqlbatchexecutor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sqlbatchexecutor.h; sourceTree = "<group>"; };
72
+ 83BC6E682C8F78A200B954D2 /* sqlfileloader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sqlfileloader.cpp; sourceTree = "<group>"; };
73
+ 83BC6E692C8F78A200B954D2 /* sqlfileloader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sqlfileloader.h; sourceTree = "<group>"; };
74
+ 83BC6E6A2C8F78A200B954D2 /* sqlite3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sqlite3.c; sourceTree = "<group>"; };
75
+ 83BC6E6B2C8F78A200B954D2 /* sqlite3.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sqlite3.h; sourceTree = "<group>"; };
76
+ 83BC6E6C2C8F78A200B954D2 /* sqliteBridge.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = sqliteBridge.cpp; sourceTree = "<group>"; };
77
+ 83BC6E6D2C8F78A200B954D2 /* sqliteBridge.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sqliteBridge.h; sourceTree = "<group>"; };
78
+ 83BC6E6E2C8F78A200B954D2 /* ThreadPool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ThreadPool.cpp; sourceTree = "<group>"; };
79
+ 83BC6E6F2C8F78A200B954D2 /* ThreadPool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThreadPool.h; sourceTree = "<group>"; };
80
+ 83BC6E7E2C8F7BDD00B954D2 /* Empty.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Empty.swift; sourceTree = "<group>"; };
81
+ /* End PBXFileReference section */
82
+
83
+ /* Begin PBXFrameworksBuildPhase section */
84
+ 58B511D81A9E6C8500147676 /* Frameworks */ = {
85
+ isa = PBXFrameworksBuildPhase;
86
+ buildActionMask = 2147483647;
87
+ files = (
88
+ );
89
+ runOnlyForDeploymentPostprocessing = 0;
90
+ };
91
+ /* End PBXFrameworksBuildPhase section */
92
+
93
+ /* Begin PBXGroup section */
94
+ 134814211AA4EA7D00B7C361 /* Products */ = {
95
+ isa = PBXGroup;
96
+ children = (
97
+ 134814201AA4EA6300B7C361 /* libNitroSQLite.a */,
98
+ );
99
+ name = Products;
100
+ sourceTree = "<group>";
101
+ };
102
+ 58B511D21A9E6C8500147676 = {
103
+ isa = PBXGroup;
104
+ children = (
105
+ 83BC6E702C8F78A200B954D2 /* cpp */,
106
+ 83BC6E592C8F78A200B954D2 /* nitrogen */,
107
+ 83BC6E402C8F788C00B954D2 /* OnLoad.mm */,
108
+ 83BC6E7E2C8F7BDD00B954D2 /* Empty.swift */,
109
+ 134814211AA4EA7D00B7C361 /* Products */,
110
+ );
111
+ sourceTree = "<group>";
112
+ };
113
+ 83BC6E442C8F78A200B954D2 /* android */ = {
114
+ isa = PBXGroup;
115
+ children = (
116
+ 83BC6E422C8F78A200B954D2 /* RNNitroSQLite+autolinking.cmake */,
117
+ 83BC6E432C8F78A200B954D2 /* RNNitroSQLite+autolinking.gradle */,
118
+ );
119
+ path = android;
120
+ sourceTree = "<group>";
121
+ };
122
+ 83BC6E492C8F78A200B954D2 /* ios */ = {
123
+ isa = PBXGroup;
124
+ children = (
125
+ 83BC6E452C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Bridge.cpp */,
126
+ 83BC6E462C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Bridge.hpp */,
127
+ 83BC6E472C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Umbrella.hpp */,
128
+ 83BC6E482C8F78A200B954D2 /* RNNitroSQLite+autolinking.rb */,
129
+ );
130
+ path = ios;
131
+ sourceTree = "<group>";
132
+ };
133
+ 83BC6E562C8F78A200B954D2 /* c++ */ = {
134
+ isa = PBXGroup;
135
+ children = (
136
+ 83BC6E4A2C8F78A200B954D2 /* BatchQueryCommand.hpp */,
137
+ 83BC6E4B2C8F78A200B954D2 /* BatchQueryResult.hpp */,
138
+ 83BC6E4C2C8F78A200B954D2 /* ColumnMetadata.hpp */,
139
+ 83BC6E4D2C8F78A200B954D2 /* ColumnType.hpp */,
140
+ 83BC6E4E2C8F78A200B954D2 /* FileLoadResult.hpp */,
141
+ 83BC6E4F2C8F78A200B954D2 /* HybridNitroSQLiteSpec.cpp */,
142
+ 83BC6E502C8F78A200B954D2 /* HybridNitroSQLiteSpec.hpp */,
143
+ 83BC6E512C8F78A200B954D2 /* HybridSelectQueryResultSpec.cpp */,
144
+ 83BC6E522C8F78A200B954D2 /* HybridSelectQueryResultSpec.hpp */,
145
+ 83BC6E532C8F78A200B954D2 /* QueryResult.hpp */,
146
+ 83BC6E542C8F78A200B954D2 /* QueryType.hpp */,
147
+ 83BC6E552C8F78A200B954D2 /* Transaction.hpp */,
148
+ );
149
+ path = "c++";
150
+ sourceTree = "<group>";
151
+ };
152
+ 83BC6E572C8F78A200B954D2 /* shared */ = {
153
+ isa = PBXGroup;
154
+ children = (
155
+ 83BC6E562C8F78A200B954D2 /* c++ */,
156
+ );
157
+ path = shared;
158
+ sourceTree = "<group>";
159
+ };
160
+ 83BC6E582C8F78A200B954D2 /* generated */ = {
161
+ isa = PBXGroup;
162
+ children = (
163
+ 83BC6E442C8F78A200B954D2 /* android */,
164
+ 83BC6E492C8F78A200B954D2 /* ios */,
165
+ 83BC6E572C8F78A200B954D2 /* shared */,
166
+ );
167
+ path = generated;
168
+ sourceTree = "<group>";
169
+ };
170
+ 83BC6E592C8F78A200B954D2 /* nitrogen */ = {
171
+ isa = PBXGroup;
172
+ children = (
173
+ 83BC6E582C8F78A200B954D2 /* generated */,
174
+ );
175
+ name = nitrogen;
176
+ path = ../nitrogen;
177
+ sourceTree = "<group>";
178
+ };
179
+ 83BC6E5F2C8F78A200B954D2 /* specs */ = {
180
+ isa = PBXGroup;
181
+ children = (
182
+ 83BC6E5A2C8F78A200B954D2 /* HybridNitroSQLite.cpp */,
183
+ 83BC6E5B2C8F78A200B954D2 /* HybridNitroSQLite.hpp */,
184
+ 83BC6E5C2C8F78A200B954D2 /* HybridSelectQueryResult.cpp */,
185
+ 83BC6E5D2C8F78A200B954D2 /* HybridSelectQueryResult.hpp */,
186
+ 83BC6E5E2C8F78A200B954D2 /* Types.hpp */,
187
+ );
188
+ path = specs;
189
+ sourceTree = "<group>";
190
+ };
191
+ 83BC6E702C8F78A200B954D2 /* cpp */ = {
192
+ isa = PBXGroup;
193
+ children = (
194
+ 83BC6E5F2C8F78A200B954D2 /* specs */,
195
+ 83BC6E602C8F78A200B954D2 /* JSIHelper.cpp */,
196
+ 83BC6E612C8F78A200B954D2 /* JSIHelper.h */,
197
+ 83BC6E622C8F78A200B954D2 /* logs.h */,
198
+ 83BC6E632C8F78A200B954D2 /* macros.h */,
199
+ 83BC6E642C8F78A200B954D2 /* OnLoad.cpp */,
200
+ 83BC6E652C8F78A200B954D2 /* OnLoad.hpp */,
201
+ 83BC6E662C8F78A200B954D2 /* sqlbatchexecutor.cpp */,
202
+ 83BC6E672C8F78A200B954D2 /* sqlbatchexecutor.h */,
203
+ 83BC6E682C8F78A200B954D2 /* sqlfileloader.cpp */,
204
+ 83BC6E692C8F78A200B954D2 /* sqlfileloader.h */,
205
+ 83BC6E6A2C8F78A200B954D2 /* sqlite3.c */,
206
+ 83BC6E6B2C8F78A200B954D2 /* sqlite3.h */,
207
+ 83BC6E6C2C8F78A200B954D2 /* sqliteBridge.cpp */,
208
+ 83BC6E6D2C8F78A200B954D2 /* sqliteBridge.h */,
209
+ 83BC6E6E2C8F78A200B954D2 /* ThreadPool.cpp */,
210
+ 83BC6E6F2C8F78A200B954D2 /* ThreadPool.h */,
211
+ );
212
+ name = cpp;
213
+ path = ../cpp;
214
+ sourceTree = "<group>";
215
+ };
216
+ /* End PBXGroup section */
217
+
218
+ /* Begin PBXNativeTarget section */
219
+ 58B511DA1A9E6C8500147676 /* NitroSQLite */ = {
220
+ isa = PBXNativeTarget;
221
+ buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "NitroSQLite" */;
222
+ buildPhases = (
223
+ 58B511D71A9E6C8500147676 /* Sources */,
224
+ 58B511D81A9E6C8500147676 /* Frameworks */,
225
+ 58B511D91A9E6C8500147676 /* CopyFiles */,
226
+ );
227
+ buildRules = (
228
+ );
229
+ dependencies = (
230
+ );
231
+ name = NitroSQLite;
232
+ productName = RCTDataManager;
233
+ productReference = 134814201AA4EA6300B7C361 /* libNitroSQLite.a */;
234
+ productType = "com.apple.product-type.library.static";
235
+ };
236
+ /* End PBXNativeTarget section */
237
+
238
+ /* Begin PBXProject section */
239
+ 58B511D31A9E6C8500147676 /* Project object */ = {
240
+ isa = PBXProject;
241
+ attributes = {
242
+ LastUpgradeCheck = 0920;
243
+ ORGANIZATIONNAME = Facebook;
244
+ TargetAttributes = {
245
+ 58B511DA1A9E6C8500147676 = {
246
+ CreatedOnToolsVersion = 6.1.1;
247
+ };
248
+ };
249
+ };
250
+ buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "NitroSQLite" */;
251
+ compatibilityVersion = "Xcode 3.2";
252
+ developmentRegion = English;
253
+ hasScannedForEncodings = 0;
254
+ knownRegions = (
255
+ English,
256
+ en,
257
+ );
258
+ mainGroup = 58B511D21A9E6C8500147676;
259
+ productRefGroup = 58B511D21A9E6C8500147676;
260
+ projectDirPath = "";
261
+ projectRoot = "";
262
+ targets = (
263
+ 58B511DA1A9E6C8500147676 /* NitroSQLite */,
264
+ );
265
+ };
266
+ /* End PBXProject section */
267
+
268
+ /* Begin PBXSourcesBuildPhase section */
269
+ 58B511D71A9E6C8500147676 /* Sources */ = {
270
+ isa = PBXSourcesBuildPhase;
271
+ buildActionMask = 2147483647;
272
+ files = (
273
+ 83BC6E772C8F78A200B954D2 /* OnLoad.cpp in Sources */,
274
+ 83BC6E792C8F78A200B954D2 /* sqlfileloader.cpp in Sources */,
275
+ 83BC6E7C2C8F78A200B954D2 /* ThreadPool.cpp in Sources */,
276
+ 83BC6E712C8F78A200B954D2 /* RNNitroSQLite-Swift-Cxx-Bridge.cpp in Sources */,
277
+ 83BC6E762C8F78A200B954D2 /* JSIHelper.cpp in Sources */,
278
+ 83BC6E7F2C8F7BDD00B954D2 /* Empty.swift in Sources */,
279
+ 83BC6E7B2C8F78A200B954D2 /* sqliteBridge.cpp in Sources */,
280
+ 83BC6E722C8F78A200B954D2 /* HybridNitroSQLiteSpec.cpp in Sources */,
281
+ 83BC6E732C8F78A200B954D2 /* HybridSelectQueryResultSpec.cpp in Sources */,
282
+ 83BC6E782C8F78A200B954D2 /* sqlbatchexecutor.cpp in Sources */,
283
+ 83BC6E752C8F78A200B954D2 /* HybridSelectQueryResult.cpp in Sources */,
284
+ 83BC6E412C8F788C00B954D2 /* OnLoad.mm in Sources */,
285
+ 83BC6E7A2C8F78A200B954D2 /* sqlite3.c in Sources */,
286
+ 83BC6E742C8F78A200B954D2 /* HybridNitroSQLite.cpp in Sources */,
287
+ );
288
+ runOnlyForDeploymentPostprocessing = 0;
289
+ };
290
+ /* End PBXSourcesBuildPhase section */
291
+
292
+ /* Begin XCBuildConfiguration section */
293
+ 58B511ED1A9E6C8500147676 /* Debug */ = {
294
+ isa = XCBuildConfiguration;
295
+ buildSettings = {
296
+ ALWAYS_SEARCH_USER_PATHS = NO;
297
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
298
+ CLANG_CXX_LIBRARY = "libc++";
299
+ CLANG_ENABLE_MODULES = YES;
300
+ CLANG_ENABLE_OBJC_ARC = YES;
301
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
302
+ CLANG_WARN_BOOL_CONVERSION = YES;
303
+ CLANG_WARN_COMMA = YES;
304
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
305
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
306
+ CLANG_WARN_EMPTY_BODY = YES;
307
+ CLANG_WARN_ENUM_CONVERSION = YES;
308
+ CLANG_WARN_INFINITE_RECURSION = YES;
309
+ CLANG_WARN_INT_CONVERSION = YES;
310
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
311
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
312
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
313
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
314
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
315
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
316
+ CLANG_WARN_UNREACHABLE_CODE = YES;
317
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
318
+ COPY_PHASE_STRIP = NO;
319
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
320
+ ENABLE_TESTABILITY = YES;
321
+ GCC_C_LANGUAGE_STANDARD = gnu99;
322
+ GCC_DYNAMIC_NO_PIC = NO;
323
+ GCC_NO_COMMON_BLOCKS = YES;
324
+ GCC_OPTIMIZATION_LEVEL = 0;
325
+ GCC_PREPROCESSOR_DEFINITIONS = (
326
+ "DEBUG=1",
327
+ "$(inherited)",
328
+ );
329
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
330
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
331
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
332
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
333
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
334
+ GCC_WARN_UNUSED_FUNCTION = YES;
335
+ GCC_WARN_UNUSED_VARIABLE = YES;
336
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
337
+ MTL_ENABLE_DEBUG_INFO = YES;
338
+ ONLY_ACTIVE_ARCH = YES;
339
+ SDKROOT = iphoneos;
340
+ };
341
+ name = Debug;
342
+ };
343
+ 58B511EE1A9E6C8500147676 /* Release */ = {
344
+ isa = XCBuildConfiguration;
345
+ buildSettings = {
346
+ ALWAYS_SEARCH_USER_PATHS = NO;
347
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
348
+ CLANG_CXX_LIBRARY = "libc++";
349
+ CLANG_ENABLE_MODULES = YES;
350
+ CLANG_ENABLE_OBJC_ARC = YES;
351
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
352
+ CLANG_WARN_BOOL_CONVERSION = YES;
353
+ CLANG_WARN_COMMA = YES;
354
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
355
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
356
+ CLANG_WARN_EMPTY_BODY = YES;
357
+ CLANG_WARN_ENUM_CONVERSION = YES;
358
+ CLANG_WARN_INFINITE_RECURSION = YES;
359
+ CLANG_WARN_INT_CONVERSION = YES;
360
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
361
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
362
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
363
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
364
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
365
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
366
+ CLANG_WARN_UNREACHABLE_CODE = YES;
367
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
368
+ COPY_PHASE_STRIP = YES;
369
+ ENABLE_NS_ASSERTIONS = NO;
370
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
371
+ GCC_C_LANGUAGE_STANDARD = gnu99;
372
+ GCC_NO_COMMON_BLOCKS = YES;
373
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
374
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
375
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
376
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
377
+ GCC_WARN_UNUSED_FUNCTION = YES;
378
+ GCC_WARN_UNUSED_VARIABLE = YES;
379
+ IPHONEOS_DEPLOYMENT_TARGET = 8.0;
380
+ MTL_ENABLE_DEBUG_INFO = NO;
381
+ SDKROOT = iphoneos;
382
+ VALIDATE_PRODUCT = YES;
383
+ };
384
+ name = Release;
385
+ };
386
+ 58B511F01A9E6C8500147676 /* Debug */ = {
387
+ isa = XCBuildConfiguration;
388
+ buildSettings = {
389
+ HEADER_SEARCH_PATHS = (
390
+ "$(inherited)",
391
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
392
+ "$(SRCROOT)/../../../React/**",
393
+ "$(SRCROOT)/../../react-native/React/**",
394
+ );
395
+ LIBRARY_SEARCH_PATHS = "$(inherited)";
396
+ OTHER_LDFLAGS = "-ObjC";
397
+ PRODUCT_NAME = NitroSQLite;
398
+ SKIP_INSTALL = YES;
399
+ SWIFT_OBJC_BRIDGING_HEADER = "Sequel-Bridging-Header.h";
400
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
401
+ SWIFT_VERSION = 5.0;
402
+ };
403
+ name = Debug;
404
+ };
405
+ 58B511F11A9E6C8500147676 /* Release */ = {
406
+ isa = XCBuildConfiguration;
407
+ buildSettings = {
408
+ HEADER_SEARCH_PATHS = (
409
+ "$(inherited)",
410
+ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
411
+ "$(SRCROOT)/../../../React/**",
412
+ "$(SRCROOT)/../../react-native/React/**",
413
+ );
414
+ LIBRARY_SEARCH_PATHS = "$(inherited)";
415
+ OTHER_LDFLAGS = "-ObjC";
416
+ PRODUCT_NAME = NitroSQLite;
417
+ SKIP_INSTALL = YES;
418
+ SWIFT_OBJC_BRIDGING_HEADER = "Sequel-Bridging-Header.h";
419
+ SWIFT_VERSION = 5.0;
420
+ };
421
+ name = Release;
422
+ };
423
+ /* End XCBuildConfiguration section */
424
+
425
+ /* Begin XCConfigurationList section */
426
+ 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "NitroSQLite" */ = {
427
+ isa = XCConfigurationList;
428
+ buildConfigurations = (
429
+ 58B511ED1A9E6C8500147676 /* Debug */,
430
+ 58B511EE1A9E6C8500147676 /* Release */,
431
+ );
432
+ defaultConfigurationIsVisible = 0;
433
+ defaultConfigurationName = Release;
434
+ };
435
+ 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "NitroSQLite" */ = {
436
+ isa = XCConfigurationList;
437
+ buildConfigurations = (
438
+ 58B511F01A9E6C8500147676 /* Debug */,
439
+ 58B511F11A9E6C8500147676 /* Release */,
440
+ );
441
+ defaultConfigurationIsVisible = 0;
442
+ defaultConfigurationName = Release;
443
+ };
444
+ /* End XCConfigurationList section */
445
+ };
446
+ rootObject = 58B511D31A9E6C8500147676 /* Project object */;
447
+ }