Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: Release 3.0.2
-
Fix Version/s: Release 3.0.2, Release 3.1.0, 2013 Sprint 03 JS, 2013 Sprint 03
-
Component/s: CLI
-
Labels:
-
Environment:
CLI version 3.0.24,
Titanium SDK version 3.0.2.v20130129171611,
Titanium SDK version 3.0.0 GA (set in tiapp.xml)
Description
Problem
Build fails setting tiapp.xml SDK version to 3.0.0GA and using 3.0.2 as CLI SDK when building from terminal using CLI
Steps to reproduce
- Set up a project tiapp.xml SDK to 3.0.0 GA
- Set SDK from CLI to latest 3.0.2 version (3.0.2.v20130129171611)
- cd to the project and run the build.
Tested with:
$ ti build
$ ti build -p ios
$ ti build -p ios --sdk 3.0.0.GA
Result: build fails.
Log:
fcasaliMBP:testProject fcasali$ ti build
|
Titanium Command-Line Interface, CLI version 3.0.24, Titanium SDK version 3.0.2.v20130129171611
|
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
|
|
Please report bugs to http://jira.appcelerator.org/
|
|
Target platform [android,ios,mobileweb]: ios
|
|
[INFO] tiapp.xml <sdk-version> set to 3.0.0.GA, but current Titanium SDK set to 3.0.2
|
[INFO] Forking correct SDK command: /usr/local/bin/node /usr/local/bin/ti build --sdk 3.0.0.GA
|
Target platform [android,ios,mobileweb]: ios
|
|
[INFO] Build type: development
|
[INFO] Building for target: simulator
|
[INFO] Building using iOS SDK: 6.0
|
[INFO] Building for iOS iPhone Simulator: 6.0
|
[INFO] Building for device family: universal
|
[INFO] Building for iOS 6.0; using 4.3 as minimum iOS version
|
[INFO] Debugging disabled
|
[INFO] Cleaning old build directory
|
[INFO] Performing full rebuild
|
[INFO] Copying Xcode iOS files
|
[INFO] Creating Xcode project directory: /Users/fcasali/development/Titanium Studio Workspace/testProject/build/iphone/testProject.xcodeproj
|
[INFO] Writing Xcode project data file: Titanium.xcodeproj/project.pbxproj
|
[INFO] Writing Xcode project configuration: project.xcconfig
|
[INFO] Writing Xcode module configuration: module.xcconfig
|
[INFO] Creating symlinks for simulator build
|
[INFO] Writing properties to ApplicationDefaults.m
|
[INFO] No module resources to copy
|
[INFO] Copying CommonJS modules
|
[ERROR] ** BUILD FAILED **
|
[ERROR] The following build commands failed:
|
[ERROR] PhaseScriptExecution Pre-Compile build/testProject.build/Debug-iphonesimulator/testProject-universal.build/Script-DABB369F12E8CB280026A6EA.sh
|
[ERROR] (1 failure)
|
fcasaliMBP:testProject fcasali$
|
Building from Studio works fine as expected.
Attachments
Issue Links
- is cloned from
-
TIMOB-12501 CLI: Build fails setting tiapp.xml SDK version to 3.0.0GA and using 3.0.2 as CLI SDK
-
- Closed
-