[TIMOB-11394] Build: Unable to build for iOS on Xcode 4.2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-10-17T17:17:07.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21 |
Components | iOS |
Labels | core, ios, regression |
Reporter | Clayton Headley |
Assignee | Max Stepanov |
Created | 2012-10-11T20:23:03.000+0000 |
Updated | 2012-12-18T23:52:47.000+0000 |
Description
While testing in Snow Leopard with Titanium Studio 3.0.0.201210090117 I received the following error when trying to build for iOS emulator or device.
[ERROR] /Users/shastaqa/Documents/Titanium_Studio_Workspace/Kitchen Sink/build/iphone/Classes/AppModule.m:425:38: error: property 'EVENT_ACCESSIBILITY_ANNOUNCEMENT' not found on object of type 'AppModule *' [3]
[ERROR] /Users/shastaqa/Documents/Titanium_Studio_Workspace/Kitchen Sink/build/iphone/Classes/AppModule.m:429:45: error: property 'EVENT_ACCESSIBILITY_LAYOUT_CHANGED' not found on object of type 'AppModule *' [3]
[ERROR] /Users/shastaqa/Documents/Titanium_Studio_Workspace/Kitchen Sink/build/iphone/Classes/AppModule.m:431:45: error: property 'EVENT_ACCESSIBILITY_SCREEN_CHANGED' not found on object of type 'AppModule *' [3]
[ERROR]
[ERROR] Error: Traceback (most recent call last):
File "/Users/shastaqa/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121009111437/iphone/builder.py", line 1374, 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/shastaqa/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121009111437/iphone/builder.py", line 1281, in execute_xcode
output = run.run(args,False,False,o)
File "/Users/shastaqa/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.v20121009111437/iphone/run.py", line 41, in run
sys.exit(rc)
Steps to reproduce:
1. Import Kitchen Sink
2. Build Kitchen Sink for iPad Emulator
Expected result:
Project should correctly build and start in Emulator
Actual results:
Studio outputs the above build error.
This was found via Studio, I'm cloning it since the issue occurs from the command line as well
I have encountered similar issue with the latest sdk from continuous build. OS: Mountain Lion Xcode: 4.5 Everything works when i revert back to sdk 2.1.3 GA
PR submitted https://github.com/appcelerator/titanium_mobile/pull/3236
Verified fixed in Titanium Studio, build: 3.0.0.201212131639 using Titanium SDK 3.0.0GA. Closing ticket.