Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

App Tracking Transparency

RSS for tag

Request user permission to access user data for tracking a user or device.

Posts under App Tracking Transparency tag

71 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Metric Crash by Widget SwiftUI
I have the following code. This part of the code is used in the widget var body: some View { VStack(){ Image(uiImage: imageFromUrl(item.icon) ?? defaultImage!)//(onlineImage ?? defaultImage)! .resizable() .frame(width: itemH * 0.70, height: itemH * 0.70) .aspectRatio(contentMode: .fit) Text(item.name) .font(.system(size: titleFont)) .foregroundColor(colorGenerate(0x333333)) .background(Color.clear) .frame(width: imageWH, height: itemH*0.2) .lineLimit(1) .onAppear { } } .frame(width: imageWH, height: itemH) .background(Color.clear) } I really can't find what caused the crash.Or maybe the system killed it directly, but why should it be reported through metrics? The collection of this question is entirely from metrickit There is no problem at the code level, but the following crash occurs on the actual user's phone: Date/Time: 2024-08-08 00:59:09.000 +0800 OS Version: iOS iPhone OS 17.5.1 (21F90) (iPhone OS 17.5.1 (21F90)) Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: EXC_BREAKPOINT at 0x0000000000000000 Crashed Thread: 0 Application Specific Information: *** Terminating app due to uncaught exception '(null)', reason: '' Thread 0: 0 widgetExtension 0x000000010023ee54 0x15ae54 + closure #1 () -> SwiftUI.TupleView<(<<opaque return type of (extension in SwiftUI):SwiftUI.View.aspectRatio(_: Swift.Optional<CoreGraphics.CGFloat>, contentMode: SwiftUI.ContentMode) -> some>>.0, <<opaque return type of (extension in SwiftUI):SwiftUI.View.onAppear(perform: Swift.Optional<() -> ()>) -> some>>.0)> in widgetExtension.xxView.body.getter : some + 1408 1 widgetExtension 0x000000010023e6d8 0x15a6d8 + body.get(<compiler-generated>:36) 2 widgetExtension 0x000000010023eeac 0x15aeac + body.get(<compiler-generated>:0) 3 SwiftUI 0x00000001955b6528 0x202528 + _dynamic_cast_existential_0_superclass_conditional + 24428 4 SwiftUI 0x00000001955b2f2c 0x1fef2c + _dynamic_cast_existential_0_superclass_conditional + 10608 5 SwiftUI 0x00000001955b2a4c 0x1fea4c + _dynamic_cast_existential_0_superclass_conditional + 9360 6 SwiftUI 0x00000001955b1b30 0x1fdb30 + _dynamic_cast_existential_0_superclass_conditional + 5492 7 AttributeGraph 0x00000001ba209010 0x9010 + AG::Graph::UpdateStack::update() + 512 8 AttributeGraph 0x00000001ba208bfc 0x8bfc + AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424 9 AttributeGraph 0x00000001ba202cc0 0x2cc0 + AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 720 10 AttributeGraph 0x00000001ba202854 0x2854 + _AGGraphGetValue + 228 11 SwiftUI 0x000000019552cdac 0x178dac + _OUTLINED_FUNCTION_1130 + 23736 12 SwiftUI 0x000000019552cd3c 0x178d3c + _OUTLINED_FUNCTION_1130 + 23624 13 AttributeGraph 0x00000001ba209010 0x9010 + AG::Graph::UpdateStack::update() + 512 14 AttributeGraph 0x00000001ba208bfc 0x8bfc + AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424 15 AttributeGraph 0x00000001ba202ae0 0x2ae0 + AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 240 16 AttributeGraph 0x00000001ba207c34 0x7c34 + _AGGraphGetInputValue + 248 17 SwiftUI 0x00000001955fc458 0x248458 + -[UIScrollView(SwiftUI) _swiftui_adjustsContentInsetWhenScrollDisabled] + 10764 18 SwiftUI 0x0000000195607dc8 0x253dc8 + -[UIScrollView(SwiftUI) _swiftui_adjustsContentInsetWhenScrollDisabled] + 58236 19 SwiftUI 0x0000000195607d54 0x253d54 + -[UIScrollView(SwiftUI) _swiftui_adjustsContentInsetWhenScrollDisabled] + 58120 20 SwiftUI 0x00000001956d9318 0x325318 + -[NSAttributedString(SPI) initSwiftUIAttributedStringWithFormat:options:locale:arguments:] + 10028 21 SwiftUI 0x000000019561ec30 0x26ac30 + -[UIScrollView(SwiftUI) _swiftui_adjustsContentInsetWhenScrollDisabled] + 152036 22 SwiftUI 0x0000000195606ad8 0x252ad8 + -[UIScrollView(SwiftUI) _swiftui_adjustsContentInsetWhenScrollDisabled] + 53388 23 SwiftUI 0x00000001956066bc 0x2526bc + -[UIScrollView(SwiftUI) _swiftui_adjustsContentInsetWhenScrollDisabled] + 52336 24 SwiftUI 0x0000000195550f34 0x19cf34 + _get_witness_table 7SwiftUI4ViewRzAA7GestureRd__r__lAA15ModifiedContentVyxAA03AddD8ModifierVyqd__GGAaBHPxAaBHD1__AhA0cH0HPyHCHCTm + 14012 25 SwiftUI 0x0000000195550d14 0x19cd14 + _get_witness_table 7SwiftUI4ViewRzAA7GestureRd__r__lAA15ModifiedContentVyxAA03AddD8ModifierVyqd__GGAaBHPxAaBHD1__AhA0cH0HPyHCHCTm + 13468 26 SwiftUI 0x000000019555016c 0x19c16c + _get_witness_table 7SwiftUI4ViewRzAA7GestureRd__r__lAA15ModifiedContentVyxAA03AddD8ModifierVyqd__GGAaBHPxAaBHD1__AhA0cH0HPyHCHCTm + 10484 27 SwiftUI 0x0000000195539518 0x185518 + _OUTLINED_FUNCTION_519 + 3752 28 SwiftUI 0x0000000195539324 0x185324 + _OUTLINED_FUNCTION_519 + 3252 29 AttributeGraph 0x00000001ba209010 0x9010 + AG::Graph::UpdateStack::update() + 512 30 AttributeGraph 0x00000001ba208bfc 0x8bfc + AG::Graph::update_attribute(AG::data::ptr<AG::Node>, unsigned int) + 424 31 AttributeGraph 0x00000001ba202cc0 0x2cc0 + AG::Graph::input_value_ref_slow(AG::data::ptr<AG::Node>, AG::AttributeID, unsigned int, unsigned int, AGSwiftMetadata const*, unsigned char&, long) + 720 32 AttributeGraph 0x00000001ba207c34 0x7c34 + _AGGraphGetInputValue + 248 33 SwiftUI 0x000000019560665c 0x25265c + -[UIScrollView(SwiftUI) _swiftui_adjustsContentInsetWhenScrollDisabled] + 52240 34 SwiftUI 0x0000000195550914 0x19c914 + _get_witness_table 7SwiftUI4ViewRzAA7GestureRd__r__lAA15ModifiedContentVyxAA03AddD8ModifierVyqd__GGAaBHPxAaBHD1__AhA0cH0HPyHCHCTm + 12444 35 SwiftUI 0x0000000195550d5c 0x19cd5c + _get_witness_table 7SwiftUI4ViewRzAA7GestureRd__r__lAA15ModifiedContentVyxAA03AddD8ModifierVyqd__GGAaBHPxAaBHD1__AhA0cH0HPyHCHCTm + 13540 ...
1
0
406
Aug ’24
M3使用pod install异常
――― TEMPLATE END ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― [!] Oh no, an error occurred. Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=%23%3CTypeError%3A+wrong+argument+type+String+%28expected+Regexp%29%3E%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fsource.rb%3A220%3Ain+%60scan%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fsource.rb%3A220%3Ain+%60match%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Fbaseparser.rb%3A227%3Ain+%60pull_event%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Fbaseparser.rb%3A207%3Ain+%60pull%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Ftreeparser.rb%3A23%3Ain+%60parse%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fdocument.rb%3A448%3Ain+%60build%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fdocument.rb%3A101%3Ain+%60initialize%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A83%3Ain+%60new%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A83%3Ain+%60from_s%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A66%3Ain+%60new_from_xcworkspace%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller%2Fuser_project_integrator.rb%3A102%3Ain+%60create_workspace%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller%2Fuser_project_integrator.rb%3A71%3Ain+%60integrate%21%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A929%3Ain+%60block+in+integrate_user_project%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fuser_interface.rb%3A64%3Ain+%60section%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A925%3Ain+%60integrate_user_project%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A185%3Ain+%60integrate%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A170%3Ain+%60install%21%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fcommand%2Finstall.rb%3A52%3Ain+%60run%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fclaide-1.1.0%2Flib%2Fclaide%2Fcommand.rb%3A334%3Ain+%60run%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fcommand.rb%3A52%3Ain+%60run%27%0A%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Fbin%2Fpod%3A55%3Ain+%60%3Ctop+%28required%29%3E%27%0A%2Fusr%2Flocal%2Fbin%2Fpod%3A23%3Ain+%60load%27%0A%2Fusr%2Flocal%2Fbin%2Fpod%3A23%3Ain+%60%3Cmain%3E%27%0A...%0Awrong+argument+type+String+%28expected+Regexp%29%0ALine%3A+1%0APosition%3A+38%0ALast+80+unconsumed+characters%3A%0A%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22%3F%3E&type=Issues If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md Don't forget to anonymize any private data! Looking for related issues on cocoapods/cocoapods... Searching for inspections failed: undefined method `map' for nil:NilClass
0
0
419
Jul ’24
EnpointSecurity System Extension is crashing in macOS Sonoma
Hi All, We have Endpoint Security System Extension. We are facing an issue in macOS Sonoma only where we have found that open() API is not returning any response when we try to open the files and OS killing/crashing the extension. We have found in log streaming below lines for our extension: error 12:50:51.093673+0530 tccd Failed to create LSApplicationRecord for file:///Library/SystemExtensions/3378971F-D41D-4230-A887-E0DC0F61E98D/com.*.sysextcontainer.onlineext.systemextension/: 'The operation couldn’t be completed. (OSStatus error -10811.)' It seems internally some access is removed by apple on booting however we can still see our extension has Full Disk Access in System Settings. We have installed new macOS Sequoia Public beta 24A5289h and above issue is not observed and also issue not seen in previous OS(Big Sur, Monterey, Ventura) and seen only in Sonoma. We already have filed a Feedback : FB13806349 ... Thanks & Regards, Mohmad Vasim
1
0
871
Jul ’24
How Can I create a new App from API
Hi all, I am developing new things on my existing .Net core application. I want to create a new page and with this page, the users will create a new app and write important informations. But I cant create a new app with sending post request with connect API. Here is my Postman requests and body. Sending request to : https://api.appstoreconnect.apple.com/v1/apps Body : { "data": { "type": "apps", "attributes": { "bundleId": "com.test.testtest", "name": "Test Test", "primaryLocale": "en-US", "sku": "test2024", "platform": "IOS" } } } Also I am using a bearer token, and this token has a admin role. When I send a post request, I am getting below error. { "errors": [ { "id": "35f9631f-b8d8-408c-8dfd-adaef043d062", "status": "403", "code": "FORBIDDEN_ERROR", "title": "The given operation is not allowed", "detail": "The resource 'apps' does not allow 'CREATE'. Allowed operations are: GET_COLLECTION, GET_INSTANCE, UPDATE" } ] } How can I fix this. Pls help. Thanks.
1
0
953
Jul ’24
Question About App Tracking Transparency for Delivery App
I have delivery app for customer, driver and we collected location data from user. With the app for driver, we collected location data for provide direction to deliver, tracking location on Admin to support and send nearest order request. With the app for customer, we collect location data to show nearest restaurant in 1 km and send current location on Admin for support. So, I still concern that the app for driver or customer should have request App Tracking Transparency permission?
0
0
510
Jul ’24
API requests being blocked by ITP
We develop an SDK that requires sharing a device-specific identifier with our web API, in order to guarantee that certain artifacts are only used on the correct device. For the device-specific identifier, we use UIDevice.currentDevice.identifierForVendor which should not be restricted under ATT. In production, many developers are getting back to us with complaints of web requests being blocked: nw_endpoint_handler_path_change [C1 [our url]:443 waiting parent-flow (satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, uses wifi)] blocked tracker Connection 1: received failure notification Connection 1: failed to connect 1:50, reason -1 Connection 1: encountered error(1:50) Task <FA03088C-DDFC-437E-A06F-E05CC930E3E0>.<1> HTTP load failed, 0/0 bytes (error code: -1009 [1:50]) Task <FA03088C-DDFC-437E-A06F-E05CC930E3E0>.<1> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x3031118f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorBlockedTrackerFailureKey=true, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=50, _NSURLErrorNWPathKey=satisfied (Path is satisfied), interface: en0[802.11], ipv4, dns, uses wifi}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <FA03088C-DDFC-437E-A06F-E05CC930E3E0>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <FA03088C-DDFC-437E-A06F-E05CC930E3E0>.<1>" ), NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=..., NSErrorFailingURLKey=..., _kCFStreamErrorDomainKey=1} Interestingly, I've made a few observations: The blacklist seems to be persistent, across devices. The blacklist stays in place regardless of whether we send no identifiable data in the web request (in fact, an empty ping request to our URL still gets blocked) The only way to get past the block is to use ATT, and request from the user that we track them across websites. This is false, because we don't track any user data whatsoever; and iOS disables ATT by default (in the settings app, users have to opt-in). Our iOS SDK already has an xcprivacy manifest mentioning the fact that we use a device-specific identifier, and that we send it to our web API URL. Still, we get blocked. How can we fix this? We can standup a proxy URL but I'd imagine it's only a matter of time before that also gets blocked. Apple has not provided any guidance on the specifics of how domains get blocked, and how they can be unblocked.
1
3
904
Jun ’24
Facebook SDK and ATT
In order to have ads on Meta that link to the App Store directly (instead of to a website) Meta requires that I install the FB SDK. Now: Apple requires an ATT permission popup if a user is being tracked. I've installed the SDK but turned all tracking off by default (so it behaves as though the user said "no" to the ATT popup) and it's still not passing review. Any ideas as to what I could try next?
0
0
825
Jun ’24
Limited Access for Contacts like for Photos to prevent certain apps to collect our data.
Hi Everybody, I would like to see the feature, that allows us to limit the access for selected apps to get access to our Contacts. Especially apps like WhatsApp cannot be trusted, in my opinion, so I would love to see the possibility to prevent, that they just analyse our full Contact book and sell the data. With a limited access feature, we can at least decide, which information we wanna share with suspicious companys. What do you think and how could we reach the developers attention to get this with the next major update. Greetings from Europe
2
0
1k
Jun ’24