The action increment_build_number does not support xros and is apparently hard coded currently to just [ios, mac].
Command executed
In a Fastfile:
platform :xros do
lane :test_increment do
increment_build_number(2)
end
end
then execute fastlane xros test_increment.
The action only seems to update the build number in the xcodeproj and technically shouldn't even need the platform AFAICT.
Complete output when running fastlane, including the stack trace and command used
18:42:11]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[18:42:11]: Platform 'xros' is not officially supported. Currently supported platforms are [:ios, :mac, :android].
[18:42:11]: Driving the lane 'xros test' 🚀
[18:42:11]: Action 'increment_build_number' isn't known to support operating system 'xros'.
[18:42:11]: ------------------------------------
[18:42:11]: --- Step: increment_build_number ---
[18:42:11]: ------------------------------------
Current version of project Unity-VisionOS is:
2
/Users/joejo/Desktop/visionOS/Test
[18:42:11]: $ cd /Users/joejo/Desktop/visionOS/Test && agvtool new-version -all 2 && cd -
[18:42:12]: â–¸ Setting version of project Unity-VisionOS to:
[18:42:12]: â–¸ 2.
[18:42:12]: â–¸ Also setting CFBundleVersion key (assuming it exists)
[18:42:12]: â–¸ Updating CFBundleVersion in Info.plist(s)...
[18:42:12]: â–¸ Updated CFBundleVersion in "Unity-VisionOS.xcodeproj/../Info.plist" to 2
[18:42:12]: â–¸ Updated CFBundleVersion in "Unity-VisionOS.xcodeproj/../Unity-VisionOS Tests/Unity-VisionOS Tests-Info.plist" to 2
[18:42:12]: â–¸ Updated CFBundleVersion in "Unity-VisionOS.xcodeproj/../UnityFramework/Info.plist" to 2
[18:42:12]: â–¸ Cannot find "Unity-VisionOS.xcodeproj/../YES"
[18:42:12]: â–¸ /Users/joejo/Desktop/visionOS/Test
+---------------------------------------------+
| fastlane summary |
+------+------------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------------+-------------+
| 1 | increment_build_number | 0 |
+------+------------------------+-------------+
New Issue Checklist
Issue Description
The action
increment_build_number
does not support xros and is apparently hard coded currently to just [ios, mac].Command executed
In a Fastfile:
then execute
fastlane xros test_increment
.The action only seems to update the build number in the xcodeproj and technically shouldn't even need the platform AFAICT.
Complete output when running fastlane, including the stack trace and command used
Environment
Non public details elided.