A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
Hello @Jai Holloway ,
So I have looked through what you have shared on the other thread, and I do have some suspicion something is still referencing ResourceRules.plist during bundle resource preparation. To confirm this, can you please share:
- Your full
.csproj, or at least every section containing:ResourceRules CodesignResourceRules BundleResource MauiAsset None Content CodesignEntitlements - A “find in files” screenshot for:
ResourceRules
You can use the Code Search in VS with Ctrl + T or Find with Ctrl + Shift + F and make sure to check all files in the project.CodesignResourceRules - And check your project properties to make sure the custom resources rules is defined.
- Also, because the error path is under:
~/Library/Caches/maui/PairToMac/Builds/, please try clearing the Pair to Mac build cache on the mac:
If you previously built Xamarin/iOS projects on the same mac, also check whether this exists and clear it:rm -rf ~/Library/Caches/maui/PairToMac/Builds/
Then disconnect/reconnect Pair to Mac from Visual Studio, deleterm -rf ~/Library/Caches/Xamarin/mtbs/builds/binandobjlocally, and try archive again.
Thank you for your time.