Native linking failed: clang error: cannot specify -o when generating multiple output files

I created a binding project for an Objective-C framework and included that as a reference in my Xamarin.iOS project. However, when I attempt to build I get the error...

Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -framework Security -framework SafariServices -framework QuickLook -framework PushKit -framework NotificationCenter -framework LocalAuthentication -framework iAd -framework ExternalAccessory -framework AdSupport -framework PhotosUI -framework NewsstandKit -framework CoreTelephony -framework CoreMIDI -framework Accounts -framework WatchKit -framework VideoToolbox -framework Twitter -framework SystemConfiguration -framework StoreKit -framework Social -framework Photos -framework PassKit -framework OpenGLES -framework NetworkExtension -framework MultipeerConnectivity -framework MobileCoreServices -framework MessageUI -framework MediaToolbox -framework MediaPlayer -framework MediaAccessibility -framework MapKit -framework JavaScriptCore -framework ImageIO -framework HomeKit -framework HealthKit -framework GameController -framework GLKit -framework EventKitUI -framework EventKit -framework CoreText -framework CoreMotion -framework CoreMedia -framework CoreLocation -framework CoreImage -framework CoreGraphics -framework CoreData -framework QuartzCore -framework CloudKit -framework AudioToolbox -framework AssetsLibrary -framework AddressBookUI -framework AddressBook -framework SpriteKit -framework SceneKit -framework GameKit -framework WebKit -framework UIKit -framework Foundation -framework CoreVideo -framework CoreBluetooth -framework AVKit -framework AVFoundation -framework Accelerate -weak_framework UserNotificationsUI -weak_framework Speech -weak_framework Messages -weak_framework IntentsUI -weak_framework IdentityLookup -weak_framework HealthKitUI -weak_framework FileProviderUI -weak_framework FileProvider -weak_framework CoreAudioKit -weak_framework ContactsUI -weak_framework WatchConnectivity -weak_framework Vision -weak_framework VideoSubscriberAccount -weak_framework UserNotifications -weak_framework ReplayKit -weak_framework PDFKit -weak_framework ModelIO -weak_framework IOSurface -weak_framework Intents -weak_framework GameplayKit -weak_framework CoreSpotlight -weak_framework Contacts -weak_framework ClassKit -weak_framework CallKit -weak_framework BusinessChat -weak_framework ARKit -weak_framework CoreML -weak_framework CoreFoundation -weak_framework CFNetwork /Library/Frameworks/Xamarin.iOS.framework/Versions/11.12.0.4/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/Xamarin.iOS.registrar.a /Users/erikm/Documents/Projects/Lighthouse/LHPE-iOS-XamarinSample/LHPE-iOS-XamarinSample/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.4/mtouch-cache/x86_64/main.o /Users/erikm/Documents/Projects/Lighthouse/LHPE-iOS-XamarinSample/LHPE-iOS-XamarinSample/obj/iPhoneSimulator/Debug/device-builds/iphone10.3-11.4/mtouch-cache/LighthouseKit.h 

...

clang : error : cannot specify -o when generating multiple output files
Sign In or Register to comment.