-
Notifications
You must be signed in to change notification settings - Fork 514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Test][Intro] Fix introspection test on API changes for Xcode 9 Beta 1 #2191
Conversation
src/foundation.cs
Outdated
@@ -12140,6 +12140,9 @@ interface NSDateInterval : NSCopying, NSSecureCoding { | |||
bool ContainsDate (NSDate date); | |||
} | |||
|
|||
#if XAMCORE_4_0 | |||
[DisableDefaultCtor] // -init should never be called on NSUnit! | |||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better not to be under 4_0
And add manual, empty ctor in another files (all excluded in 4_0) along with an obsolete attribute
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we error? o just warn?
src/uikit.cs
Outdated
@@ -15839,6 +15839,9 @@ interface UIGuidedAccessRestrictionDelegate { | |||
string GetDetailTextForGuidedAccessRestriction (string restrictionIdentifier); | |||
} | |||
|
|||
#if XAMCORE_4_0 | |||
[DisableDefaultCtor] // [Assert] -init is not a useful initializer for this class. Use one of the designated initializers instead | |||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
src/uikit.cs
Outdated
@@ -15908,6 +15911,9 @@ interface UIFocusItem : UIFocusEnvironment | |||
bool CanBecomeFocused { get; } | |||
} | |||
|
|||
#if XAMCORE_4_0 | |||
[DisableDefaultCtor] // [Assert] -init is not a useful initializer for this class. Use one of the designated initializers instead | |||
#endif | |||
[NoWatch] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
Build failure |
@spouliot Done! Thanks for the feedback! |
Build failure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please add a bug for all the filter FIXMEs.
src/Foundation/NSUnit.cs
Outdated
namespace XamCore.Foundation { | ||
#if !XAMCORE_4_0 | ||
public partial class NSUnit { | ||
[Obsolete ("Use the overload instead")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use which overload?
Removed XAMCORE_4_0 checks from our api definition, and added a file with stubs for all of them instead. Cleaner binding file and easier to remove in the future Fixed introspection also for mac by moving some check into base test definition
These need to be manually reviewed by whoever takes CoreImage framework tracked in bugzilla so we do not forget
… order to avoid linking symbols meeded by test (xamarin#2196) Rolf Kvinge [8:59 AM] @dalexsoto the fix is to not strip the executable please PR that (it should probably go into master as well). This probably started happening when Jeff implemented support for stripping debug builds (previously the setting was ignored)
4362d75
to
ee3a64f
Compare
@rolfbjarne Fixed and bug filled here https://bugzilla.xamarin.com/show_bug.cgi?id=57350 also MtouchNoSymbolStrip fix is part of this PR |
Build failure |
Build failure |
Build failure |
Introspection is finally green 😀 |
New commits in xamarin/maccore: * xamarin/maccore@fdeec0f4cc Update external-deps.csx (#2191) * xamarin/maccore@f473e45166 [Localization] Rework mlaunch (#2171) Diff: https://github.com/xamarin/maccore/compare/5dbf6f4c5fdfd8fa24e569f89a7c79f12d99e9e5..fdeec0f4ccdfdb9111d594b7f7189cd58e06216d
New commits in xamarin/maccore: * xamarin/maccore@fdeec0f4cc Update external-deps.csx (#2191) * xamarin/maccore@f473e45166 [Localization] Rework mlaunch (#2171) Diff: https://github.com/xamarin/maccore/compare/5dbf6f4c5fdfd8fa24e569f89a7c79f12d99e9e5..fdeec0f4ccdfdb9111d594b7f7189cd58e06216d
Bug filled for AVPlayerLooper. LoopingEnabled -> https://bugzilla.xamarin.com/show_bug.cgi?id=57302
Bug filled for CoreImage filters -> https://bugzilla.xamarin.com/show_bug.cgi?id=57350
Need to radar