Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8769] iOS: App build fails on Snow Leopard/iOS 4.3 configured machine

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-04-26T09:41:13.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sRelease 2.1.0, Sprint 2012-08
ComponentsiOS
LabelsSupportTeam, core
ReporterVarun Joshi
AssigneeStephen Tramer
Created2012-04-17T15:06:07.000+0000
Updated2017-03-07T18:16:56.000+0000

Description

For Snow Leopard and iOS 4.3 configuration, the app is not building for iOS on a 2.0.x release. I have tested this on the latest CI 2.0 (4/10/2012) available on the CI server. This can be tested with a simple 1 window application. Here is the log shown on the console: {noformat} [ERROR] /Users/timothy/Documents/Titanium Studio Workspace/Scratch/build/iphone/Classes/NetworkModule.m:252:44: error: use of undeclared identifier 'UIRemoteNotificationTypeNewsstandContentAvailability' [2] [ERROR] /Users/timothy/Documents/Titanium Studio Workspace/Scratch/build/iphone/Classes/NetworkModule.m:304:33: error: use of undeclared identifier 'UIRemoteNotificationTypeNewsstandContentAvailability' [2] [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410131722/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 "/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410131722/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.v20120410131722/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65 {noformat} The customer added the following to ASIHTTPRequest.h by looking into the error code above: #ifndef __IPHONE_5_0 #define __IPHONE_5_0 50000 #endif To match the other #ifdefs in that file. This does removes the above error, but then compilation fails as follows: {noformat} [ERROR] /Users/timothy/Documents/Titanium Studio Workspace/Scratch/build/iphone/Classes/GeolocationModule.mm:199:18:{199:24-199:59}: error: cannot initialize a variable of type 'KrollContext *' with an rvalue of type 'id' [2] [ERROR] /Users/timothy/Documents/Titanium Studio Workspace/Scratch/build/iphone/Classes/GeolocationModule.mm:215:18:{215:24-215:59}: error: cannot initialize a variable of type 'KrollContext *' with an rvalue of type 'id' [2] [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410131722/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 "/Library/Application Support/Titanium/mobilesdk/osx/2.0.1.v20120410131722/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.v20120410131722/iphone/run.py", line 41, in run sys.exit(rc) SystemExit: 65 {noformat}

Comments

  1. Stephen Tramer 2012-04-19

    It should be noted that this configuration may be outside of our [compatibility matrix](http://docs.appcelerator.com/titanium/2.0/index.html#!/guide/Titanium_Compatibility_Matrix-section-29004837_TitaniumCompatibilityMatrix-Xcode).
  2. Lee Morris 2017-03-07

    Closing ticket due to time passed.

JSON Source