diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b48290e23..b66852d46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Select Xcode Version run: | - sudo xcode-select -s /Applications/Xcode_16.3.0.app + sudo xcode-select -s /Applications/Xcode_16.4.0.app - name: Checkout OneSignal-iOS-SDK uses: actions/checkout@v3 - name: Set Default Scheme diff --git a/iOS_SDK/OneSignalSDK/Source/OneSignalTrackIAP.m b/iOS_SDK/OneSignalSDK/Source/OneSignalTrackIAP.m index 12c13936d..8fe8971c5 100644 --- a/iOS_SDK/OneSignalSDK/Source/OneSignalTrackIAP.m +++ b/iOS_SDK/OneSignalSDK/Source/OneSignalTrackIAP.m @@ -127,6 +127,7 @@ - (void)productsRequest:(id)request didReceiveResponse:(id)response { // SKProduct.price is an NSDecimalNumber, but the backend expects a String NSNumberFormatter *formatter = [NSNumberFormatter new]; + [formatter setLocale:[NSLocale localeWithLocaleIdentifier:@"en_US_POSIX"]]; [formatter setMinimumFractionDigits:2]; NSString *formattedPrice = [formatter stringFromNumber:[skProduct performSelector:@selector(price)]];