missing package product

42,925 results found

Post

Replies

Boosts

Views

Activity

Location interval on the iOS platform, with Flutter's Geolocator
Hey guys. I'm building a cross-platform app using Flutter, which uses the Geolocator package to see how far the user has travelled from their starting point, aviation related. I do allow the user to select their own distance filter value from a set of pre-defined options, which could be as low as a metre, since the app is designed for use over relatively small distances, from say 200m to 1km. Therefore, having a large distance filter value wouldn't make much sense. However, the issue I am having is that with iOS, I can't seem to control the actual sample rate of the user's location. From what I gather, iOS measures the user's location approximately once every second, give or take a bit, but that value cannot be changed. That's quite different to Android, where I can specify this measurement interval to be whatever I want it to be. This lack of ability to control the measurement interval tends to cause quite a lag. When someone first starts to move, they aren't travelling fast enough to cause a notice
2
0
68
4d
ModelActors not persisting relationships in iOS 18 beta
I've already submitted this as a bug report to Apple, but I am posting here so others can save themselves some troubleshooting. This is submitted as FB14337982 with an attached complete Xcode project to replicate. In iOS 17 we use a ModelActor to download data which is saved as an Event, and then save it to SwiftData with a relationship to a Location. In iOS 18 22A5307d we are seeing that this code no longer persists the relationship to the Location, but still saves the Event. If we put a breakpoint in that ModelActor we see that the object graph is correct within the ModelActor stack trace at the time we call modelContext.save(). However, after saving, the relationship is missing from the default.store SQLite file, and of course from the app UI. Here is a toy example showing how inserting an Employee into a Company using a ModelActor gives unexpected results in iOS 18 22A5307d but works as expected in iOS 17. It appears that no relationships data survives being saved in a ModelActor.ModelContext. Al
1
0
178
1w
iOS DeviceCheck API call returning 400 all the time
Hi, I'm getting 400 Missing or badly formatted authorization token everytime I call the following API from my local Server ( I tried calling this API from my app itself as well) curl --location 'https://api.development.devicecheck.apple.com/v1/query_two_bits' --header 'Authorization: Bearer <>' --header 'Content-Type: application/json' --data '{ device_token: Token_fetched_from_Device_Check, transaction_id:c6bdb659-0ee6-443d-88cb-a8f036dfc551, timestamp: 1721300244267 }' device_token - I have generated from DeviceCheck framework JWT-token - I generated using key from .p8 file generated from Apple developer portal, keyId of the same and the team Id ( I have individual account) IMP Points- I have created this .p8 file from apple developer account, and I did enable Device check option while creating the key. I also tried calling this API after 7 hours ( and more then that as well) of creating key from the developer portal as I have read somewhere that the key gets activated after few hours. I u
1
0
116
5d
Issues with Dark and Tinted Icons in Xcode
I am working on creating an alternative app icon and noticed that Apple requires dark and tinted variants for these icons. Multiline Alternate app icons in iOS and iPadOS require their own dark and tinted variants. As with the default app icon, all alternate and variant icons are also subject to app review and must adhere to the App Review Guidelines. However, when I follow Apple’s instructionsction I am unable to find any option in Xcode to add these dark and tinted icons. I'm wondering if anyone has managed to do this, or if I'm missing some configuration that I don't know about. Has anyone successfully managed to configure dark and tinted alternative icons in Xcode? If so, could you please provide guidance or share any specific configurations needed to achieve this? Your help would be greatly appreciated.
1
0
86
4d
Reply to Received termination request from [osservice<com.apple.dasd>:76] on <RBSProcessPredicate <RBSProcessHandlePredicateImpl| app<com.myapp.bundleid() with context <RBSTerminateContext| explanation:BG Kill Demo
The expectation for the app in background is, app may or may not be awake. But when the app is supposed to join a voip call, app receives voip apns notification, which wakes up the app, app connects to our server to fetch audio and play it. Just to clarify here, having the voip background category does NOT mean that your app won't be terminated in the background. What the system promises is that when the system receives a voip push, that voip push will be delivered to your app. If your app is suspended in the background, then it will be woken up. If it isn't running at all, then the system will launch it into the background and deliver the push. Note that PushToTalk operates in EXACTLY the same way. In both cases, the system does NOT guarantee that your app will remain alive in the background. Let me jump back to your original statement here: App getting terminated as the app enters background state. No crash logs are generated. I have collected this log from Console(Mac app)by connecting iPhone and sending m
4d
Reply to Universal links & redirect not working on certain devices
More logs to explain the intermittent issue. These two calls are between 3 seconds. daramfon@MacBook-Pro-4 MomentsHub % curl -v https://app-site-association.cdn-apple.com/a/v1/yourmomentshub.com * Host app-site-association.cdn-apple.com:443 was resolved. * IPv6: (none) * IPv4: 17.253.27.203, 17.253.13.135, 17.253.7.146, 17.253.97.202, 17.253.7.154, 17.253.13.137, 17.253.97.205, 17.253.27.198 * Trying 17.253.27.203:443... * Connected to app-site-association.cdn-apple.com (17.253.27.203) port 443 * ALPN: curl offers h2,http/1.1 * (304) (OUT), TLS handshake, Client hello (1): * CAfile: /etc/ssl/cert.pem * CApath: none * (304) (IN), TLS handshake, Server hello (2): * (304) (IN), TLS handshake, Unknown (8): * (304) (IN), TLS handshake, Certificate (11): * (304) (IN), TLS handshake, CERT verify (15): * (304) (IN), TLS handshake, Finished (20): * (304) (OUT), TLS handshake, Finished (20): * SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF * ALPN: server accepted http/1.1 * Server certif
4d
Are in-app purchases mandatory for a reseller marketplace
Currently, we have an online learning ecommerce platform, for example https://sellersubdomain.learningmarketplace.com. Sellers can register to this platform and sell access to content hosted on their own platform (think Coursera, EdX, Udemy). We offer licensing, pricing, and promotions of such non-hosted content for sellers. This content can be sold for retail, or by packaging them into monthly subscriptions. We also allow a seller to resell another seller's digital content through their own super-subscriptions. Our buyers are purchasing this content through another platform https://buyersubdomain.corporatelearning.com. Each Buyer can also get themselves a white-labelled iOS app. On the web, when a user clicks on the purchase button in the buyer corporate learning platform, they are redirected to a learning marketplace URL (responsive webpage), where the learning marketplace evaluates if the user is purchasing a retail product or a subscription, and then processes the order accordingly. We u
2
0
1.1k
Apr ’23
Reply to System Keychain not available from a Daemon
Hi! Thanks for the excellent insight on what SMAppService does! All it cares about is whether or not the target exists. The fact that most daemon's haven't been insides app bundles is ENTIRELY a matter historical accident/choice, NOT because of any requirement, benefit, or even formal choice. This is true. I've put my Daemon in an app bundle out of choice. I technically do not need to do that, but I found that it will make a few things easier. I just wanted to be extra clear about that, since it looks like this isn't that common or recommended. The sandbox side of this is even more confusing, since launchd.plist's can be other tools on the system or even shell script. You can have a daemon that's sandbox'd, but nothing in launchd requires (or even cares) about that, as the sandbox is well outside of launchd's area of responsibility. The reason why I have my Daemon sandboxed is this: If I try to register a daemon that is not sandboxed (irrelevant if it is in an app bundle or not) from a sandboxed application I
4d
Reply to Weird crashes when accessing Swift Array
Thanks, I just tried that. Then I realized that I can barely see any of my app's symbol names in the disassembly (which I created with otool -vt /path/to/executable). For instance I cannot find any of the method names mentioned in the crash reports. The disassembly looks like this: ~/Library/Developer/Xcode/Archives/2024-07-12/MyApp macOS 12.07.2024, 20.43.xcarchive/Products/Applications/MyApp.app/Contents/MacOS/MyApp (architecture arm64): (__TEXT,__text) section 0000000100004a00 stp x20, x19, [sp, #-0x20]! 0000000100004a04 stp x29, x30, [sp, #0x10] 0000000100004a08 add x29, sp, #0x10 0000000100004a0c adrp x8, 567 ; 0x10023b000 0000000100004a10 ldr x0, [x8, #0xc30] ; Objc class ref: bad class ref 0000000100004a14 bl 0x1001d664c ; symbol stub for: _objc_opt_self 0000000100004a18 adrp x8, 567 ; 0x10023b000 0000000100004a1c ldr x1, [x8, #0x588] ; Objc selector ref: sharedApplication 0000000100004a20 bl 0x1001d6634 ; Objc message: -[x0 sharedApplication] 0000000100004a24 mov x29, x29 0000000100004a28 bl
4d
Trusted certificate is not trusted
I am building a command line app to interface to a Bosch Smart Home Controller (SHC) using URLSession and running into a problem with certificate authentication. Sending a request to the SHC results in a -1202 error The certificate for this server is invalid... which was expected as it's counted as a self-signed cert. In URLSessionDelegate SecTrustEvaluateWithError returned the CFError.localisedDescription Smart Home Controller Productive Root CA” certificate is not trusted So I used SecItemAdd to add this certificate to my login keychain and then set it to Always Trust, but the error still persists. routines:OPENSSL_internal:SSLV3_ALERT_BAD_CERTIFICATE:/AppleInternal/Library/BuildRoots/a8fc4767-fd9e-11ee-8f2e-b26cde007628/Library/Caches/com.apple.xbs/Sources/boringssl/ssl/tls_record.cc:592:SSL alert number 42 I've tried various workarounds and also added an intermediate certificate received from the SHC to my login keychain with Always Trust set but the error persists - am I missing somethi
5
0
214
1w
App Store Connect API Analytics Reports Data
Hi, I am trying to get the data in App Store Installation and Deletion Standard report but the counts does not equal what I see on the App Analytics dashboard. There are 8 ongoing reports with APP_USAGE parameter, and the one I am downloading consists of 1 page only. The page count is 1, so there is no pages I am missing. I am using DAILY as granularity. What am I missing here? Thanks a lot.
5
0
247
5d
FamilyActivityPicker Crash on selecting some items
Both view and modifier versions of the FamilyActivityPicker crash randomly when selecting some items (usually the other option) throwing these in the console: [com.apple.FamilyControls.ActivityPickerExtension(1150.1)] Connection to plugin invalidated while in use AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:22091 ( 0 AXRuntime 0x00000001c603b0fc _AXGetPortFromCache + 800 1 AXRuntime 0x00000001c603cce0 AXUIElementPerformFencedActionWithValue + 700 2 UIKit 0x0000000230de3ec8 DDE6E0C5-2AC3-3C73-8CFE-BC88DE35BB5F + 1453768 3 libdispatch.dylib 0x0000000103ef0b98 _dispatch_call_block_and_release + 32 4 libdispatch.dylib 0x0000000103ef27bc _dispatch_client_callout + 20 5 libdispatch.dylib 0x0000000103efa66c _dispatch_lane_serial_drain + 832 6 libdispatch.dylib 0x0000000103efb408 _dispatch_lane_invoke + 408 7 libdispatch.dylib 0x0000000103f08404 _dispatch_root_queue_drain_deferred_wlh + 328 8 libdispatch.dylib 0x0000000103f07a38 _dispatch_workloop_worker_thread +
4
0
539
Apr ’24