XAM150 - starter solution ios project won't build

I am working on XAM150 REST services self-guided class. I am trying to start the BookClient exercise (Ex 2), but the iOS project won't build and I don't understand the error at all. I deleted my solution, opened a fresh copy of the starter, and without making any changes tried to build each project, and got the same error. It goes through the build process, says "build succeeded, 0 errors" then says "build failed 1 error." I tried a Clean and it says "Clean failed." The PCL and Droid projects built fine.

`
Building: BookClient.iOS (Debug|iPhone)

Build started 2/24/2017 10:10:22 AM.
__________________________________________________
Project "/Users/celadon/Documents/xamarin/XAM150-ex2-start/BookClient/BookClient/BookClient.csproj" (Build target(s)):

Target PrepareForBuild:
    Configuration: Debug Platform: AnyCPU

Target _CoreXamlG:
Skipping target "_CoreXamlG" because its outputs are up-to-date.

Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.

Target _GenerateTargetFrameworkMonikerAttribute:
Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.

Target CoreCompile:
Skipping target "CoreCompile" because its outputs are up-to-date.

Target XamlC:
    Compiling Xaml

Assembly: obj/Debug/BookClient.dll
    ReferencePath:  ../../packages/Xamarin.Forms.2.0.1.6505/lib/portable-   win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Core.dll;../../packages/Xamarin.Forms.2.0.1.6505/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Platform.dll;../../packages/Xamarin.Forms.2.0.1.6505/lib/portable-win+net45+wp80+win81+wpa81+MonoAndroid10+MonoTouch10+Xamarin.iOS10/Xamarin.Forms.Xaml.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/mscorlib.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/Microsoft.CSharp.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Collections.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.ComponentModel.EventBasedAsync.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.ComponentModel.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Core.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Diagnostics.Contracts.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Diagnostics.Debug.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Diagnostics.Tools.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Dynamic.Runtime.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Globalization.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.IO.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Linq.Expressions.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Linq.Queryable.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Linq.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Net.NetworkInformation.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Net.Primitives.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Net.Requests.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Net.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.ObjectModel.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Reflection.Extensions.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Reflection.Primitives.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Reflection.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Resources.ResourceManager.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Runtime.Extensions.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Runtime.InteropServices.WindowsRuntime.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Runtime.Serialization.Json.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Runtime.Serialization.Primitives.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Runtime.Serialization.Xml.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Runtime.Serialization.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Runtime.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Security.Principal.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.ServiceModel.Web.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Text.Encoding.Extensions.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Text.Encoding.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Text.RegularExpressions.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Threading.Tasks.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Threading.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Windows.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Xml.Linq.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Xml.ReaderWriter.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Xml.Serialization.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Xml.XDocument.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Xml.XmlSerializer.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.Xml.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/System.dll;/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile259/mscorlib.dll
     Module: BookClient.dll
      Resource: BookClient.MainPage.xaml... Has XamlCompilationAttribute set to Skip and not Compile... skipped

    No compiled resources. Skipping writing assembly.

Done building project "/Users/celadon/Documents/xamarin/XAM150-ex2-start/BookClient/BookClient/BookClient.csproj".

Build succeeded.
0 Warning(s)
0 Error(s)

Time Elapsed 00:00:00.0828450

---------------------- Done ----------------------

Build failed.
Build: 1 error, 0 warnings
`

Answers

  • rene_ruppertrene_ruppert DEXamarin Team, University, XamUProfessors Xamurai

    If you create a brand new iOS only project from within VS or XS, can you build and deploy it to your phone?

Sign In or Register to comment.