xcsync is designed to provide .NET developers with improved support for editing Apple specific files for MAUI and .NET for iOS/tvOS/macOS/macCatalyst projects.
MIT License
14
stars
1
forks
source link
Exception in ConsumeAsync: Could not find a part of the path '/Users/harithamohan/yur/p1/obj/xcode/AppDelegate.h' #160
this: https://github.com/dotnet/xcsync/blob/7e95dff4ec8a211a26f9e6b69bcbb20c26b51950/src/xcsync/Commands/BaseCommand.cs#L204
isn't doing what it is supposed to when executing the generate command for the very first time..it results in:
in the above stack trace, we only see issues with the AppDelegate files..why not any of the static ones like Info.plist? because we ensure the directory is created for apple-specific files: https://github.com/dotnet/xcsync/blob/7e95dff4ec8a211a26f9e6b69bcbb20c26b51950/src/xcsync/SyncContext.cs#L173
also, I don't think we should be manually handling the
DirectorySeparatorChar
in: https://github.com/dotnet/xcsync/blob/7e95dff4ec8a211a26f9e6b69bcbb20c26b51950/src/xcsync/Commands/BaseCommand.cs#L52I believe this might be contributing to the issue here..regardless, the logic here should be more consistent