- Home /
Sqlite db error build iphone4
Hello everyone,
I'm trying to connect to a db.sqlite with basic unity and a IOS license to develop an app for the iphone 4.
I created my db (name.sqlite) and I put this file out of the Assets folder. Then I took the two dll (Mono.Data.SqliteClient.dll and System.Data.dll) and I put this file out of the Assets folder.
In my code (JavaScript) I do the following imports:
import System.Data;
import Mono.Data.SqliteClient;
When I try to build this code for iOS platform:
import System.Data;
import Mono.Data.SqliteClient;
private var connectionString: String;
private var dbcon : SqliteConnection; //the instantiation of this creates errors
...
...
this generated the following error:
ArgumentException: The Assembly Mono.Data.SqliteClient is referenced by Assembly-UnityScript. But the dll is not allowed to be included or could not be found. Error building Player: Extracting referenced dlls failed. Exception: Error building Player: Extracting referenced dlls failed.
Why???????
Your answer
![](https://koobas.hobune.stream/wayback/20220612184908im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
build error iOS on iphone 0 Answers
Unity iOS Build Bitcode Issue 1 Answer
[Unity 2017.3 + Vuforia 7] - Could not find "VuforiaPluginLoader.mm" 1 Answer
Unity iOS Build Error 0 Answers
ios stripping build errors 0 Answers