This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
MobileSafari is not open when invoking through ios-sim. Works fine with Xcode 4. Does not work with Xcode 5.
command ios-sim launch /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/Applications/MobileSafari.app --args -u http://google.com fails with this error Session could not be started: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "iOS Simulator failed to install the application." UserInfo=0x7fe289c1a570 {NSLocalizedDescription=iOS Simulator failed to install the application., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1} Trying to contact phonegap developers (authors of ios-sim) to evaluate.
Reported as https://github.com/phonegap/ios-sim/issues/60
Changeset: 4d196f02282b Author: Jan Becicka <jbecicka@netbeans.org> Date: 2013-09-30 11:44 Message:
The bug is in iOS-sim. I don't have any estimates, if they are going to fix it or not. I implemented workaround to detect, that iOS-sim is not able to run MobileSafari and improved message: Connecting to iOS Simulator. Please start Mobile Safari if it is not already running. User must start Mobile Safari by himself and then IDE connects to iOS simulator. This is the best what I'm able to do now.
Would it be safe to add it to 7.4 (since there are already 2 more candidates anyway)? This could help users to "make it working" with Xcode5 a lot.
Yes. We should integrate it IMO.
OK, adding proper keyword. I'll verify it asap
Verified in web-main, dialog is opened and after starting mobile Safari, inspection starts. Please continue with integration to 7.4 per HR instructions. Thank you Product Version: NetBeans IDE Dev (Build web-main-11700-on-20130930) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b14 System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
Integrated into 'main-silver', will be available in build *201310010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4d196f02282b User: Jan Becicka <jbecicka@netbeans.org> Log: Issue #236473 - Cannot open MobileSafari on iPhoneSimulator 7.0
Please integrate all fixes into releases/release74 branch TODAY (10/1) by 10pm CEST, we are going to build final 7.4 build during the night. Thanks in advance.
Workaround commited to release74. the issue itself reported as https://github.com/phonegap/ios-sim/issues/60
Verified in 7.4 Product Version: NetBeans IDE 7.4 (Build 201310012201) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b14 System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)