Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11394] Build: Unable to build for iOS on Xcode 4.2

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-10-17T17:17:07.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 21 Core, 2012 Sprint 21
ComponentsiOS
Labelscore, ios, regression
ReporterClayton Headley
AssigneeMax Stepanov
Created2012-10-11T20:23:03.000+0000
Updated2012-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.

Comments

  1. Nam Le 2012-10-11

    This was found via Studio, I'm cloning it since the issue occurs from the command line as well
  2. james an 2012-10-14

    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
  3. Max Stepanov 2012-10-15

    PR submitted https://github.com/appcelerator/titanium_mobile/pull/3236
  4. Clayton Headley 2012-12-18

    Verified fixed in Titanium Studio, build: 3.0.0.201212131639 using Titanium SDK 3.0.0GA. Closing ticket.

JSON Source