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

iOS: Using Ti.App.iOS.createSearchQuery without other UserActivity API's causes build to fail on device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0, Release 6.0.1
    • Fix Version/s: Release 6.0.2
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      Xcode 8.2.1
      iOS 10.2
      SDK 6.0.0GA, 6.0.1GA
      Titanium CLI
      CLI Version = 5.0.11
      node-appc Version = 0.2.39

    • Story Points:
      2
    • Sprint:
      2017 Sprint 02 SDK

      Description

      Issue Description

      Unable to build an app in device when Ti.App.iOS.createSearchQuery is used, I get this error below:

      [ERROR] :  ** BUILD FAILED **
      [ERROR] :  The following build commands failed:
      [ERROR] :  	CompileC build/Intermediates/QueensMemoryProject.build/Debug-iphoneos/QueensMemoryProject.build/Objects-normal/armv7/TiAppiOSSearchQueryProxy.o Classes/TiAppiOSSearchQueryProxy.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
      [ERROR] :  (1 failure)
      

      H5. Steps to reproduce

      1. Create a new Alloy projects
      2. Add Titanium 6.0.0 SDK on tiapp.xml.
      3. Execute this function below:

        // The search-query
        var searchQuery = Ti.App.iOS.createSearchQuery({
        	queryString : 'title == "Titanium*"',
        	attributes : ["title", "displayName", "keywords", "contentType"]
        });
        

      Expected Result

      The search query is created and ready to start.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                rramirez Ricardo Ramirez
                Reviewer:
                Vijay Singh
                Tester:
                Eric Wieber
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • It looks like Backbone Issue Sync is not enabled for your project.

                    Git Source Code