dansiegel / dansiegel/Mobile.BuildTools
Tokenized Manifest for iOS does not have its tokens replaced
- Dominant language
- C#
- Stars
- 224
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
# 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:
1. Tokenize any value in the Info.plist with a "$*tokenname*$".
2. Create a "Manifest_*tokenname*" entry with its value in appsettings.json.
3. Configure the buildtools.json as shown here https://mobilebuildtools.com/manifests/
4. Select Debug | iPhoneSimulator on Visual Studio for Mac.
5. Run the project.
6. 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)]
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.