Skip to content
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

[DataDetection] Add new framework for Xcode 13 beta 3. #12259

Closed

Conversation

mandel-macaque
Copy link
Member

No description provided.

@mandel-macaque mandel-macaque added the note-highlight Worth calling out specifically in release notes label Jul 27, 2021
Copy link
Contributor

@spouliot spouliot left a comment

Choose a reason for hiding this comment

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

It's not clear how those API can be used since there's no actions, just properties.

Maybe beta 4 will make it usable ?
Until then I'm not sure we should be adding it (in case it's not mean to be public).

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

base does not have a default ctor
I don't see how having one here would be helpful (since you can't set any of the values)

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

[DisableDefaultCtor]

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

[DisableDefaultCtor]

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

[DisableDefaultCtor]

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

[DisableDefaultCtor]

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

[DisableDefaultCtor]

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

[DisableDefaultCtor]

}

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof (DDDetectedValue))]
Copy link
Contributor

Choose a reason for hiding this comment

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

[DisableDefaultCtor]

@mandel-macaque
Copy link
Member Author

@spouliot will address the review and will set it to do-not-merge

@mandel-macaque mandel-macaque added the do-not-merge Do not merge this pull request label Jul 27, 2021
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

2 tests failed, 90 tests passed.

Failed tests

  • Xtro/Mac: Failed (Test run failed.)
  • link all/Mac Catalyst/Debug: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)

Pipeline on Agent XAMBOT-1100.BigSur'
Merge 82e2127 into f611cd8

@@ -2051,6 +2051,7 @@ IOS_FRAMEWORKS = \
CoreSpotlight \
CoreTelephony \
CoreText \
DataDetection \
Copy link
Member

Choose a reason for hiding this comment

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

You need to add the framework to MACCATALYST_FRAMEWORKS too if you want these bindings in Mac Catalyst (like your availability attributes seem to indicate).

namespace DataDetection {

[iOS (15,0), MacCatalyst (15,0)]
[BaseType (typeof(NSObject))]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[BaseType (typeof(NSObject))]
[BaseType (typeof (NSObject))]

small

Copy link
Contributor

@tj-devel709 tj-devel709 left a comment

Choose a reason for hiding this comment

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

Looks good after other fixes!

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

2 tests failed, 91 tests passed.

Failed tests

  • link sdk/Mac Catalyst/Debug [dotnet]: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)
  • Xtro/Mac: Failed (Test run failed.)

Pipeline on Agent XAMBOT-1096.BigSur'
Merge 7227d42 into 41253c3

@mandel-macaque
Copy link
Member Author

Never got to land, makes no sense to try and get it in in the current state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge Do not merge this pull request note-highlight Worth calling out specifically in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants