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
2 Views

Sign in with Apple - Unifying user sign in coming from two service ids under different teams

I've read in the documentation the private relay and user identifier (sub) are team scoped. If I have 2 or more teams that have their separate Sign in with Apple service ids configured, each under their own (separate) team account is there any way to unify these into one common service id so that the team-scoped user identifier is the same whether the user signs in through Team1-AppleServiceId1 or Team2-AppleServiceId2?
Asked
by Lorand_V.
Post not yet marked as solved
7 Views

Lag in gaming after ios 14 update

After update ios 13.7 to ios 14 my games drop so much fps and my device heat so much due to update please fix this update other we dont use apple device because we buy apple device for no lag if its lag we buy only android devices My device is Iphone XR
Asked
Post not yet marked as solved
4 Views

Big Sur 11.5.2 update is causing flickering with my mouse movements + Logitech software issues.

Hello, So I had some problems with my webcam and started chatting with apple support. They wanted me to update my Mac mini from 11.4.0 to 11.5.2. This M1 Mac mini is about a week old now and has 16gb ram and 512gb SSD. After installing the update I am experiencing flickering in my mouse movements. Every time the mouse hasn't t moved a while and I start moving it this happens. (Mouse is Logitech MX Master 3 for Mac) Also another problem that occurred is that the Logi options application stopped working and the Logitech camera software broke. I can not find how to force these applications to run on rosetta? So my question is: Is this a known problem and would downgrading be a solution? It's pretty annoying especially because the computer is brand new.
Asked
Post not yet marked as solved
8 Views

Your Mac is running the latest software update allowed by your administrator

I'm running macOS Monterey beta 12.0 (21A5304g) and I'm getting the following message when checking for software update within System Preferences. Your Mac is running the latest software update allowed by your administrator Sounds like it thinks its running with an MDM profile, but one has never been deployed to it. Anyone else seeing this issue?
Asked
by brswllc.
Post not yet marked as solved
7 Views

Screen becomes unresponsive during game

Hello! I am having trouble with my quiz game - sometimes (not always) after completing a level, the screen darkens and the game becomes unresponsive. I am unable to click anywhere on the screen. I've been scratching my head about this issue for several weeks now and can't get to the bottom of it. I'd really appreciate some help/advice on the matter if anyone knows that's wrong. I've attached the error log as it was too long to add here. Many thanks, Ermes Error log:
Asked
Post not yet marked as solved
5 Views

Digital marketing

Does anyone know if its possible or have instructions on how to place a pixel for remarketing on the Apple App store page, to run a digital marketing campaign for app downloads.
Asked
Post not yet marked as solved
24 Views

Push notification is not arriving at my app, even though the server responds with 200/OK

I want to enable push notifications in my iOS app. I followed the resp. walkthrough as closely as possible. To test things, I tried the command line approach first like described here: https://developer.apple.com/documentation/usernotifications/sending_push_notifications_using_command-line_tools The APNS server responds with 200/OK, but no notification will ever arrive at my device. I definitely assume my request is correct; if I tamper with the device token (e.g. by altering its last digit), the server responds with 400/BadDeviceToken like one would expect. This is what I get from the APNS server: curl -v --header "apns-topic: $TOPIC" --header "apns-push-type: alert" --header "authorization: bearer $AUTHENTICATION_TOKEN" --data '{"aps":{"alert":"test"}}' --http2 https://${APNS_HOST_NAME}/3/device/${DEVICE_TOKEN} *  Trying 17.188.138.73... * TCP_NODELAY set * Connected to api.sandbox.push.apple.com (17.188.138.73) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: *  CAfile: /etc/ssl/cert.pem  CApath: none * TLSv1.2 (OUT), TLS handshake, Client hello (1): * TLSv1.2 (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Request CERT (13): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Certificate (11): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS change cipher, Change cipher spec (1): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 * ALPN, server accepted to use h2 * Server certificate: * subject: CN=api.development.push.apple.com; OU=management:idms.group.533599; O=Apple Inc.; ST=California; C=US * start date: Feb 8 21:41:22 2021 GMT * expire date: Mar 10 21:41:22 2022 GMT * subjectAltName: host "api.sandbox.push.apple.com" matched cert's "api.sandbox.push.apple.com" * issuer: CN=Apple Public Server RSA CA 12 - G1; O=Apple Inc.; ST=California; C=US * SSL certificate verify ok. * Using HTTP2, server supports multi-use * Connection state changed (HTTP/2 confirmed) * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 * Using Stream ID: 1 (easy handle 0x7fe09f80f200) > POST /3/device/49C52E009C0107AB0ACCF178703E32790B4F3F155E7897F1F4ABAA3B1D9170D8 HTTP/2 > Host: api.sandbox.push.apple.com > User-Agent: curl/7.64.1 > Accept: */* > apns-topic: de.nexoft.viveto > apns-push-type: alert > authorization: bearer eyAiYWxnIjogIkVTMjU2IiwgImtpZCI6ICJaTTNDR0hTVEQ5IiB9.eyAiaXNzIjogIjNaVzhDUVZEWUoiLCAiaWF0IjogMTYyOTI5NjI1NCB9.MEYCIQCXP7L0-v_wY8F_WGFuZ-phJomzyO-43k0b7Xl9dvosVwIhANErbCHYfnG5ccfKTl14BCEhyWbDzPZSSLkJrSaQhCSb > Content-Length: 24 > Content-Type: application/x-www-form-urlencoded >  * Connection state changed (MAX_CONCURRENT_STREAMS == 1)! * We are completely uploaded and fine * Connection state changed (MAX_CONCURRENT_STREAMS == 1000)! < HTTP/2 200  < apns-id: 4C4AF738-9624-4643-8F76-18FFAD630C4F <  * Connection #0 to host api.sandbox.push.apple.com left intact * Closing connection 0
Asked
Post not yet marked as solved
12 Views

MIDI 2 (UMP) equivalent for AUScheduleMIDIEventBlock?

We have an audio app that utilises a custom internal audio unit attached to AVAudioEngine to do DSP processing. Currently: MIDI arrives at the input port for the app (created with MIDIDestinationCreateWithProtocol). For MIDI 1 we use AUScheduleMIDIEventBlock to pass the events from the midi input to the audio unit. All works well for MIDI 1. So while we ponder on it ourselves we have some questions to throw into the ether... a) For MIDI 2 there appears to be no equivalent method to AUScheduleMIDIEventBlock to send UMP to an audio unit? b) We initially chose the audio unit approach because MIDI and audio processing is all handled neatly, but is this approach essentially redundant? Would it be better to put a tap somewhere on the AVAudioEngine and pass MIDI 2 events directly from the input to the tap? I fear in that case synchronising MIDI to audio nicely would be a pain? c) perhaps we should wait until apple implement a UMP version of AUScheduleMIDIEventBlock?
Asked
Post not yet marked as solved
12 Views

Connection issues relating to Local Network privacy settings.

We had a few clients on Monday(16/08) reporting the same issue; they couldn't connect to their local servers which we set up for them previously. One of the issues were resolved by enabling our App to be able to access devices through Local Network under Privacy settings, but the other three devices weren't so lucky. We haven't released an update in a while, and other devices seem to be able to connect to the same server without problems, so it doesn't seem to be an App specific or Server specific issue, it looks to us like it's a device specific issue. We have advised them to try mobile data, in case it's an issue with being on the same local network as the server, we advised updating their iOS, resetting their network settings, even enabling and disabling Wifi Assist, among many other things. We have run out of ideas, is there any steps we might have forgotten to check to resolve this issue? Specifications: The three devices that are still struggling are: iPad6,12 9.7" 5th Gen (Wi-Fi/Cellular) - (last iOS 11.2.6) iPad6,12 9.7" 5th Gen (Wi-Fi/Cellular) - (last iOS 11.4.1) iPhone12,1 - iPhone 11 (US/Canada/A2111) - (last iOS 14.4.2) The device that was fixed is: iPad7,12  10.2" 7th Gen (Wi-Fi/Cellular, US/CA) - (last iOS 14.4.2)
Asked
by DavidFek.
Post not yet marked as solved
11 Views

Connecting iPad Pro to external breadboard circuits.

I'm trying to connect an iPad Pro to a breadboard to do some electronic experiments with, and develop a Swift application to help control things. I'm looking the iPad to help provide low power to the board so need to connect via the USB-C rather than Bluetooth. In order to work, I tried to connect a SparkFun Serial Basic Breakout - CH340C and USB-C board. When connected to an Apple Mac it shows up as "cu.usbserial-1420" and "tty.usbserial-1420", so I know the Mac can see it. Also can send output/input to it without issue. On connecting it to an iPad and running a Swift application using the External Accessory framework, I'm getting nothing when connecting/disconnecting the device. I thought there might be something coming through on the didConnectAccessory, didDisconnectAccessory notifications. I've also tried adding the above names to the info.plist file under "Supported external accessory protocols" and still nothing. I've been told that you don't have to join the MFI program when developing as a hobby and the External Accessory framework should be sufficient. Has anyone tried to connect their iPad Pro to a breadboard and been successful or point me in the general direction? The device details can be found at the Sparkfun.com website via /products/15096 as can't link directly. Thanks
Asked
by Infurious.
Post not yet marked as solved
33 Views

Hi I am getting a blank screen when I run the following code in my Xcode project

// //  ContentView.swift //  NewsReader // //  Created by Rashid  Vohra on 7/7/21. // import SwiftUI struct Result: Codable {     var articles: [Article] } struct Article: Codable {     var url: String     var title: String     var description: String?     var urlToImage: String? } struct ContentView: View {     private let url = "https://newsapi.org/v2/top-headlines?country=us&category=business&apiKey=49d5bfa113c34ec0af781fab38395996"               @State private var articles = [ Article ()          func fetchData() {         guard let url = URL(string: url) else {             print("URL is not valid")             return         }                  let request = URLRequest(url: url)                  URLSession.shared.dataTask(with: request) {             data, response, error in             if let data = data {                 if let decodedResult = try?                     JSONDecoder().decode(                         Result.self, from: data) {                                          DispatchQueue.main.async {                                                self.articles =                             decodedResult.articles                     }                     return                 }             }             print ("Error: (error?.localizedDescription ?? "Unknown Error") ")         }.resume()     }          var body: some View {                           List(articles, id: .url) { item in             HStack(alignment: .top) {                                 VStack(alignment: .leading) {                     Text(item.title)                         .font(.headline)                     Text(item.description ?? "")                         .font(.footnote)                 }             }.onAppear(perform: fetchData)         }     } } struct ContentView_Previews: PreviewProvider {     static var previews: some View {         ContentView()     } }
Asked
Post not yet marked as solved
13 Views

Swiping away to "kill" apps and quickly reopening them cause them to crash

I noticed something weird yesterday in beta 6, (it could have been in earlier betas) but if you kill an app, then immediately try to open it, (sometimes it takes a few times) the app will crash. I can duplicate it on pretty much every app, including the feedback app, Chase etc. Its as if killing it doesnt fully kill it and causing sometime of network crash. I cant duplicate it in iOS14 at all so im thinking its something on how apps are "killed" (or not killed) in ios 15. I also cant get it to happen on iPadOS15 just iOS15. Weirdness.
Asked
Post not yet marked as solved
11 Views

Error: Invalid Provisioning Profile

When trying to upload to AppStore the Mac Application I am getting the following error: ERROR ITMS-90283: "Invalid Provisioning Profile. The provisioning profile included in the bundle "MYBUNDLE_NAME" is invalid. [Invalid 'com.apple.developer.aps-environment' entitlement value.] For more information, visit the macOS Developer Portal." (-18000) Inside the Provisioning Profile I have the following entitlement: <key>com.apple.developer.aps-environment</key> <string>development</string>
Asked
by xcoder_aq.
Post not yet marked as solved
10 Views

Too much space waisted in bottom area

Hi Apple, the Bottom Safari nav bar needs now too much space in the Beta 6 version - also it always appears when I scroll down. Solution: a. reduce hight of the navigation line (the lower one) b. give an option to fix the URL bar when scrolling up / down (not longer appearance when I scroll down) and I can activate it when I click on it. Then it would be a near perfect solution. Thanks
Asked
Post not yet marked as solved
18 Views

Order not found for Subscription Renewal

The initial registration address is a. later, because email cannot be used, I changed the a account number and email address to B in ID and apple. Now I use the B address,B address no Order
Asked
by jchyapp.

Trending Tags

See all Trending Tags