Hey,
I am trying to build a xamarin forms project for iPhoneSimulator.
This command works:
xbuild OM-App/OM_App.iOS/OM_App.iOS.csproj /p:Configuration=Debug /p:ArchiveOnBuild=true /t:Build
But the resulting app fails to install on the simulator. The app is located at:
iPhoneSimulator/Debug/OM_App.iOS.app
when I compile via xamarin studio, there is another directory:
bin/iPhoneSimulator/Debug/device-builds/iphone7.2-10.3/OM_App.iOS.app/
And this one does not fail to install.
How can I get it using xbuild?
I had to add /p:TargetArchitectures
:
xbuild OM-App/OM_App.iOS/OM_App.iOS.csproj /p:Configuration=Debug /p:TargetArchitectures=x86_64 /t:Rebuild
Answers
I had to add
/p:TargetArchitectures
:Hi rudolf i tried your command and am still getting the same result ie the folder device-builds is not getting created
any idea will be helpful.