2 Replies Latest reply: Oct 19, 2012 5:29 PM by Joe Huang-Oracle RSS

    Failed to deploy app to iOS6 simulator!

    yekki
      My Env: Mountain Lion 10.8 & Xcode45-DP2
      Error Messages:

      [04:54:10 PM] Updating iOS Native Framework profile dependencies with FAR profiles created from application projects...
      [04:54:10 PM] ---- Deployment started. ----
      [04:54:10 PM] Target platform is (iOS Native Framework).
      [04:54:10 PM] Beginning deployment of ADF Mobile application 'MyMobileApp' to iOS using profile 'IOS_MOBILE_NATIVE_archive1'.
      [04:54:10 PM] Verifying Application Controller project exists...
      [04:54:10 PM] Verifying application dependencies...
      [04:54:10 PM] Validating application XML files...
      [04:54:10 PM] Validating XML files in project ApplicationController...
      [04:54:11 PM] Validating XML files in project ViewController...
      [04:54:11 PM] Copying common javascript files...
      [04:54:12 PM] Running dependency analysis...
      [04:54:12 PM] Building...
      [04:54:12 PM] Deploying 3 profiles...
      [04:54:12 PM] Wrote Archive Module to /Users/gniu/jdeveloper/mywork/MyMobileApp/ApplicationController/deploy/ApplicationController.jar
      [04:54:12 PM] WARNING: No Resource Catalog enabled ADF components found to package
      [04:54:12 PM] Wrote Archive Module to /Users/gniu/jdeveloper/mywork/MyMobileApp/ViewController/deploy/ViewController.jar
      [04:54:13 PM] Copying FARs to the ADF Mobile Framework application...
      [04:54:13 PM] Copying FAR from source: ViewController...
      [04:54:13 PM] Copying FAR from source: ApplicationController...
      [04:54:13 PM] Deploying skinning files...
      [04:54:13 PM] Copying the CVM SDK files built for the x86 processor...
      [04:54:13 PM] Copying the CVM JDK files built for the x86 processor...
      [04:54:13 PM] Command-line executed from path: /Users/gniu/jdeveloper/mywork/MyMobileApp/deploy/IOS_MOBILE_NATIVE_archive1/temporary_xcode_project/
      [04:54:13 PM] Command-line executed: /Applications/Xcode45-DP2.app/Contents/Developer/usr/bin/xcodebuild clean install -configuration Debug -sdk /Applications/Xcode45-DP2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk DSTROOT=/Users/gniu/jdeveloper/mywork/MyMobileApp/deploy/IOS_MOBILE_NATIVE_archive1/Destination_Root/ ARCHS=i386 IPHONEOS_DEPLOYMENT_TARGET=4.3 TARGETED_DEVICE_FAMILY=1,2 PRODUCT_NAME=MyMobileApp
      [04:54:15 PM] Deployment cancelled.
      [04:54:15 PM] ---- Deployment incomplete ----.
      [04:54:15 PM] Failed to build the iOS application bundle. Encountered exception: "java.io.IOException: Deployment failed due to one or more errors returned by '/Applications/Xcode45-DP2.app/Contents/Developer/usr/bin/xcodebuild'. The following is a summary of the returned error(s):
      Command-line execution failed (Return code: 65)".
      [04:54:15 PM] Deployment failed due to one or more errors returned by '/Applications/Xcode45-DP2.app/Contents/Developer/usr/bin/xcodebuild'. The following is a summary of the returned error(s):
      Command-line execution failed (Return code: 65)
        • 1. Re: Failed to deploy app to iOS6 simulator!
          Joe Huang-Oracle
          Hi, we have an outstanding enhancement request to support Xcode 4.5 and iOS 6. Currently we have not been able to verify the design time integration. We only know that the current runtime (i.e. the app generated from JDeveloper/ADF Mobile Extension) can run on iOS 6, according to tests done by another beta participant.

          Thanks,

          Joe Huang
          • 2. Re: Failed to deploy app to iOS6 simulator!
            Joe Huang-Oracle
            Hi,

            BTW, I have done some informal testing using iOS SDK 6 and XCode 4.5.1 with ADF Mobile (GA candidate). I was able to deploy the app without any error. This is still not officially supported as we have not done full QA testing, and we still recommend using XCode 4.4.x.

            Also note, that currently the ADF Mobile app would run like any other non-iPhone 5 optimized app on the iPhone 5. In other word, it would run inside a sort of "letter box", with top and bottom blacked out. We are planning to properly support the iPhone 5 screen soon.

            Thanks,

            Joe Huang