Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

cannot archive project from the command line (mdtool)

$
0
0

I can archive within Xamarin Studio without any problem, but when I try to do it from the command line using the following command:

/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool archive -c:"MyAppStore | iPhone" MySolution.sln

Then I have the following error:

MonoDevelop Archive Tool INFO:Found Xcode, version 5.0.2 (3335.32). INFO:Found Xamarin.iOS, version 7.0.4.209. Loading solution: /Users/Smith/Git/MyProject/MySolution.sln Loading solution: /Users/Smith/Git/MyProject/MySolution.sln Loading projects .. FATAL ERROR [2013-11-22 12:07:42Z]: System.InvalidCastException: Cannot cast from source type to destination type. at Xamarin.Ide.ArchiveTool.Run (System.String[] arguments) [0x0029b] in /Users/builder/data/lanes/monodevelop-lion-license-sync/844a84fe/source/md-addins/Xamarin.Ide/Xamarin.Ide/Xamarin.Ide.Archival/ArchiveTool.cs:125 at MonoDevelopProcessHost.Main (System.String[] args) [0x002d2] in /Users/builder/data/lanes/monodevelop-lion-license-sync/844a84fe/source/monodevelop/main/src/tools/mdtool/src/mdtool.cs:132

Note that I'm running this command in the context of my regular user (not root).

Thanks,

Morgan


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>