I use following video for configuring ios setting.
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfmobiledeployios.html
But, When i deploy application in device i get following error.
[03:27:06 PM] xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
[03:27:06 PM] Command-line execution failed (Return code: 0)
[03:27:06 PM] Deployment cancelled.
[03:27:06 PM] ---- Deployment incomplete ----.
[03:27:06 PM] Failed to package the XCode application.
[03:27:06 PM] Failed to build the iOS application bundle.
[03:27:06 PM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'. The following is a summary of the returned error(s):
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
It appears /Volumes/Xcode doesnt exist on your filesystem when you were trying to deploy. Even more so, having Xcode under hte "volumes" directory indicates you have the xcode.dmg file mounted onto your filesystem as a mount and not actually installed on your filesystem.
I made a similar mistake, as the /Volumes/Xcode directory disappeared on me over night one time. To install onto your system, drag the xcode.dmg file onto the applications folder. You can use xcode from there.
After you install Xcode into your applications directory, double check your JDeveloper iOS settings "Tools > Preferences > ADF Mobile > Platforms". Make sure the SDK and xCode directories are correct.
Thanks,
Gavin
http://pitss.com/us
Related
Using Netbeans 11.3. Create the project from https://start.codenameone.com/. copy the contents of the tools/netbeans directory into the root project directory. I can run the project simulator, run the project simulator in debug mode fine. When I build the project to send to the CN1 build server it fails and I get a long Error Log. The first lines of the log are: -
Found hyp.beamId
Tried to start hyperlog but failed: Failed to start hyperlog: Cannot run program "hyp":
error=2, No such file or directory
User-level: 9000
Request Args:
-----------------
hyp.beamId=98214081-18fb-4b78-963b-b4bd363fe576
java.version=8
maven.codenameone-maven-plugin=7.0.58
ios.newStorageLocation=true
maven.codenameone-core.version=LATEST
https://www.dropbox.com/s/seldwwr75ex3wpa/error%20%2810%29.txt?dl=0
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugResources'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
D:\Working\flutter projects\todo_app\android\projects\todo_app\build\file_picker\intermediates\library_manifest\debug\AndroidManifest.xml:9:5-15:15: AAPT: error: unexpected element found in .
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 28s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin file_picker...
Checking the license for package SDK Patch Applier v4 in C:\Program Files\Android\Android Studio\licenses
Warning: License for package SDK Patch Applier v4 not accepted.
Checking the license for package Android Emulator in C:\Program Files\Android\Android Studio\licenses
Warning: License for package Android Emulator not accepted.
Checking the license for package Android SDK Platform-Tools in C:\Program Files\Android\Android Studio\licenses
Warning: License for package Android SDK Platform-Tools not accepted.
This is Bush George.
I have developed one adf mobile app. When I am trying to deploy the app i am getting error
The Android Dalvik file (.dex) does not exist.
the following is the deployment log of my application
[05:43:35 PM] Updating Android profile dependencies with FAR profiles created from application projects...<br>
[05:43:35 PM] ---- Deployment started. ---- <br>
[05:43:35 PM] Target platform is (Android).<br>
[05:43:35 PM] Beginning deployment of ADF Mobile application "HelloWorld" to Android using profile "Android1".<br>
[05:43:35 PM] Checking state of Android Debug Bridge server...<br>
[05:43:36 PM] Android Debug Bridge server already running.<br>
[05:43:40 PM] Verifying a single Android emulator is online and connected to the ADB server...<br>
[05:43:40 PM] Running dependency analysis...<br>
[05:43:40 PM] Building...<br>
[05:43:41 PM] Deploying 3 profiles...<br>
[05:43:42 PM] Wrote Archive Module to F:\Oracle\Middleware2\jdeveloper\jdev\extensions\oracle.adf.mobile\Samples\HelloWorld\ApplicationController\deploy\ApplicationController.jar<br>
[05:43:42 PM] WARNING: No Resource Catalog enabled ADF components found to package<br>
[05:43:42 PM] Wrote Archive Module to <br>F:\Oracle\Middleware2\jdeveloper\jdev\extensions\oracle.adf.mobile\Samples\HelloWorld\ViewController\deploy\ViewController.jar<br>
[05:43:42 PM] Starting to prepare the packaging...<br>
[05:43:42 PM] Verifying existence of the .adf source directory of the ADF Mobile application...<br>
[05:43:42 PM] Verifying Application Controller project exists...<br>
[05:43:42 PM] Verifying application dependencies...<br>
[05:43:42 PM] Verifying project dependencies...<br>
[05:43:42 PM] Validating application XML files...<br>
[05:43:43 PM] Validating XML files in project ApplicationController...<br>
[05:43:43 PM] Validating XML files in project ViewController...<br>
[05:43:43 PM] Copying FARs to the ADF Mobile Framework application...<br>
[05:43:43 PM] Extracting Feature Archive file, "ApplicationController.jar" to deployment folder, "ApplicationController".<br>
[05:43:43 PM] Extracting Feature Archive file, "ViewController.jar" to deployment folder, "ViewController".<br>
[05:43:43 PM] Copying Android template...<br>
[05:43:59 PM] Copying framework resource files...<br>
[05:43:59 PM] Copying framework java resource files...<br>
[05:44:03 PM] Copying common javascript files...<br>
[05:44:12 PM] Deploying skinning files...<br>
[05:44:14 PM] Copying application image files...<br>
[05:44:14 PM] Copying ADF Mobile configuration files...<br>
[05:44:14 PM] Copying .adf files...<br>
[05:44:14 PM] Copying security related files to the ADF Mobile Framework application...<br>
[05:44:14 PM] Creating Android preferences XML files...<br>
[05:44:14 PM] Creating AndroidManifest.xml file...<br>
[05:44:14 PM] Creating Google Cloud Messaging intent service file GCMIntentService.java...<br>
[05:44:14 PM] Creating unsigned Android application file...<br>
[05:44:36 PM] Compiling Android Resource Identifier file...<br>
[05:44:38 PM] Creating Android classes.dex file from class files...<br>
[05:44:38 PM] Updating unsigned Android application file with DEX file and .adf content...<br>
[05:44:38 PM] Deployment cancelled.<br>
[05:44:38 PM] ---- Deployment incomplete ----.<br>
[05:44:38 PM] The Android Dalvik file (.dex) does not exist.(oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)
Please help me in this.
Thanks in advance.
When i deploy an app in iOS device. I got following error and i am using latest version of JDeveloper 11.1.2.4
[02:39:06 PM] error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign iPhone Developer: Vijay Rathi (EM62NKCF2U) --resource-rules=/var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app/ResourceRules.plist /var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app failed with error 1. Output: /var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app: replacing existing signature
[02:39:06 PM] Program /usr/bin/codesign returned 1 : [/var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app: replacing existing signature
[02:39:06 PM] Command-line execution failed (Return code: 1)
[02:39:06 PM] Deployment cancelled.
[02:39:06 PM] ---- Deployment incomplete ----.
[02:39:06 PM] Failed to package the XCode application.
[02:39:06 PM] Failed to build the iOS application bundle.
[02:39:06 PM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'.
The following is a summary of the returned error(s):
Command-line execution failed (Return code: 1)
error: /usr/bin/codesign --force --preserve-metadata=identifier,entitlements,resource-rules --sign iPhone Developer: Vijay Rathi (EM62NKCF2U) --resource-rules=/var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app/ResourceRules.plist /var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app failed with error 1. Output: /var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app: replacing existing signature
Program /usr/bin/codesign returned 1 : [/var/folders/43/m8_qrfn964dfhw_y5p96kww00000gn/T/AdEyHsV13M/Payload/myapp.app: replacing existing signature
Please help me out on this issue.
Thanks in advance.
Finally, I got the solution
There is a script someplace which generates all the commands run during an Organizer Validate. I did some digging with grep and find. The script indeed exists and it's name is:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication
The fix is to add the required environment var to the associative array %ENV right at the start, say at line 72:
$ENV{CODESIGN_ALLOCATE} = '/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate';
When using a more recent version of Xcode (i.e. Xcode 5) , the default location is:
$ENV{CODESIGN_ALLOCATE} = '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate';
I am trying to deploy a WPF Prism application using ClickOnce Deployment. I have followed the following steps (http://msdn.microsoft.com/en-us/library/gg405497(v=pandp.40).aspx)
Publishing an Initial Version of the Shell Application
Updating the Manifests to Include Dynamically Loaded Module Assemblies - I have used Mage to include the dynamically loaded modules.
and then tried to launch and install the application but it runs in to a generic error.
"Application cannot be started. Contact the applicaiton vendor"
I am not running any other applications. I am running in to this error everytime I try to install the application. Please find the details from the log below.
OPERATION PROGRESS STATUS
* [9/19/2011 4:22:20 PM] : Activation of http://localhost/ABCTools/ABCTools.Shell.application has started.
* [9/19/2011 4:22:20 PM] : Processing of deployment manifest has successfully completed.
ERROR DETAILS
Following errors were detected during this operation.
* [9/19/2011 4:22:20 PM] System.Runtime.InteropServices.COMException
- Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA)
- Source: System.Deployment
You should verify whether the installation fails the same on a different computer. The exception you are getting is related to system corruption, possibly even of NGEN (in the .net framework).
http://www.wiki-errors.com/wiki-errors.php?wiki=0x800705AA
http://forums.asp.net/t/1502957.aspx/1