Description
The tokenized values in the Info.plist are not be replaced. Enabling the debug for the BuildTools will show that the "'Info.plist' could not be found at the path 'obj/iPhoneSimulator/Debug/mbt/Info.plist'". The mbt folder is not created.
Warning as shown:
Target _CollectAppConfigs: No input config files were found Target ConfigurationManagerTransformAndCopy: No input config files were found Target HandleTokenizedInfoPlist: /Users/myuser/.nuget/packages/mobile.buildtools/2.0.245/build/AppleManifests.targets(23,5): warning : Unable to process Manifest Tokens, no manifest was found at the path 'obj/iPhoneSimulator/Debug/mbt/Info.plist' Done building target "HandleTokenizedInfoPlist" in project "MyProject.App.iOS.csproj". Target AutomaticBuildVersioning: Executing Automatic Version Generator /Users/myuser/.nuget/packages/mobile.buildtools/2.0.245/build/AppleManifests.targets(40,5): warning : The 'Info.plist' could not be found at the path 'obj/iPhoneSimulator/Debug/mbt/Info.plist'. Done building target "AutomaticBuildVersioning" in project "MyProject.App.iOS.csproj".
Reproduction Steps
Steps to reproduce the behavior:
- Tokenize any value in the Info.plist with a "$tokenname$".
- Create a "Manifest_tokenname" entry with its value in appsettings.json.
- Configure the buildtools.json as shown here https://mobilebuildtools.com/manifests/
- Select Debug | iPhoneSimulator on Visual Studio for Mac.
- Run the project.
- Confirm that the tokenized values in the Info.plist were not replaced.
Expected Behavior
The tokens should be replaced with their values. For the exact same tokens, the values are placed on the Android build.
Actual Behavior
The tokens were ignored.
Environment
- OS: [macOS Monterey]
- IDE: [Visual Studio for Mac]
- BuildTools Version: [2.0.245]
- IDE Version: [17.0.3(build 21)]
- Build Target Framework: [netstandard2.1|Xamarin.iOS(using Xamarin.Forms)]
Description
The tokenized values in the Info.plist are not be replaced. Enabling the debug for the BuildTools will show that the "'Info.plist' could not be found at the path 'obj/iPhoneSimulator/Debug/mbt/Info.plist'". The mbt folder is not created.
Warning as shown:
Target _CollectAppConfigs: No input config files were found Target ConfigurationManagerTransformAndCopy: No input config files were found Target HandleTokenizedInfoPlist: /Users/myuser/.nuget/packages/mobile.buildtools/2.0.245/build/AppleManifests.targets(23,5): warning : Unable to process Manifest Tokens, no manifest was found at the path 'obj/iPhoneSimulator/Debug/mbt/Info.plist' Done building target "HandleTokenizedInfoPlist" in project "MyProject.App.iOS.csproj". Target AutomaticBuildVersioning: Executing Automatic Version Generator /Users/myuser/.nuget/packages/mobile.buildtools/2.0.245/build/AppleManifests.targets(40,5): warning : The 'Info.plist' could not be found at the path 'obj/iPhoneSimulator/Debug/mbt/Info.plist'. Done building target "AutomaticBuildVersioning" in project "MyProject.App.iOS.csproj".Reproduction Steps
Steps to reproduce the behavior:
Expected Behavior
The tokens should be replaced with their values. For the exact same tokens, the values are placed on the Android build.
Actual Behavior
The tokens were ignored.
Environment