-
Notifications
You must be signed in to change notification settings - Fork 515
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
[dotnet] Regression on successive builds (without rebuild / clean) #11611
Comments
Came back to Xamarin for the first time in quite a while after being so frustrated by #6813, and here we are almost 2 years later running into the same issue. I first tried the simulator, but I can't get that to work because of this, then I tried to use a physical device and ran into this codesign error.....again. I have to clean in between each build and it takes forever, basically rendering development on this platform near impossible. Sad to see things still in this state. This issue was opened 6 days ago. Should it not be prioritized considering the road block it throws up? |
This issue has not shipped anywhere.
IOW unless someone is doing net6 development out of If you are using net6 builds out of |
I am having the same issue with current tooling. It may be that the cause isn't the same, but the outcome is. This was the first issue I saw that matched my issue so I commented here. I now see another open issue(#10641) from over 3 months ago that is similar as well. |
No, it's definitively not the same issue.
Exactly it might look similar but the reasons behind the issue are totally different. This is important because we're fixing this issue, not how it looks. If you wait for this issue to be solved then I can guarantee it will not solve your current problem. IOW if you have a problem please file your own issue and supply all the requested information. We can easily merge (close as dupe) issues if they end up being identical. OTOH we can not know if your issue is different, than the one you commented in. |
…les we add to 'ResolvedFileToPublish'. Fixes xamarin#11611. Make sure to set CopyToPublishDirectory=PreserveNewest on files we add to 'ResolvedFileToPublish', so that they're not copied unnecessarily (in the case of the native executable it would also remove the code signature). Fixes xamarin#11611.
…ectory=PreserveNewest on files we add to 'ResolvedFileToPublish'. Fixes xamarin#11611. (xamarin#11797) Make sure to set CopyToPublishDirectory=PreserveNewest on files we add to 'ResolvedFileToPublish', so that they're not copied unnecessarily (in the case of the native executable it would also remove the code signature). Fixes xamarin#11611. Backport of xamarin#11797.
…ectory=PreserveNewest on files we add to 'ResolvedFileToPublish'. Fixes #11611. (#11797) (#11856) Make sure to set CopyToPublishDirectory=PreserveNewest on files we add to 'ResolvedFileToPublish', so that they're not copied unnecessarily (in the case of the native executable it would also remove the code signature). Fixes #11611. Backport of #11797.
Steps to Reproduce
main
HEADExpected Behavior
Apps starts on a connected device, greeting you with "Hello World!"
Actual Behavior
Problem
make compare
does adotnet build
andmake run-dotnet
also does adotnet build
The second build is incorrect. Codesign thinks it's not needed (and is skipped) but the verify steps is run (as it should) and complain the app is not signed (and it's not).
If there's a rebuild or clean between both things will work.
Also if you do a
Then it works again, c.c. @rolfbjarne wrt 94196bf
The text was updated successfully, but these errors were encountered: