Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Unknown MSBuild failure. Please try building the project again

$
0
0

Hi,

Above is the error code I hit when I tried building my iOS project from Xamarin forms via mdtool command.
Any idea?

        Process exited with code 1, command:

  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cla
  ng  -gdwarf-2 -std=c99
  -I/Library/Frameworks/Xamarin.iOS.framework/Versions/8.8.0.2/SDKs/MonoTouch.iphoneos.sdk/u
  sr/include -isysroot
  /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPho
  neOS7.1.sdk -Qunused-arguments -miphoneos-version-min=7.0 -arch arm64 -c -o
  /Applications/buildAgent/work/fcffbbdffde2e6ca/Pro/iOS/obj/iPhone/Ad-Hoc/mtouch-cache/regi
  strar.arm64.o -Wno-receiver-forward-class -x objective-c
  /Applications/buildAgent/work/fcffbbdffde2e6ca/Pro/iOS/obj/iPhone/Ad-Hoc/mtouch-cache/64/r
  egistrar.m

  /Applications/buildAgent/work/fcffbbdffde2e6ca/Pro/iOS/obj/iPhone/Ad-Hoc/mtouch-cache/64/r
  egistrar.m:3844:86: error: cannot find interface declaration for 'UIAlertController',
  superclass of 'Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController'
        @interface Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController :
  UIAlertController {
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ^

  /Applications/buildAgent/work/fcffbbdffde2e6ca/Pro/iOS/obj/iPhone/Ad-Hoc/mtouch-cache/64/r
  egistrar.m:3872:4: error:
  'Xamarin_Forms_Platform_iOS_ContextActionsCell_MoreActionSheetController' cannot use
  'super' because it is a root class
                        [super dealloc];

/Applications/buildAgent/work/fcffbbdffde2e6ca/Pro/iOS/Pro.iOS.csproj : error: Unknown MSBuild failure. Please try building the project again


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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