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.

Bug 236479 - IDE sets iOS build setting incompatible after Xcode 5 update
Summary: IDE sets iOS build setting incompatible after Xcode 5 update
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jan Becicka
URL:
Keywords: 7.4_HR_FIX
Depends on:
Blocks:
 
Reported: 2013-09-27 14:33 UTC by Vladimir Riha
Modified: 2013-10-04 10:23 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-09-27 14:33:23 UTC
I used to have Xcode 4.X and all Cordova projects were using 

ios.build.sdk=iphoneos6.1

after Xcode update to version 5, IDE still uses this value but this SDK is not found on my system, so build action fails. Proper value in my case is 

ios.build.sdk=iphoneos7.0
Comment 1 Vladimir Riha 2013-09-27 14:39:16 UTC
after changing ios.build.sdk, build process fails with 

"No architectures to compile for (ARCHS=armv6\ armv7, VALID_ARCHS=i386 armv7 armv7s)"
Comment 2 Jan Becicka 2013-09-27 15:05:29 UTC
just change also
ios.build.arch=armv7 armv7s
Comment 3 Jan Becicka 2013-09-29 08:10:59 UTC
Changeset: bf5619cac6db
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-09-29 10:09
Message:
Comment 4 Quality Engineering 2013-09-30 01:24:58 UTC
Integrated into 'main-silver', will be available in build *201309300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bf5619cac6db
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #236479 - IDE sets iOS build setting incompatible after Xcode 5 update
Comment 5 Vladimir Riha 2013-09-30 08:58:33 UTC
Verified in trunk. I've tried to Clean & Build following projects:
 - Cordova sample project
 - new Cordova project
 - Cordova project from HTML5 project

In all cases, clean & build finished OK and both properties files contains

ios.build.arch=armv7
ios.build.sdk=iphoneos7.0

and

ios.build.arch=i386
ios.build.sdk=iphonesimulator7.0


I think this should go to 7.4 => 74_HR_FIX_CANDIDATE



Product Version: NetBeans IDE Dev (Build 201309300002)
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)
Comment 6 Jan Becicka 2013-09-30 11:29:48 UTC
Changeset: 63fc208c5b05
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2013-09-30 13:24
Message:   Apple A6 also needs to be supported by default
Comment 7 Jan Becicka 2013-09-30 14:09:21 UTC
Ken, maybe documentation needs to be improved a little bit. Now user is required to open Mobile Safari by hand if it is not open automatically (and it is not with Xcode 5).
Comment 8 Vladimir Riha 2013-09-30 15:16:39 UTC
I've created Cordova Map sample project and tried to build it against Cordova device. Then I've created plain HTML5 project and built it against Cordova Simulator. 

Both builds succeeded so verified in web-main
Comment 9 Marian Mirilovic 2013-10-01 07:20:20 UTC
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.
Comment 10 Jan Becicka 2013-10-01 11:39:03 UTC
fixed in release74
Comment 11 Vladimir Riha 2013-10-04 10:23:51 UTC
Verified

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)