Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8703] iOS: Build: Cannot compile project names that contain "Titanium"

GitHub Issuen/a
TypeBug
PriorityLow
StatusReopened
ResolutionUnresolved
Affected Version/sRelease 2.0.1, Release 4.0.0
Fix Version/sn/a
ComponentsTooling
Labelscb-tooling, core, module_build, qe-3.1.1, qe-4.0.1, qe-ios040912, qe-review, qe-testadded, supportTeam
ReporterNatalie Huynh
AssigneeUnknown
Created2012-04-12T14:17:40.000+0000
Updated2018-02-28T20:03:44.000+0000

Description

Steps To Reproduce: 1. Create a new Mobile Project name: TitaniumOnly 2. Compile the project to device Actual: [ERROR] xcodebuild: error: The project 'TitaniumOnly50000.xcodeproj' does not contain a target named 'TitaniumOnly50000-universal'. [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410103239/iphone/builder.py", line 1465, in main execute_xcode("iphoneos%s" % iphone_version,args,False) File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410103239/iphone/builder.py", line 1224, in execute_xcode output = run.run(args,False,False,o) File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410103239/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65 Expected: Should compile without error, or don't allow user to create app called Titanium

Comments

  1. Sam Huang 2012-04-17

    My project does not have the word "Titanium" at all, same issue. Could not run even in iPhone emulator. Switched back to 1.8.2 everything is fine. [ERROR] Error: Traceback (most recent call last): File "/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA/iphone/builder.py", line 1318, in main execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False) File "/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA/iphone/builder.py", line 1224, in execute_xcode output = run.run(args,False,False,o) File "/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65
  2. Demostenes Garcia 2012-04-17

    I'm facing the same problem after updating to SDK 2.0.1 (also tried with an ealier build, like 2.0.2.v20120417133255 and same issue). Things to keep in mind or details: - This was a 1.8.2 application. Just upgraded to 2.0.1.GA and tried to use it with no luck. - This *only* happens when trying to compile for iOS. Android works as expected. - If I go back to 1.8.x it works fine. Here is the backtrace (with 2.0.2): [INFO] Performing clean build [ERROR] /Users/demogar/Documents/Titanium Studio Workspace/CarteleraPanama/build/iphone/Classes/NetworkModule.m:252:44: error: use of undeclared identifier 'UIRemoteNotificationTypeNewsstandContentAvailability' [3] [ERROR] /Users/demogar/Documents/Titanium Studio Workspace/CarteleraPanama/build/iphone/Classes/NetworkModule.m:304:33: error: use of undeclared identifier 'UIRemoteNotificationTypeNewsstandContentAvailability' [3] [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Users/demogar/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.v20120417133255/iphone/builder.py", line 1318, in main execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False) File "/Users/demogar/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.v20120417133255/iphone/builder.py", line 1224, in execute_xcode output = run.run(args,False,False,o) File "/Users/demogar/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.v20120417133255/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65
  3. Sam Huang 2012-04-17

    I am suspecting it's due to the 3rd party modules I purchased and am using in the project. Maybe they are mostly 1.8.x compatible and not ready for 2.0?
  4. colin boettcher 2012-04-18

    I get the Same Error. I just created *a new _blank_ Mobile Project* with a "Single Window"-Template. Tried to compile&run that for iOS without any changes. (and without any Modules) Error Message: >>> [ERROR] /Users/riyuk/Development/titaniumapps/Testproject/build/iphone/Classes/NetworkModule.m:252:44: error: use of undeclared identifier 'UIRemoteNotificationTypeNewsstandContentAvailability' [3] [ERROR] /Users/riyuk/Development/titaniumapps/Testproject/build/iphone/Classes/NetworkModule.m:304:33: error: use of undeclared identifier 'UIRemoteNotificationTypeNewsstandContentAvailability' [3] [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Users/riyuk/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA2/iphone/builder.py", line 1318, in main execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False) File "/Users/riyuk/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA2/iphone/builder.py", line 1224, in execute_xcode output = run.run(args,False,False,o) File "/Users/riyuk/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.GA2/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65 <<<
  5. colin boettcher 2012-04-18

    i just forgot to mention the SDK Details - sorry. [INFO] Titanium SDK version: 2.0.1 (04/12/12 16:33 999c68a) [I selected Version: 2.0.1.GA2] [INFO] iPhone Device family: iphone [INFO] iPhone SDK version: 4.3 ~# xcodebuild -version Xcode 4.3.2 Build version 4E2002 Edit: Same Error with Version 2.0.1.GA(1) Edit 2: No Error with Framework Version 1.8.2 (02/23/12 17:46 59b3a90) Edit 3: Used Titanium Studio, build: 2.0.1.201204132053 Build: jenkins-titanium-rcp-master-185 (origin/master)
  6. Michel Perrin 2012-06-05

    Got exactly the same error since using 2.01 GA2 SDK I'm also using XCode 4.3.2 on Lion Cannot compile to iOS device with exactly the same log
  7. Stephen Tramer 2012-07-03

    TESTING

    ----

    Create a project in Studio which contains (but is NOT) the word "Titanium"

    Build + run on Simulator

    SUCCESS: Runs in simulator
  8. Anshu Mittal 2012-08-16

    Verified on: SDK:v20120815194913 Studio:2.1.1.201207271312 Devices: iOS simulator, Android Emulator Able to build project successfully with name as 'Titaniumonly'
  9. Anshu Mittal 2012-09-12

    Reopening to update labels
  10. Olga Romero 2013-02-13

    Tested with: Titanium Studio, build: 3.0.2.201302041757 Titanium SDK, build: 3.0.2.v20130207164659 Xcode 4.6 CLI 3.0.24 iOS 6.0 Simulator Actual result: Running from CLI: [ERROR] xcodebuild: error: The project 'vivaTitanium.xcodeproj' does not contain a target named 'vivaTitanium-universal'. from Studio: [ERROR] :  xcodebuild: error: The project 'vivaTitanium.xcodeproj' does not contain a target named 'vivaTitanium'.
  11. Chris Barber 2013-08-02

    Confirmed this does NOT work for iOS on 3.1.1.GA. It does work for Android and Mobile Web.
  12. Wilson Luu 2013-12-03

    Bug still persists on: Appcelerator Studio, build: 3.2.0.201311272052 SDK 3.2.0.v20131203104847 CLI: 3.2.0-beta Alloy: 1.3.0-beta Xcode: 5.0.2 Device: iphone 5 (7.0.2), iphone 5 (6.1.3) But, still works with Android.
  13. Priya Agarwal 2014-04-01

    Not working on: Appc Studio: 3.2.3.201403271839 Sdk:3.2.3.v20140328110916 alloy:1.3.1 titanium:3.2.3-alpha2 titanium-code-processor:1.1.1-alpha Osx: Maverick(10.9.2) Device:iPhone 5s(v7.1) Have also checked with 3.2.2.GA,3.2.1.GA,3.2.0.GA also and its not working.
  14. Ewan Harris 2015-05-27

    Issue still occurs using: Mac OSX 10.10.3 Appc Studio: 4.0.0.201505161338 Titanium SDK build: 4.0.1.v20150527105813 Appc CLI (NPM): 4.0.0 Appc CLI (Registry): 4.0.1-0 Creating a project with a name such as test_end2endTitanium, causes iOS builds to fail with the below. Android build pass however
        [ERROR] 2015-05-27 13:34:35.491 xcodebuild[39242:441299] [MT] iPhoneSimulator: SimVerifier returned: Error Domain=NSPOSIXErrorDomain Code=53 "Simulator verification failed." UserInfo=0x7fda00619330 {NSLocalizedFailureReason=A connection to the simulator verification service could not be established., NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled., NSLocalizedDescription=Simulator verification failed.}
        [ERROR] xcodebuild: error: The project 'test_end2endTitanium.xcodeproj' does not contain a target named 'test_end2endTitanium-universal'.
        
  15. Eric Wieber 2015-06-02

    This also occurs with projects that have "Alloy" in the name. Attempting to build them for iOS Sim gives the following:
        [TRACE] :  GenerateDSYMFile build/Debug-iphonesimulator/Alloy.app.dSYM build/Debug-iphonesimulator/Alloy.app/Alloy
        [TRACE] :      cd /Users/eharris/Documents/Appcelerator_Studio_Workspace/Alloy/build/iphone
        [TRACE] :      export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/eharris/Library/android-sdk-macosx/tools:/Users/eharris/Library/android-sdk-macosx/platform-tools"
        [TRACE] :      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/eharris/Documents/Appcelerator_Studio_Workspace/Alloy/build/iphone/build/Debug-iphonesimulator/Alloy.app/Alloy -o /Users/eharris/Documents/Appcelerator_Studio_Workspace/Alloy/build/iphone/build/Debug-iphonesimulator/Alloy.app.dSYM
        [TRACE] :  error: unable to open executable '': Is a directory
        [ERROR] :  ** BUILD FAILED **
        [ERROR] :  The following build commands failed:
        [ERROR] :      GenerateDSYMFile build/Debug-iphonesimulator/Alloy.app.dSYM build/Debug-iphonesimulator/Alloy.app/Alloy
        [ERROR] :  (1 failure)
        TRACE  | titanium exited with exit code 1
        ERROR  | Error: ti run exited with error code 1
        at ChildProcess.<anonymous> (/Users/eharris/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)
        at ChildProcess.emit (events.js:98:17)
        at Process.ChildProcess._handle.onexit (child_process.js:820:12)
        
  16. Hans Knöchel 2016-07-02

    Tested "TitaniumTest" and "AlloyTest". Both are running fine on the Simulator. Can one of the QE verify?
  17. Chris Barber 2016-07-02

JSON Source