Skip to content

Commit 0308ef7

Browse files
Vasil ChimevVasil Chimev
Vasil Chimev
authored and
Vasil Chimev
committed
Make sure the Podfile contains the "use_frameworks" directive by default.
NativeScript/nativescript-cli#852
1 parent 01ea81f commit 0308ef7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/plugins_osx_pods.py

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def test_001_PluginAdd_Pod_GoogleMaps_Before_PlatformAdd_iOS(self):
4242
assert ("source 'https://github.com/CocoaPods/Specs.git'" in output)
4343
assert ("platform :ios, '8.1'" in output)
4444
assert ("pod 'GoogleMaps'" in output)
45+
assert ("use_frameworks!" in output)
4546

4647
output = runAUT("cat TNS_App/platforms/ios/TNSApp.xcworkspace/contents.xcworkspacedata")
4748
assert ("location = \"group:TNSApp.xcodeproj\">" in output)
@@ -73,6 +74,7 @@ def test_002_PluginAdd_Pod_GoogleMaps_After_PlatformAdd_iOS(self):
7374
assert ("source 'https://github.com/CocoaPods/Specs.git'" in output)
7475
assert ("platform :ios, '8.1'" in output)
7576
assert ("pod 'GoogleMaps'" in output)
77+
assert ("use_frameworks!" in output)
7678

7779
output = runAUT("cat TNS_App/platforms/ios/TNSApp.xcworkspace/contents.xcworkspacedata")
7880
assert ("location = \"group:TNSApp.xcodeproj\">" in output)
@@ -107,6 +109,7 @@ def test_003_PluginAdd_MultiplePods(self):
107109
assert ("Successfully prepared plugin keychain for ios." in output)
108110

109111
output = runAUT("cat TNS_App/platforms/ios/Podfile")
112+
assert ("use_frameworks!" in output)
110113
assert ("pod 'iCarousel'" in output)
111114
assert ("pod 'AFNetworking'" in output)
112115
assert ("pod 'UICKeyChainStore'" in output)

0 commit comments

Comments
 (0)