File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 3
3
"""
4
4
5
5
import unittest
6
+ import re
6
7
7
8
from core .osutils .command import run
8
9
from core .osutils .file import File
@@ -48,6 +49,16 @@ def test_001_prepare_ios(self):
48
49
assert not File .exists (
49
50
'TNS_App/platforms/ios/TNSApp/app/tns_modules/application/application.ios.js' )
50
51
52
+ # Verify Xcode Schemes
53
+ output = run ("xcodebuild -project TNS_App/platforms/ios/TNSApp.xcodeproj/ -list" )
54
+ assert "This project contains no schemes." not in output
55
+
56
+ result = re .search ("Targets:\n \s*TNSApp" , output )
57
+ assert result is not None
58
+
59
+ result = re .search ("Schemes:\n \s*TNSApp" , output )
60
+ assert result is not None
61
+
51
62
def test_010_prepare_android_ng_project (self ):
52
63
output = run (TNS_PATH + " create TNS_App --ng" )
53
64
assert "successfully created" in output
You can’t perform that action at this time.
0 commit comments