I am setting Sitecore Commerce on my machine.
At the Deploy Commerce Engine stage Link .
On the dotnet restore command, I am getting this error where it says AspNetCore.OData is not compatible.
Errors in C:\Users\xxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Engine\project.json
Package Microsoft.AspNetCore.OData 6.0.0-alpha1-rtm-171013 is not compatible with net452 (.NETFramework,Version=v4.5.2). Package Microsoft.AspNetCore.OData
6.0.0-alpha1-rtm-171013 supports: net461 (.NETFramework,Version=v4.6.1)
One or more packages are incompatible with .NETFramework,Version=v4.5.2.
I checked in the gobal.json in Sitecore.Commerce.SDK and the Core version matches the Dotnet SDK version "version": "1.0.0-preview2-003121"
I have .net 4.5,4.6.1 and 4.6.2 installed on my machine.
Adding the cmd file log for refrence
C:\Program Files (x86)\Commerce Server 11\Tools>cd C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301
C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301>dotnet restore
log : Restoring packages for C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\PluginSamples\Plugin.Sample.Habitat\project.json...
log : Restoring packages for C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\PluginSamples\Plugin.Sample.Payments.Braintree\project.json...
log : Restoring packages for C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Engine\project.json...
log : Restoring packages for C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Plugin.AdventureWorks\project.json...
log : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Engine\project.json...
log : Writing lock file to disk. Path: C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\PluginSamples\Plugin.Sample.Habitat\project.lock.json
log : Writing lock file to disk. Path: C:Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\PluginSamples\Plugin.Sample.Payments.Braintree\project.lock.json
log : C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\PluginSamples\Plugin.Sample.Habitat\project.json
log : Restore completed in 11844ms.
log : C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\PluginSamples\Plugin.Sample.Payments.Braintree\project.json
log : Restore completed in 11856ms.
log : Writing lock file to disk. Path: C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Plugin.AdventureWorks\project.lock.json
log : C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Plugin.AdventureWorks\project.json
log : Restore completed in 11388ms.
error: Package Microsoft.AspNetCore.OData 6.0.0-alpha1-rtm-171013 is not compatible with net452 (.NETFramework,Version=v4.5.2).
Package Microsoft.AspNetCore.OData 6.0.0-alpha1-rtm-171013 supports: net461 (.NETFramework,Version=v4.6.1)
error: One or more packages are incompatible with .NETFramework,Version=v4.5.2.
log : Writing lock file to disk. Path: C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Engine\project.lock.json
log : C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Engine\project.json
log : Restore failed in 22890ms.
Errors in C:\Users\xxxxx\Downloads\SitecoreCommerce8.2.1_1.0.20\Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Engine\project.json
Package Microsoft.AspNetCore.OData 6.0.0-alpha1-rtm-171013 is not compatible with net452 (.NETFramework,Version=v4.5.2).
Package Microsoft.AspNetCore.OData6.0.0-alpha1-rtm-171013 supports: net461 (.NETFramework,Version=v4.6.1)
One or more packages are incompatible with .NETFramework,Version=v4.5.2.
The project.json file on Sitecore.Commerce.SDK.1.0.2301\Sitecore.Commerce.Engine has dependencies set like this:
"Microsoft.AspNetCore.OData": "6.0.0-alpha1-rtm-*"
Unfortunately, the latest version (171013) seems to require a higher version of .NET
edit the file and make specify a lower version
"Microsoft.AspNetCore.OData": "6.0.0-alpha1-rtm-121216"
Related
The problem
I am trying to install a .net core 3.1 wpf app onto a windows 2019 server using msix as the method of deployment. The windows server is up to date and should support msix, but will not install any msix package I create using the powershell command Add-AppPackage.
The packages will install on windows 10 machines if you click on the .appinstaller file and use the gui, but they will not install on the same machine if you use powershell.
What I have tried
I've went through this troubleshooting page to no avail.
I have tried different msix packages
I have tried using a local file directory
I have tried running as administrator
Code
This is an example of what I am trying to install:
Running the .appinstaller file will correctly install this uwp app.
However, this will not work:
Add-AppPackage .\TestUwp.appinstaller
Error Message
This is the error message the powershell script outputs:
Add-AppPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.
error 0x8007000D: Opening the package from location TestUwp.appinstaller failed.
NOTE: For additional information, look for [ActivityId] 742e8080-11e2-0000-5f0b-3374e211d601 in the
Event Log or use the command line Get-AppPackageLog -ActivityID 742e8080-11e2-0000-5f0b-3374e211d601
At line:1 char:1
+ Add-AppPackage .\TestUwp.appinstaller
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (W:\...\.appinstaller:String) [Add-AppxPackage],
FileNotFoundException
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPac
kageCommand
PS W:\[file location here]> Get-AppPackageLog -ActivityID 742e8080-11e2-0000-5f0b-3374e211d601
Time ID Message
---- -- -------
4/14/2020 9:17:50 AM 603 Started deployment Add operation on a package with main
parameter TestUwp.appinstaller and Options 0 and 0. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help
diagnosing app deployment issues.
4/14/2020 9:17:50 AM 465 error 0x8007000D: Opening the package from location
TestUwp.appinstaller failed.
4/14/2020 9:17:50 AM 403 error 0x8007000D: Failure to get staging session for:
file:///W:/[file location here]/TestUwp.appinstaller.
4/14/2020 9:17:50 AM 404 AppX Deployment operation failed for package with error
0x80073CF0. The specific error text for this failure is: error
0x8007000D: Opening the package from location
TestUwp.appinstaller failed.
When you use:
Add-AppxPackage .\TestUwp.appinstaller
The path will be mapped to the positional parameter -Path. This parameter is designed to specify the path to the app package. But you are not installing the app directly. You are using an app installer file. To install from that, use:
Add-AppxPackage -AppInstallerFile .\TestUwp.appinstaller
With this command, I was able to install your package successfully.
I updated to the latest #servicestack/cli
npm install -g #servicestack/cli
+ #servicestack/cli#1.0.8
updated 5 packages in 5.862s
Ran the dotnet-new command:
C:\Projects\Personal> dotnet-new react-spa POETS
> uglifyjs-webpack-plugin#0.4.6 postinstall C:\Projects\Personal\POETS\POETS\node_modules\webpack\node_modules\uglifyjs-webpack-plugin
> node lib/post_install.js
> poets#0.1.0 postinstall C:\Projects\Personal\POETS\POETS
> npm run build
> poets#0.1.0 build C:\Projects\Personal\POETS\POETS
> rimraf wwwroot/ && react-scripts-ts build && (move build wwwroot || mv build wwwroot)
Creating an optimized production build...
Starting type checking and linting service...
Using 1 worker with 2048MB memory limit
ts-loader: Using typescript#3.2.4 and C:\Projects\Personal\POETS\POETS\tsconfig.prod.json
Compiled successfully.
File sizes after gzip:
80.72 KB build\static\js\main.5832e8d6.js
29.7 KB build\static\css\main.4df18a76.css
The project was built assuming it is hosted at the server root.
You can control this with the homepage field in your package.json.
For example, add this to build it for GitHub Pages:
"homepage" : "http://myname.github.io/myapp",
The build folder is ready to be deployed.
You may serve it with a static server:
npm install -g serve
serve -s build
1 dir(s) moved.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents#1.2.7 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents#1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1564 packages in 27.283s
MSBuild auto-detection: using msbuild version '16.0.360.33175' from 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\bin'.
Restoring packages for C:\Projects\Personal\POETS\POETS.ServiceInterface\POETS.ServiceInterface.csproj...
Restoring packages for C:\Projects\Personal\POETS\POETS.Tests\POETS.Tests.csproj...
Restoring packages for C:\Projects\Personal\POETS\POETS\POETS.csproj...
Restoring packages for C:\Projects\Personal\POETS\POETS.ServiceModel\POETS.ServiceModel.csproj...
GET https://api.nuget.org/v3-flatcontainer/servicestack.kestrel/index.json
GET https://api.nuget.org/v3-flatcontainer/servicestack/index.json
GET https://api.nuget.org/v3-flatcontainer/nunit/index.json
GET https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/index.json
GET https://api.nuget.org/v3-flatcontainer/nunit3testadapter/index.json
GET https://api.nuget.org/v3-flatcontainer/servicestack.interfaces/index.json
OK https://api.nuget.org/v3-flatcontainer/servicestack.kestrel/index.json 194ms
GET https://api.nuget.org/v3-flatcontainer/servicestack.kestrel/5.4.0/servicestack.kestrel.5.4.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/nunit/index.json 237ms
OK https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/index.json 246ms
OK https://api.nuget.org/v3-flatcontainer/nunit3testadapter/index.json 248ms
OK https://api.nuget.org/v3-flatcontainer/servicestack.interfaces/index.json 263ms
GET https://api.nuget.org/v3-flatcontainer/servicestack.interfaces/5.4.0/servicestack.interfaces.5.4.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/servicestack/index.json 318ms
GET https://api.nuget.org/v3-flatcontainer/servicestack/5.4.0/servicestack.5.4.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/servicestack.kestrel/5.4.0/servicestack.kestrel.5.4.0.nupkg 162ms
OK https://api.nuget.org/v3-flatcontainer/servicestack.interfaces/5.4.0/servicestack.interfaces.5.4.0.nupkg 149ms
OK https://api.nuget.org/v3-flatcontainer/servicestack/5.4.0/servicestack.5.4.0.nupkg 151ms
Installing ServiceStack.Interfaces 5.4.0.
GET https://api.nuget.org/v3-flatcontainer/servicestack.client/index.json
GET https://api.nuget.org/v3-flatcontainer/servicestack.common/index.json
OK https://api.nuget.org/v3-flatcontainer/servicestack.client/index.json 158ms
GET https://api.nuget.org/v3-flatcontainer/servicestack.client/5.4.0/servicestack.client.5.4.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/servicestack.common/index.json 173ms
GET https://api.nuget.org/v3-flatcontainer/servicestack.common/5.4.0/servicestack.common.5.4.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/servicestack.client/5.4.0/servicestack.client.5.4.0.nupkg 148ms
OK https://api.nuget.org/v3-flatcontainer/servicestack.common/5.4.0/servicestack.common.5.4.0.nupkg 146ms
GET https://api.nuget.org/v3-flatcontainer/servicestack.text/index.json
OK https://api.nuget.org/v3-flatcontainer/servicestack.text/index.json 159ms
GET https://api.nuget.org/v3-flatcontainer/servicestack.text/5.4.0/servicestack.text.5.4.0.nupkg
OK https://api.nuget.org/v3-flatcontainer/servicestack.text/5.4.0/servicestack.text.5.4.0.nupkg 162ms
Committing restore...
Generating MSBuild file C:\Projects\Personal\POETS\POETS.ServiceModel\obj\POETS.ServiceModel.csproj.nuget.g.props.
Generating MSBuild file C:\Projects\Personal\POETS\POETS.ServiceModel\obj\POETS.ServiceModel.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\Projects\Personal\POETS\POETS.ServiceModel\obj\project.assets.json
Restore completed in 1.79 sec for C:\Projects\Personal\POETS\POETS.ServiceModel\POETS.ServiceModel.csproj.
Installing ServiceStack.Text 5.4.0.
Installing ServiceStack.Client 5.4.0.
Installing ServiceStack.Common 5.4.0.
Installing ServiceStack 5.4.0.
Installing ServiceStack.Kestrel 5.4.0.
Committing restore...
Generating MSBuild file C:\Projects\Personal\POETS\POETS.ServiceInterface\obj\POETS.ServiceInterface.csproj.nuget.g.props.
Generating MSBuild file C:\Projects\Personal\POETS\POETS.ServiceInterface\obj\POETS.ServiceInterface.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\Projects\Personal\POETS\POETS.ServiceInterface\obj\project.assets.json
Restore completed in 2.82 sec for C:\Projects\Personal\POETS\POETS.ServiceInterface\POETS.ServiceInterface.csproj.
Committing restore...
Generating MSBuild file C:\Projects\Personal\POETS\POETS.Tests\obj\POETS.Tests.csproj.nuget.g.props.
Generating MSBuild file C:\Projects\Personal\POETS\POETS.Tests\obj\POETS.Tests.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\Projects\Personal\POETS\POETS.Tests\obj\project.assets.json
Restore completed in 2.84 sec for C:\Projects\Personal\POETS\POETS.Tests\POETS.Tests.csproj.
Committing restore...
Generating MSBuild file C:\Projects\Personal\POETS\POETS\obj\POETS.csproj.nuget.g.props.
Generating MSBuild file C:\Projects\Personal\POETS\POETS\obj\POETS.csproj.nuget.g.targets.
Writing lock file to disk. Path: C:\Projects\Personal\POETS\POETS\obj\project.assets.json
Restore completed in 2.86 sec for C:\Projects\Personal\POETS\POETS\POETS.csproj.
NuGet Config files used:
C:\Projects\Personal\POETS\NuGet.Config
C:\Users\willi\AppData\Roaming\NuGet\NuGet.Config
C:\Program Files (x86)\NuGet\Config\Microsoft.VisualStudio.Offline.config
Feeds used:
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\
https://api.nuget.org/v3/index.json
Installed:
1 package(s) to C:\Projects\Personal\POETS\POETS.ServiceModel\POETS.ServiceModel.csproj
5 package(s) to C:\Projects\Personal\POETS\POETS.ServiceInterface\POETS.ServiceInterface.csproj
6 package(s) to C:\Projects\Personal\POETS\POETS.Tests\POETS.Tests.csproj
5 package(s) to C:\Projects\Personal\POETS\POETS\POETS.csproj
Opened the App in Visual Studio 2017, and have a missing dependency for SharpPagesFeature.
public override void Configure(Container container)
{
Plugins.Add(new SharpPagesFeature()); // <--- Can't resolve this
SetConfig(new HostConfig
{
AddRedirectParamsToQueryString = true,
DebugMode = AppSettings.Get(nameof(HostConfig.DebugMode), false)
});
}
Does anyone know what package this is from? I see on GitHub that SharpPagesFeature is in the main namespace (ServiceStack).
EDIT
Additionally, the generated MyService.cs has incorrect dependencies and missing imports:
using ServiceStack.Script; <--- this can't be resolved and is unused
new PageResult(Request.GetPage("/")); <-- this requires me to import ServiceStack.Templates.PageResult (which resolves fine)
You have an old pre-release v5.4.1 of ServiceStack installed.
You'll need to clear your NuGet packages cache to install the latest version, e.g:
$ nuget locals all -clear
DNN 7.4.2
Over a year ago, we upgraded from 2SXC 8.8.0 to 9.2.0. The upgrade took a really long time because have a pretty big DNN instance with many portals. We only use 2SXC on a couple of portals, though. Once the upgrade completed, App was still stuck on 8.8.0 while Content was fine at 9.2.0. At that time, we just left it as it was because we don't use App.
We're looking to upgrade 2SXC to the latest version (at the time of writing this, that version is 9.33.0) but if I try to repair the 9.2.0 or upgrade to 9.33.0, I get an error. See below.
StartJob Starting Installation
Info Starting Installation - 2SexyContent
Info Starting Installation - Script
Info Begin Sql execution
Info Creating backup of previous version - SqlDataProvider\Uninstall.SqlDataProvider
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\DesktopModules\ToSIC_SexyContent\SqlDataProvider\Uninstall.SqlDataProvider' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Info Finished Sql execution
Failure Installation Failed - Script
Info Installation Failed - 2SexyContent
Info Starting Installation - 2SexyContent-App
Info Starting Installation - Module
Info Module registered successfully - 2sxc-app
Info Component installed successfully - Module
Info Starting Installation - File
Info Creating backup of previous version - icon-app.png
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\DesktopModules\ToSIC_SexyContent\icon-app.png' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Failure Installation Failed - File
Info Rolling back component install - Module
Info Component rolled back successfully - Module
Info Installation Failed - 2SexyContent-App
Info Starting Installation - 2sic_Imazen_ImageResizerPro
Info Starting Installation - Script
Info Begin Sql execution
Info Finished Sql execution
Info Component installed successfully - Script
Info Starting Installation - Assembly
Info Assembly already registered - bin\ImageResizer.dll
Info Assembly registered - bin\ImageResizer.Plugins.DiskCache.dll
Info Creating backup of previous version - bin\ImageResizer.Plugins.DiskCache.dll
Failure ExceptionSystem.UnauthorizedAccessException: Access to the path 'M:\inetpub\myspecialwebsite\bin\ImageResizer.Plugins.DiskCache.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.SetAttributes(String path, FileAttributes fileAttributes) at DotNetNuke.Common.Utilities.FileSystemUtils.CopyFile(String sourceFileName, String destFileName) at DotNetNuke.Common.Utilities.Internal.RetryableAction.TryIt() at DotNetNuke.Services.Installer.Util.CopyFile(InstallFile installFile, String basePath, Logger log) at DotNetNuke.Services.Installer.Installers.FileInstaller.InstallFile(InstallFile insFile)
Failure Installation Failed - Assembly
Info Rolling back component install - Script
Info Component rolled back successfully - Script
Info Installation Failed - 2sic_Imazen_ImageResizerPro
Info Deleted temporary install folder
EndJob Installation Failed
It was missing IIS_IUSRS (default IIS user) in the folder so my colleague added it and it resolved the issue.
As of preview3 dotnet new produces a csproj, and both dotnet restore and dotnet build fail against a project.json and/or an xproj.
For instance, running dotnet restore against a directory that has both a project.json and an xproj gives this error.
...xproj(7,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\1.0.0-preview3-004056\Extensions\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Further, running it against a directory that has only a project.json gives this error.
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
Without using Visual Studio, how can we convert an existing project.json and/or xproj to a csproj?
There is a dotnet migrate command.
The dotnet migrate command will migrate a valid Preview 2 project.json based project to a valid Preview 3 csproj project.
We can find detailed help on this command by running dotnet migrate -h (even though dotnet -h does not list the command).
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