Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-8769

iOS: App build fails on Snow Leopard/iOS 4.3 configured machine

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 2.0.1
    • Fix Version/s: Release 2.1.0, Sprint 2012-08
    • Component/s: iOS
    • Labels:
    • Environment:

      Titanium SDK: 2.0.X
      Platform OS: iOS

      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:

       
      [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
      
      

      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:

       
      [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<TiEvaluator>' [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<TiEvaluator>' [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
      
      

        Attachments

          Activity

            People

            • Assignee:
              stephentramer Stephen Tramer
              Reporter:
              vjoshi Varun Joshi
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-13065
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration