Closed crejer closed 6 years ago
Can you attach these files:
/Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.m /Volumes/LaCie_Porsche_Design_Mac/Git_Bazookas/PlopsaApp/PlopsaApp2.0/Plopsa_IOS/obj/iPhone/Debug/device-builds/iphone10.6-11.2.5/mtouch-cache/registrar.h
Hi @rolfbjarne , here you go:
It seems you have three classes with an invalid [Export]
attribute: Plopsa.IOS.SubFilterBaseView
, Plopsa.IOS.POIIconView
and Plopsa.IOS.SubFilterView
.
It looks like they all have something like this:
[Export (":initWithFrame")]
public SubFilterBaseView (CGRect frame)
{
// ...
}
note the string in the [Export]
attribute: that's not a valid Objective-C selector. The correct string would be [Export ("initWithFrame:")]
(the colon at the end, not the beginning). Could you check if this is the case? If not, could you show the code for these constructors?
You sir, just saved my day!
Thank you very much. Strange it worked 2 years ago.
this can be closed :)
While building an older project (last edit 2016) we encountered an issue while building. I read it mostly had something to do with not having XCode 9 or iOS SDK 11, but I checked and I'm working with XCode 9.2 en iOS 11.2.
Steps to Reproduce
Expected Behavior
Project is build
Actual Behavior
Error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com (MT4109) (Plopsa_IOS)
Environment
Build Logs