Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happened to Versioning in Xcode 15?

Tags:

xcode

ios

I have an iOS app with a widget. Normal housekeeping with updates includes bumping the CFBundleVersion of the app and the Extension to stay in synch.

I just downloaded Xcode15 (release) and while the App Target still have the version and build in the same place in General/Identity, the Extension’s General/ is now missing the Version and Build. The version is in the pList, but not the build number, besides changing it there is a hack.

Anyone know where I can cleanly update the Extension Version/Build?

like image 280
BlueskyMed Avatar asked Nov 22 '25 10:11

BlueskyMed


2 Answers

Apple deleted the simple, convenient way to change the build and version for extensions. Now, for the extension you have to go to the Target and change it under Build Settings / Versioning

Since the App and the Extension are always supposed to have the same Version/Build why can not that just be the easy default, with a wonky path to changing from default where required?

like image 88
BlueskyMed Avatar answered Nov 23 '25 23:11

BlueskyMed


To avoid changing the version and build of each target every time:

  1. Set the version and build for the entire project at top. screenshot_1

  2. Delete the version and build for each target. screenshort_2

  3. Now all targets will automatically get their version and build from the project setting. screenshort_3

Next time, you will only need to change the version and build for the entire project in the top.

like image 25
qwerty-reloader Avatar answered Nov 24 '25 00:11

qwerty-reloader



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!