Enhance CI to run iOS tests #771
Comments
Working on figuring out how to integrate the tests into Cordova. |
Started work in the branch vNext_ilya_771 |
The next step is to create a cordova plugin with the iOS code inside of the test sub-folder |
We still need to modify the XCode file generated by Cordova because we need an embedded framework and that currently isn't supported by Cordova (there is a PR on it but it hasn't been accepted) and there are work arounds and we have to pick one. |
Everything works now! |
Before we were doing the set up work manually and now we are writing a script to automate and things are getting buggy. |
We need some clean up on the code and then we will submit a PR. |
CI is outdated. Since It has
We need the latest Xcode 7.3. So it can be an issue why builds aren't running on devices. We're working on updating CI. |
CI was updated with Xcode 7.3. The issues still remains. |
We seem to be having an issue with code signing but only in CI, not on any of the local machines. We aren't 100% sure this is true or not but it's our best theory. So we want to try to use Carthage because it handles part of the code signing. Our problem is that we are using a dynamic library and such libraries can either be signed or not and right now we aren't signed. So either we need to become a static library or we have configured something wrong in dynamic signing. But for Swift everything pretty much has to be dynamic so even if we fix the xctest framework problem this issue is going to come back. |
link to PR #818 |
@yaronyg @jareksl I have an assumption how we can solve the issue. Currently as I understand CI uses developer provisioning profile, so we need to try using AdHoc provisioning profile to build test app. During the investigating this issue I run the command |
@jareksl please check app bundle id in developer.apple.com. It looks that |
The error |
Right now tests say they are passing when they are not. We need to figure out why and fix it. |
This will require adding the code to detect when we are on iOS, run the tests and communicate the results to CI
The text was updated successfully, but these errors were encountered: