When we add multiple JS files inside assets folder and use common JS (require pattern) between JS calling in Native iOS Module development then it does not work.
Steps to reproduce:
1: Create a native iOS module. let say module name is test and id is com.example.test.
2: Create two or more java script files inside assets folder.
3: Rename one js file to *com.example.test.js* and require another js file inside com.example.test.js
4: Try to use objective C API exposed through module as well as common JS pattern based APIs exposed from JS files in app.js.
5: try to build and run the module now.
Result: it will fail, as it won't be able to find JS file which is required in *com.example.test.js*.
Note: For shorter and quick test about the above described process, simply use the below mentioned/attached module zips and after unzip try to build them.
Error message will describe the issue properly.
test.zip and testone.zip are two module zips created using TiSDK version 3.1.2.GA and 2.1.4.GA respectively.