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

[msbuild] Fixed IsWatchExtension state property (#913) #1092

Conversation

VincentDondain
Copy link
Contributor

The problem was that this property was evaluating to True for the main app bundle because it assumed that if the project contained a Watch app, that it was the WatchExtension.

This logic only holds true for WatchOS1, but not WatchOS2.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=44841

Also fixes https://bugzilla.xamarin.com/show_bug.cgi?id=46266 because this fix wasn't backported to cycle8.

The problem was that this property was evaluating to True
for the main app bundle because it assumed that if the
project contained a Watch app, that it was the WatchExtension.

This logic only holds true for WatchOS1, but not WatchOS2.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=44841

Also fixes https://bugzilla.xamarin.com/show_bug.cgi?id=46266
because this fix wasn't backported to cycle8.
@monojenkins
Copy link
Collaborator

Build success

@spouliot spouliot merged commit 44931ae into xamarin:cycle8-xi Nov 1, 2016
@VincentDondain VincentDondain deleted the cycle8-xi-watch-companion-watchos2-fix branch November 2, 2016 10:57
spouliot added a commit to spouliot/xamarin-macios that referenced this pull request Nov 6, 2018
Commit list for xamarin/Xamarin.MacDev:

* xamarin/Xamarin.MacDev@49a17b1 VSTS 702327: Launch image sizes for iPhone XS Max and iPhone XR (xamarin#35)
* xamarin/Xamarin.MacDev@95599c5 Added new Xcode10 Watch Complication values (xamarin#34)
* xamarin/Xamarin.MacDev@59b15be Use Version.TryParse
* xamarin/Xamarin.MacDev@2dd5fa0 Merge pull request xamarin#32 from xamarin/vsts-692176
* xamarin/Xamarin.MacDev@a97390f VSTS-692176: Add missing AutoFill Credential Provider entitlement
* xamarin/Xamarin.MacDev@19b14f6 Added API to get the recommended Xcode version value

Diff: xamarin/Xamarin.MacDev@39ea45b...49a17b1

Commit list for mono/mono:

* mono/mono@4d7b7ab3751 [ci] Fix Windows .msi build
* mono/mono@21dc7470bc7 [bcl] avoid false pinning in GCTest (xamarin#11534)
* mono/mono@d9779c1df6d [interp] accept typed-by-ref as return type from a JIT call (xamarin#11538)
* mono/mono@e7e14a79297 [interp] transform delegate invoke in method body too (xamarin#11549)
* mono/mono@cadeaf43dad [ci] Switch to new syntax of Azure Storage plugin

Diff: mono/mono@709b46e...4d7b7ab

Commit list for xamarin/maccore:

* xamarin/maccore@e73094e632 Update maciostools to head (xamarin#1117)
* xamarin/maccore@4902ebbdbd Merge pull request xamarin#1105 from xamarin/swift-o-matic-optional-virtual-constructor
* xamarin/maccore@76ecea4760 Added IsOptional property.
* xamarin/maccore@77d93295bd Added a test where the init fails to ensure both paths work.
* xamarin/maccore@3d989b1ca4 Support for optional constructors in virtual classes.
* xamarin/maccore@bfdc782d0e Merge pull request xamarin#1100 from xamarin/swift-o-matic-constructor-mulligan
* xamarin/maccore@cf8025724d Added field and prop for ClassHandle
* xamarin/maccore@dc2e3f32fe Trimmed down ObjC constructors.
* xamarin/maccore@b53827c151 [SoM] Document CI a bit. (xamarin#1101)
* xamarin/maccore@46d01c8c10 [SoM] Provision XI and Mono as well. (xamarin#1099)
* xamarin/maccore@b4455eafcb bye bye old code.
* xamarin/maccore@34730dfeac Lots of changes for constructor refactoring.
* xamarin/maccore@bd09006725 Merge pull request xamarin#1096 from xamarin/swift-o-matic-required-init
* xamarin/maccore@2af91dc79a Label those asserts!
* xamarin/maccore@ea5b501a47 It looks like cmake isn't there?
* xamarin/maccore@b50285719f Support for required init methods
* xamarin/maccore@6e7187da41 [install-qa-provisioning-profiles] Create directory before trying to create files in it. (xamarin#1095)
* xamarin/maccore@8addb4a338 Merge pull request xamarin#1092 from xamarin/swift-o-matic-objc-methods
* xamarin/maccore@9dc7111497 Removed dead code, added nfloat.
* xamarin/maccore@663279065d Removed dead code.
* xamarin/maccore@3852918abc Added code to import C# methods defined in ObjC bindings.

Diff: https://github.com/xamarin/maccore/compare/b35c3a8d7682c8482c7c749d7c1670b3d4bbed5c...e73094e6322531bcefdef95b4ec8654f596c4ae9
spouliot added a commit that referenced this pull request Nov 6, 2018
Commit list for xamarin/Xamarin.MacDev:

* xamarin/Xamarin.MacDev@49a17b1 VSTS 702327: Launch image sizes for iPhone XS Max and iPhone XR (#35)
* xamarin/Xamarin.MacDev@95599c5 Added new Xcode10 Watch Complication values (#34)
* xamarin/Xamarin.MacDev@59b15be Use Version.TryParse
* xamarin/Xamarin.MacDev@2dd5fa0 Merge pull request #32 from xamarin/vsts-692176
* xamarin/Xamarin.MacDev@a97390f VSTS-692176: Add missing AutoFill Credential Provider entitlement
* xamarin/Xamarin.MacDev@19b14f6 Added API to get the recommended Xcode version value

Diff: xamarin/Xamarin.MacDev@39ea45b...49a17b1

Commit list for mono/mono:

* mono/mono@4d7b7ab3751 [ci] Fix Windows .msi build
* mono/mono@21dc7470bc7 [bcl] avoid false pinning in GCTest (#11534)
* mono/mono@d9779c1df6d [interp] accept typed-by-ref as return type from a JIT call (#11538)
* mono/mono@e7e14a79297 [interp] transform delegate invoke in method body too (#11549)
* mono/mono@cadeaf43dad [ci] Switch to new syntax of Azure Storage plugin

Diff: mono/mono@709b46e...4d7b7ab

Commit list for xamarin/maccore:

* xamarin/maccore@e73094e632 Update maciostools to head (#1117)
* xamarin/maccore@4902ebbdbd Merge pull request #1105 from xamarin/swift-o-matic-optional-virtual-constructor
* xamarin/maccore@76ecea4760 Added IsOptional property.
* xamarin/maccore@77d93295bd Added a test where the init fails to ensure both paths work.
* xamarin/maccore@3d989b1ca4 Support for optional constructors in virtual classes.
* xamarin/maccore@bfdc782d0e Merge pull request #1100 from xamarin/swift-o-matic-constructor-mulligan
* xamarin/maccore@cf8025724d Added field and prop for ClassHandle
* xamarin/maccore@dc2e3f32fe Trimmed down ObjC constructors.
* xamarin/maccore@b53827c151 [SoM] Document CI a bit. (#1101)
* xamarin/maccore@46d01c8c10 [SoM] Provision XI and Mono as well. (#1099)
* xamarin/maccore@b4455eafcb bye bye old code.
* xamarin/maccore@34730dfeac Lots of changes for constructor refactoring.
* xamarin/maccore@bd09006725 Merge pull request #1096 from xamarin/swift-o-matic-required-init
* xamarin/maccore@2af91dc79a Label those asserts!
* xamarin/maccore@ea5b501a47 It looks like cmake isn't there?
* xamarin/maccore@b50285719f Support for required init methods
* xamarin/maccore@6e7187da41 [install-qa-provisioning-profiles] Create directory before trying to create files in it. (#1095)
* xamarin/maccore@8addb4a338 Merge pull request #1092 from xamarin/swift-o-matic-objc-methods
* xamarin/maccore@9dc7111497 Removed dead code, added nfloat.
* xamarin/maccore@663279065d Removed dead code.
* xamarin/maccore@3852918abc Added code to import C# methods defined in ObjC bindings.

Diff: https://github.com/xamarin/maccore/compare/b35c3a8d7682c8482c7c749d7c1670b3d4bbed5c...e73094e6322531bcefdef95b4ec8654f596c4ae9
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