Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

Follow-up to #270: the pods build for iOS 15.5, the app's own deployment target, not 15.0

Duarte Santos46ce3298ccb2
diff --git a/frontend/ios/App/Podfile b/frontend/ios/App/Podfile
index 45aa01e2e..a858b83a9 100644
--- a/frontend/ios/App/Podfile
+++ b/frontend/ios/App/Podfile
@@ -26,9 +26,13 @@ end
post_install do |installer|
assertDeploymentTarget(installer)
+ # assertDeploymentTarget only lifts a pod to 14.0, below what current Xcode supports, so every
+ # build warned about the pods. Set them to the app's own target (the platform line above and
+ # IPHONEOS_DEPLOYMENT_TARGET in the project, both 15.5), not to some lower number: a pod built
+ # for an iOS the app does not run on buys nothing and keeps the two out of step.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.5'
end
end
end