Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17678] iOS8: No options to build for device or simulator and packaging

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-09-15T18:52:32.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sn/a
ComponentsCLI, iOS
Labelsregression
ReporterEwan Harris
AssigneeChris Barber
Created2014-09-11T00:25:02.000+0000
Updated2014-10-02T22:04:17.000+0000

Description

Description

When 3.3.0.GA is selected using ti sdk select and then in the tiapp.xml of a project 3.4.0 SDK is selected, there is no option to perform any actions relating to iOS (package, build) and when trying to build from the CLI the build fails and the error below is shown.
[ERROR] There are no supported Xcode installations found.
*Note* This appears to happen in any 3.4.0 SDK and is not specific to the latest build (3.4.0.v20140909222515)

Steps To Reproduce

1. Change ti sdk to 3.3.0.GA using
ti sdk select 3.3.0.GA
2. In your projects tiapp.xml change to 3.4.0.v20140909222515 3. Attempt to build to an iOS device/simulator or package for iOS distribution by using the CLI.

Actual Result

The build will fail due to the error above.

Expected Result

There build should succeed.

Attachments

FileDateSize
NoOptionPackaging.png2014-09-11T00:25:02.000+000037552
NoOptionsBuilding.png2014-09-11T00:25:02.000+000051882

Comments

  1. Chris Barber 2014-09-11

    This is a regression that was introduced in a recent commit that was supposed prevent TiSDK 3.3.0 apps from seeing Xcode 6. Once Xcode 6 is blocked and there are no other valid Xcodes, then it will inject the "no supported xcode installations found" issue. The build then picks that up and errors prior to the forking of the correct 3.4.0 build. The solution is most likely in the SDK by relocating the Xcode validation check after the project-dir callback.
  2. Chris Barber 2014-09-11

    Titanium CLI Master: https://github.com/appcelerator/titanium/pull/159 Titanium CLI 3_4_X: https://github.com/appcelerator/titanium/pull/160 To test: 1. Create an app with 3.4.0 2. Install Titanium SDK 3.3.0GA, 3.2.3.GA, 3.2.2.GA, 3.1.3.GA ti sdk install <ver> 3. Build the app with ti build -p ios -I 8.0 --sdk 3.3.0.GA 4. Repeat for the 3.2.3.GA, 3.2.2.GA, and 3.1.3.GA Every build should say "Forking correct SDK command" and will run the correct 3.4.0 build.
  3. Tim Poulsen 2014-09-11

    Builds correctly with all SDK versions as described. PRs merged.
  4. Olga Romero 2014-10-02

    Tested and verified the described behavior using Mac osx 10.9.5 Mavericks Appcelerator Studio, build: 3.4.0.201409261245 Titanium SDK, build: 3.4.0.GA acs@1.0.18 alloy 1.5.1-rc install@0.1.7 npm@1.4.23 sudo@1.0.3 titanium 3.4.0 titanium-code-processor@1.1.1 Xcode6.1GM

JSON Source