[TIMOB-8703] iOS: Build: Cannot compile project names that contain "Titanium"
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 2.0.1, Release 4.0.0 |
Fix Version/s | n/a |
Components | Tooling |
Labels | cb-tooling, core, module_build, qe-3.1.1, qe-4.0.1, qe-ios040912, qe-review, qe-testadded, supportTeam |
Reporter | Natalie Huynh |
Assignee | Unknown |
Created | 2012-04-12T14:17:40.000+0000 |
Updated | 2018-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
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
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
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?
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 <<<
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)
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
TESTING
----Create a project in Studio which contains (but is NOT) the word "Titanium"
Build + run on Simulator
SUCCESS: Runs in simulatorVerified on: SDK:v20120815194913 Studio:2.1.1.201207271312 Devices: iOS simulator, Android Emulator Able to build project successfully with name as 'Titaniumonly'
Reopening to update labels
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'.
Confirmed this does NOT work for iOS on 3.1.1.GA. It does work for Android and Mobile Web.
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.
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.
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
This also occurs with projects that have "Alloy" in the name. Attempting to build them for iOS Sim gives the following:
Tested "TitaniumTest" and "AlloyTest". Both are running fine on the Simulator. Can one of the QE verify?