Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40876

failed to bundle folder to iphone

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.3.1
    • Build System
    • None
    • qt creator: 3.1.2 , 3.2.0
      qt for ios :5.3.1
      xcode :5.1.1
      OS X: v10.7
    • iOS/tvOS/watchOS

      1. add the follow code to .pro file ,compile failed :

      deployment.files = $$PWD/$$IOS_PACKAGE_SOURCE_DIR/translation
      QMAKE_BUNDLE_DATA += deployment

      2. compile output as follows:

      /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.DebugDevice
      2014-08-20 09:50:05.538 xcodebuild[3471:1007] [MT] DVTAssertions: ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-5074/DVTFoundation/FilePaths/DVTFilePath.m:778
      Details: fsrep is relative ('../video360/ios/translation') parentPath must not be nil but it is.
      Object: <DVTFilePath>
      Method: +_filePathForParent:fileSystemRepresentation:length:allowCreation:
      Thread: <NSThread: 0x7fb843d10110>

      {name = (null), num = 1}

      Hints: None
      Backtrace:
      0 0x000000010b0d9ac1 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
      1 0x000000010b0d9519 _DVTAssertionHandler (in DVTFoundation)
      2 0x000000010b0d97ff _DVTAssertionFailureHandler (in DVTFoundation)
      3 0x000000010af4d8f3 +[DVTFilePath _filePathForParent:fileSystemRepresentation:length:allowCreation:] (in DVTFoundation)
      4 0x000000010af4d522 +[DVTFilePath _filePathForParent:pathString:] (in DVTFoundation)
      5 0x000000010af4d2a6 +[DVTFilePath filePathForPathString:] (in DVTFoundation)
      6 0x000000010c90c093 +[PBXFileType fileTypeForPath:getExtraFileProperties:] (in DevToolsCore)
      7 0x000000010c8b4a62 -[PBXFileReference _getEffectiveFileType:fileProperties:] (in DevToolsCore)
      8 0x000000010c8b4beb -[PBXFileReference fileType] (in DevToolsCore)
      9 0x000000010c8b72ff -[PBXFileReference awakeFromPListUnarchiver:] (in DevToolsCore)
      10 0x00007fff910aab80 -[NSArray makeObjectsPerformSelector:withObject:] (in CoreFoundation)
      11 0x000000010c8c1a9b -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
      12 0x000000010c88f7fc +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
      13 0x000000010ca9b63f -[Xcode3Project initWithFilePath:extension:workspace:error:] (in DevToolsCore)
      14 0x000000010b7b5493 __73+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:]_block_invoke_2 (in IDEFoundation)
      15 0x00007fff8ba0d28d _dispatch_client_callout (in libdispatch.dylib)
      16 0x00007fff8ba0e146 _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
      17 0x000000010af4a5cf -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
      18 0x000000010b7b4eb6 __73+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:]_block_invoke (in IDEFoundation)
      19 0x000000010b060255 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
      20 0x000000010b50329a +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
      21 0x000000010b50e898 -[IDEWorkspace _configureWrappedWorkspaceWithError:] (in IDEFoundation)
      22 0x000000010b631c04 -[IDEWorkspace _setContainerFilePath:upgradeToWorkspace:error:] (in IDEFoundation)
      23 0x000000010b5027ea +[IDEContainer retainedWrappedWorkspaceForContainerAtFilePath:fileDataType:error:] (in IDEFoundation)
      24 0x000000010bbb79a2 -[Xcode3CommandLineBuildTool _resolveInputOptionsWithTimingSection:] (in Xcode3Core)
      25 0x000000010bbc5190 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
      26 0x000000010af4198a (in xcodebuild)
      27 0x00007fff84d0a5fd start (in libdyld.dylib)
      28 0x0000000000000006
      Build settings from command line:
      SDKROOT = iphoneos7.1

      bash: line 1: 3471 Abort trap: 6 xcodebuild build -sdk iphoneos -configuration Debug
      3472 Done | grep -v setenv
      make[1]: *** [iphoneos-debug] Error 134
      make: *** [debug-iphoneos] Error 2
      09:50:06: 进程"/usr/bin/make"退出,退出代码 2 。
      Error while building/deploying project video360 (kit: iphoneos-clang Qt 5.3.1 (ios))
      When executing step "Make"

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            zhang_yang zhangyang
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes