diff --git a/backend/api/ride/get_competitor_context.php b/backend/api/ride/get_competitor_context.php index 9ebab7d4..8c2378cc 100644 --- a/backend/api/ride/get_competitor_context.php +++ b/backend/api/ride/get_competitor_context.php @@ -8,7 +8,10 @@ $country = filterRequest('country') ?: filterRequest('country_code'); $distance = (float)(filterRequest('distance') ?: 0); $siroPrice = (float)(filterRequest('siro_price') ?: 0); +file_put_contents('/tmp/competitor_debug.log', date('Y-m-d H:i:s') . " - Payload: lat=$lat, lng=$lng, country=$country, dist=$distance, price=$siroPrice\n", FILE_APPEND); + if (!$lat || !$lng || !$country) { + file_put_contents('/tmp/competitor_debug.log', date('Y-m-d H:i:s') . " - Error: Missing params\n", FILE_APPEND); echo json_encode(["status" => "error", "message" => "Missing parameters"]); exit; } diff --git a/siro_rider/ios/Podfile b/siro_rider/ios/Podfile index 908c4415..b17dd35d 100644 --- a/siro_rider/ios/Podfile +++ b/siro_rider/ios/Podfile @@ -42,6 +42,9 @@ post_install do |installer| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '16.1' # Fix for "non-modular header" issues with some pods. config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES' + + # Fix for Swift 6 concurrency errors in Xcode 16 + config.build_settings['SWIFT_STRICT_CONCURRENCY'] = 'minimal' config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ '$(inherited)', diff --git a/siro_rider/ios/Podfile.lock b/siro_rider/ios/Podfile.lock index 0f0ecfa3..34dffe36 100644 --- a/siro_rider/ios/Podfile.lock +++ b/siro_rider/ios/Podfile.lock @@ -348,6 +348,6 @@ SPEC CHECKSUMS: WebRTC-SDK: ab9b5319e458c2bfebdc92b3600740da35d5630d webview_flutter_wkwebview: 8ebf4fded22593026f7dbff1fbff31ea98573c8d -PODFILE CHECKSUM: bd6e2f6541b0ca1731e9c8557eb4a4f6036c5508 +PODFILE CHECKSUM: 0ae238984c6e7aa969e949a5874ab41e6db33de4 COCOAPODS: 1.16.2