Post

Replies

Boosts

Views

Activity

Info.plist preprocessing problem with "/"
Hi! I have enabled option INFOPLIST_PREPROCESS for all configs. Because I need to replace some variables inside info.plist which is different for all configs. And also I have key `<key>NSAdvertisingAttributionReportEndpoint</key><string>https:example.com</string>` After build I have incorrect "Preprocessed-Info.plist" because of after it NSAdvertisingAttributionReportEndpoint looks like: <key>NSAdvertisingAttributionReportEndpoint</key><string>https: Could you help? I tried to escape the character, but no result here.
1
0
250
Jul ’24
TCP Fast Open in URLSession
I'm very interested in whether it works and, if so, how the system decides to enable or not TFO when working with the network using URLSession. I didn't find any information in the documentation. For example, for NWConnection we need to manually add additional option: /* Allow fast open on the connection parameters */ parameters.allowFastOpen = true let connection = NWConnection(to: endpoint, using: parameters) /* Call send with idempotent initial data before starting the connection */ connection.send(content: initialData, completion: .idempotent) connection.start(queue: myQueue)
1
0
418
Jul ’24