Welcome to the Apple Developer Forums:

Find answers, ask questions, and share comments on development topics with fellow developers and Apple engineers. 

To get started, search for keywords (like “app distribution”), standard tags (like [SwiftUI]), or WWDC tags (like [WWDC21]).

Learn different ways to search and use the forums

See all WWDC21 tags

Posts

Sort by:
Post not yet marked as solved
1 Views

(EndpointSecurity) Task has not been granted user permission to connect

Hi all! I'm writing an enpoint security daemon, which is packed in an application bundle with embedded.provisionfile in its Contents folder. This daemon can be successfully loaded and started with launchctl on Big Sur with SIP disabled, but fails to run when SIP is enabled. The os log from kernel contains the following message: (EndpointSecurity) Task has not been granted user permission to connect Could anybody please explain me what could be the reason for this kind of messages? Is it a sign that something wrong with my provision profile file or something else? Thanks in advance, Aleksandr
Asked
by ilowry.
Post not yet marked as solved
4 Views

Offer Tiered Pricing for Full App

Hi everyone, I had a quick question, is it possible to offer tiered pricing after a 7-day non-consumable subscription for early beta users rather than forcing them to pay full price. They could possibly enter a one-time code that offers them another non-consumable purchase that costs $5 rather than other users who will pay $20 to unlock the app features. Thanks
Asked
by sfsoisss.
Post not yet marked as solved
10 Views

Xcode 13 and CreateML

Just updated to Xcode 13. A Swift source code imports CreateML but got "Failed to build module 'CreateML'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.4 (swiftlang-1205.0.24.14 clang-1205.0.19.54)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)'). Please select a toolchain which matches the SDK.". Any idea what is it?
Asked
by po chun.
Post not yet marked as solved
11 Views

Ios15 critical bug

I have installed ios15 and found a serious critical bug, in which safari will no longer work: currently no work around is available and want to know when will you release a fix for this known bug
Asked
Post not yet marked as solved
9 Views

'kUTTypeData' is deprecated: first deprecated in iOS 15.0

Code snippet: NSData* itemData = itemDict[(NSString*)kUTTypeData]; As per recommendation when I use UTTypeData instead of kUTTypeData, I am getting error. If someone facing the same issue and got any resolution, please let me know.
Asked
Post not yet marked as solved
10 Views

Enrollment request is still processing

We have enrolled for the Apple Developer program on 3 September 2021. And since then it is being precessed. We have tried to contact support twice just in case if we need additional information to provide or anything to accelerate the process but it seems our enrollment has been stuck there. Please help Please help.
Asked
Post not yet marked as solved
12 Views

register a device that has UDID in the (new) format of 24 digits&letters ( 000***-xxxxxxxxxxxxxxxx)

does anyone know how to register a device when the device's UDID is a 24 digits/letters ? I can register a device that has the UDID in the 40 digits format, but I cannot register a device when the UDID is in the 24 digits format ? any ideas on how to register this kind on UDID format ? tks marcel
Asked
by marcelpop.
Post not yet marked as solved
10 Views

iOS app icon not updating with Xcode 13.0 / iOS 15.0

I'm about to release an app update with a new app icon. I've changed the icons several times to try different designs with Xcode 12.x and iOS 14 and never had any issues. Today I updated to Xcode 13 + iOS 15, and no matter what I try, the device keeps showing my previous version of the app icon. Xcode displays the new icon (e.g. under "Targets" of the project settings). The correct (new) icon is being displayed when running in simulator. In the "Devices and Simulators" window, the old/wrong icon is displayed under "Installed Apps". Things I've tried: I checked all asset catalogs etc. in my project and can confirm the old icon asset is no longer there. Clean build folder. Delete the app off the device from "Devices and Simulators". Delete the app on the device itself. Restart the iPhone whilst app is still on the device. Restart the iPhone whilst app is deleted. Restart Mac. I created a new iOS icon asset and linked that from the iPhone project settings. Increased the build number of the iPhone app. No matter what I try, the old icon keeps coming back. It seems like iOS 15 caches the icon and building and running on device from Xcode is not enough. Any ideas
Asked
by NickZ.
Post not yet marked as solved
38 Views

Xcode 13. Argument list too long while using SPM(Swift Package Manager)

I am using spm in my project. When I build via Xcode 13, I get error "Argument list too long". After some research I found multiple repeat of flags -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks. Have you any idea how to fix this? full log: CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'TryToReproduce' from project 'MyProject') cd /Users/renat/Sources/MyProject export DEVELOPER_DIR\=/Applications/Xcode-13.0.0.app/Contents/Developer export SDKROOT\=/Applications/Xcode-13.0.0.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk /Applications/Xcode-13.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc ... -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/RxCocoa -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/RxRelay -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/RxSwift -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/TensorFlowLiteSwift -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/RxCocoa -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/RxRelay -I /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/RxSwift -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/renat/DerrivedData/Build/Products/Debug-iphonesimulator -F /Users/renat/Sources/release-ios/ios/Pods/TensorFlowLiteC/Frameworks -F /Users/renat/Sources/release-ios/ios/Pods/YandexMapKit -F /Users/renat/Sources/release-ios/ios/Pods/YandexRuntime -F /Users/renat/Sources/release-ios/ios/lib -F /Users/renat/Sources/release-ios/iOS ... I already created an empty project and checked adding packages to an empty project, the problem is reproducible
Asked
Post not yet marked as solved
16 Views

"unable to dequeue a cell with identifier" only on iPadOS 15.0

I have a UITableView based up. It is running fine on all iOS versions including 15.0. It is also running fine on all iPadOS versions up to 14.x. But only on iPadOS 15.0 it crashes with the following error message: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier TextCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard' Is this a know issue? How can I debug it to figure out where the problem lies? Note that I actually do register the NIB as follows in viewDidLoad: static NSString *reuseIdentifierTextCell = @"TextCell"; [self.tableView registerNib:[UINib nibWithNibName:@"ChatTextCellCondensed" bundle:nil] forCellReuseIdentifier:reuseIdentifierTextCell]; It is crashing at this line in cellForRowAtIndexPath: cell = [tableView dequeueReusableCellWithIdentifier:reuseIdentifierTextCell forIndexPath:indexPath]; Thanks!
Asked
by l00.
Post not yet marked as solved
12 Views

Apple Music Catalog resources search API best practices on building the query term

Hello! I am working on the backend logic to search for Apple Music items (albums primarily, but also songs and artists). We use this API a lot. I was always wondering if there are any best practices about this search API, in particular are there any rules/advices/hints to build the term query parameter to achieve the most accurate results in the response? Thank you!
Asked
by oleg_m.
Post not yet marked as solved
11 Views

Push api /notification support in IOS PWA app

Hi team , We are developing a new PWA app for one of our products . The main blocker right now is that that PWA app doesn't support push notifications in IOS applications . I see couple of threads where people have already posted these queries, yet wanted to know If there is any tentative ETA on the push api support for IOS ? Is this feature request tracked anywhere by the team , if yes whats the tracking reference and how could we expedite the feature delivery- do you have any process for the same? If the team has decided to not support this feature , Is it documented anywhere ? Are there any alternatives /workarounds available to enable push notifications or similar feature in IOS PWA apps.
Asked
by Nishal.
Post not yet marked as solved
17 Views

Migrating from UIScrollView to UICollectionView

I have prototyped multilayer timeline with custom cells, where: a. Each cell has possibly different size. Some cell sizes can be more than visible rect of ScrollView, b. The gap between cells may be different (even though it appears same in the picture below), except the first(base) layer where the cell gap is fixed to 2 points, c. Each cell can be selected and trimmed/expanded from each end using UIPanGestureRecognizer. Trimming/Expansion have custom rules. For the base layer, cell simply pushes other cells as it expands or contracts. For other layers however, the trimming or expansion have to respect boundaries of neighbouring cells. d. Timeline can be zoomed horizontally which has the effect of scaling cells e. Cells can be dragged and dropped to other rows subject to custom rules. I have implemented all this using UIScrollView. By default all cells are initialized and added to UIScrollView, whether they are visible or not. But now I am hitting limits as I draw more content on each cell. Which means I need to reuse cells and draw only visible content. I discussed this with Apple Engineers in WWDC labs and one of the engineer suggested I use UICollectionView with custom layout where I can get lot of functionality for free (such as cell reuse, drag and drop). He suggested me looking into WWDC 2018 video (session 225) on UICollectionView. But as I look at custom layout of UICollectionView, it's not clear to me: Q1. How to manually trim/expand select cells in UICollectionView with custom layout using UIPanGesture? In case of UIScrollView, I just have a UIPanGestureRecognizer on cell and do the trimming and expansion of it's frame (respecting given boundary conditions). Q2. How to scale all the cells with a given zoom factor? With UIScrollView, I simply scale the frames of each cell and then calculate contentOffset to reposition UIScrollView around the point of zoom. Even with UICollectionView with just one cell which has width say 10x of UICollectionView frame width, I will need further optimization to draw content on only visible portion rather than the whole cell. How is that possible with UICollectionViewCell to draw only part of the cell that's visible on screen?
Asked