Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2998] iOS: Tooling: Distribute builds and debug/run builds do not use the same source for name

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2012-01-24T08:53:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterShannon Hicks
AssigneePaul Dowsett
Created2012-01-24T08:36:32.000+0000
Updated2016-03-08T07:48:01.000+0000

Description

This problem has been around for a long time. Here's the scenario: You have a project named "MyProject" In tiapp.xml, you have "My Project" Do a debug/run build of the app in the Simulator Do a Distribut build, and you get this error:
[INFO] Performing clean build
[ERROR] xcodebuild: error: The directory /path/to/project/MyProject/build/iphone contains 2 projects, including multiple projects with the current extension (.xcodeproj). Specify the project to use with the -project option.
[ERROR] 
[ERROR] Error: Traceback (most recent call last):
  File "/Users/shan/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1482, in main
    execute_xcode("iphoneos%s" % iphone_version,args,False)
  File "/Users/shan/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py", line 1180, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Users/shan/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 78
In the build/iPhone directory, there are two xcodeproj files (and similarly named supporting files): MyProject.xcodeproj My Project.xcodeproj Workaround: Do a Project > Clean every time you want to switch between debug/run and Distribute builds. Very annoying.

Comments

  1. Shannon Hicks 2012-01-24

    Dupe of TIMOB-6583

JSON Source