Skip to content

Commit 5530f8d

Browse files
Fix test environment.
1 parent 93585bf commit 5530f8d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Project/JavaScriptBridge/JavaScriptBridge.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2640,8 +2640,8 @@
26402640
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
26412641
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/JavaScriptBridge.app/JavaScriptBridge";
26422642
FRAMEWORK_SEARCH_PATHS = (
2643-
"$(inherited)",
26442643
"$(SDKROOT)/Developer/Library/Frameworks",
2644+
"$(inherited)",
26452645
"$(DEVELOPER_FRAMEWORKS_DIR)",
26462646
);
26472647
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -2663,8 +2663,8 @@
26632663
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
26642664
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/JavaScriptBridge.app/JavaScriptBridge";
26652665
FRAMEWORK_SEARCH_PATHS = (
2666-
"$(inherited)",
26672666
"$(SDKROOT)/Developer/Library/Frameworks",
2667+
"$(inherited)",
26682668
"$(DEVELOPER_FRAMEWORKS_DIR)",
26692669
);
26702670
GCC_PRECOMPILE_PREFIX_HEADER = YES;

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ desc "build"
88
task :build, :workspace, :schemes do |t, args|
99
schemes = args[:schemes].gsub(/'/, '').split(' ')
1010
schemes.each do |scheme|
11-
system("xcodebuild -workspace #{args[:workspace]} -scheme #{scheme} CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO | xcpretty -c")
11+
sh "xcodebuild -workspace #{args[:workspace]} -scheme #{scheme} CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO | xcpretty -c"
1212
end
1313
end
1414

1515
desc "clean"
1616
task :clean, :workspace, :schemes do |t, args|
1717
schemes = args[:schemes].gsub(/'/, '').split(' ')
1818
schemes.each do |scheme|
19-
system("xcodebuild clean -workspace #{args[:workspace]} -scheme #{scheme} | xcpretty -c")
19+
sh "xcodebuild clean -workspace #{args[:workspace]} -scheme #{scheme} | xcpretty -c"
2020
end
2121
end
2222

@@ -25,7 +25,7 @@ task :test, :workspace, :schemes do |t, args|
2525
schemes = args[:schemes].gsub(/'/, '').split(' ')
2626
schemes.each do |scheme|
2727
DESTINATIONS.each do |destination|
28-
system("xcodebuild test -workspace #{args[:workspace]} -scheme #{scheme} -configuration Debug -sdk iphonesimulator -destination \"#{destination}\" | xcpretty -c")
28+
sh "xcodebuild test -workspace #{args[:workspace]} -scheme #{scheme} -configuration Debug -sdk iphonesimulator -destination \"#{destination}\" | xcpretty -c"
2929
end
3030
end
3131
end

0 commit comments

Comments
 (0)