Skip to content

[Test][Intro] Fix introspection test on API changes for Xcode 9 Beta 1 - #2191

Merged
rolfbjarne merged 7 commits into
dotnet:xcode9from
dalexsoto:introspectionxcode9
Jun 10, 2017
Merged

[Test][Intro] Fix introspection test on API changes for Xcode 9 Beta 1#2191
rolfbjarne merged 7 commits into
dotnet:xcode9from
dalexsoto:introspectionxcode9

Conversation

@dalexsoto

@dalexsoto dalexsoto commented Jun 8, 2017

Copy link
Copy Markdown
Member

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

  • case "EKCalendarItem": // Fails with NSInvalidArgumentException +[EKCalendarItem frozenClass]: unrecognized selector sent to class, will fill a radar
  • case "UITableViewFocusUpdateContext": // Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Invalid parameter not satisfying: focusSystem, will fill a radar

Comment thread src/foundation.cs Outdated

#if XAMCORE_4_0
[DisableDefaultCtor] // -init should never be called on NSUnit!
#endif

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member Author

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?

Comment thread src/uikit.cs Outdated

#if XAMCORE_4_0
[DisableDefaultCtor] // [Assert] -init is not a useful initializer for this class. Use one of the designated initializers instead
#endif

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

Comment thread src/uikit.cs
#if XAMCORE_4_0
[DisableDefaultCtor] // [Assert] -init is not a useful initializer for this class. Use one of the designated initializers instead
#endif
[NoWatch]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@dalexsoto

Copy link
Copy Markdown
Member Author

@spouliot Done! Thanks for the feedback!

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@rolfbjarne rolfbjarne left a comment

Copy link
Copy Markdown
Member

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.

Comment thread src/Foundation/NSUnit.cs Outdated
namespace XamCore.Foundation {
#if !XAMCORE_4_0
public partial class NSUnit {
[Obsolete ("Use the overload instead")]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use which overload?

dalexsoto and others added 6 commits June 9, 2017 19:03
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 (dotnet#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)
@dalexsoto
dalexsoto force-pushed the introspectionxcode9 branch from 4362d75 to ee3a64f Compare June 10, 2017 00:31
@dalexsoto

Copy link
Copy Markdown
Member Author

@rolfbjarne Fixed and bug filled here https://bugzilla.xamarin.com/show_bug.cgi?id=57350 also MtouchNoSymbolStrip fix is part of this PR

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@monojenkins

Copy link
Copy Markdown
Contributor

Build failure

@dalexsoto

Copy link
Copy Markdown
Member Author

Introspection is finally green 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants