-
Notifications
You must be signed in to change notification settings - Fork 511
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] Tweak the codesign logic for iOS Simulator builds #3114
Conversation
Don't *always* codesign, especially for iOS8 which seems to break. iOS Simulator builds should only be codesigned if they require Entitlements (signified by RequireProvisionProfile).
note about commit message: Xcode 8 != iOS 8 - it's the former, not the later, that cause problems |
Thanks, good catch |
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.
Looks like tests for extensions/watch apps are failing with the change.
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.
LGTM
Looks like the unit tests were wrong (wrongly assuming that sim builds would result in a codesigned executable) |
Build failure |
Can someone who understands how to read jenkins output explain why the build failed this time? Looks like none of the unit tests failed to me. |
@jstedfast so given the attached test report, only
I don't think that's related to your PR but you can always run Since I believe there's no precedence for this issue (bugzilla or maccore issues), I'd recommend you file one at https://github.com/xamarin/maccore/issues/new. |
If you hit the Test Report button on the left side in jenkins (https://jenkins.mono-project.com/job/xamarin-macios-pr-builder/5891/Test_Report/) you can see the failure. Generally if you don't have any specific test failures listed, the Test Report will show something indicating what went wrong. In this case, it's not specific tests failing, but the framework-test run is crashing on iOS and tvOS and failing on watchOS |
Seems possibly related:
|
Build success |
woohoo! |
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.
We should get @alanmcgovern to test this (from master) before back porting to 15.6
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 add a manual test to catch this in the future?
@jstedfast milestone does not match the branch, we need a PR for 15.6 too |
@spouliot ok, will post a new PR for 15.6 |
Don't always codesign, especially for Xcode 8 which seems to break.
iOS Simulator builds should only be codesigned if they require
Entitlements (signified by RequireProvisionProfile).