Skip to content

Commit c883a50

Browse files
committed
EranMes, on behalf of Dharani Govindan: When building the iPhone app, build for the simulatior, not the real device.
r9527
1 parent 4e89695 commit c883a50

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ task :iphone_server do
402402
sdk = iPhoneSDK?
403403
if sdk != nil then
404404
puts "Building iWebDriver iphone app"
405-
sh "cd iphone && xcodebuild -sdk #{sdk} ARCHS=i386 -target iWebDriver", :verbose => true
405+
sh "cd iphone && xcodebuild -sdk #{sdk} ARCHS=i386 -target iWebDriver", :verbose => false
406406
else
407407
puts "XCode not found. Not building the iphone driver."
408408
end

iphone/iWebDriver.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@
790790
"\"$(SRCROOT)/iphoneos.sdk/usr/local/lib\"",
791791
"\"$(SRCROOT)/../CocoaHTTPServer/build/Debug\"",
792792
);
793-
ONLY_ACTIVE_ARCH = NO;
793+
ONLY_ACTIVE_ARCH = YES;
794794
OTHER_LDFLAGS = (
795795
"-all_load",
796796
"-ObjC",
@@ -799,7 +799,7 @@
799799
SDKROOT = iphoneos3.2;
800800
SKIP_INSTALL = YES;
801801
TARGETED_DEVICE_FAMILY = "1,2";
802-
VALID_ARCHS = "armv6 armv7";
802+
VALID_ARCHS = i386;
803803
};
804804
name = Debug;
805805
};
@@ -819,7 +819,7 @@
819819
"\"$(SRCROOT)/iphoneos.sdk/usr/local/lib\"",
820820
"\"$(SRCROOT)/../CocoaHTTPServer/build/Debug\"",
821821
);
822-
ONLY_ACTIVE_ARCH = NO;
822+
ONLY_ACTIVE_ARCH = YES;
823823
OTHER_LDFLAGS = (
824824
"-all_load",
825825
"-ObjC",
@@ -828,7 +828,7 @@
828828
SDKROOT = iphoneos3.2;
829829
SKIP_INSTALL = YES;
830830
TARGETED_DEVICE_FAMILY = "1,2";
831-
VALID_ARCHS = "armv6 armv7";
831+
VALID_ARCHS = i386;
832832
};
833833
name = Release;
834834
};

0 commit comments

Comments
 (0)