Search results for

“Xcode”

93,886 results found

Post

Replies

Boosts

Views

Activity

Reply to Broken autocomplete in Xcode 26
@DTS Engineer I have created fresh virtual machine with latest macOS, installed latest Xcode there and check. Behavior is still broken (check video below). https://drive.google.com/file/d/1THJ-o_4htaP2FvH8w4nt8IsbIsNefgZk/view?usp=sharing As you requested, I've also collected sysdiagnose: https://drive.google.com/file/d/1xv11WVYlVjCEVmggr37cETbqd-5w8Yyd/view?usp=sharing
2w
Reply to Inquiry regarding Local Push Connectivity Entitlement
[quote='880415022, ToshiyukiTakeda, /thread/819261?answerId=880415022#880415022, /profile/ToshiyukiTakeda'] Will the Entitlements field for Team ID NWKYYYYYYY be added if I simply wait? [/quote] Our records show that Team ID NWKYYYYYYY already has access to the entitlements need to use NEAppPushProvider. In Xcode’s Signing & Capabilities editor, it should show up as Network Extension (additional values). Likewise in the App ID editor on the Developer website. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
2w
Reply to Can I download the iOS 26 simulator runtime via a download link
I am unable to download the specified version 26.2. In light of the issue discussed in this thread: https://developer.apple.com/forums/thread/818209, could this be related to the local Xcode version? yue22.chen@L7JF2KDP9J code % xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion 26.2 Finding content... iOS 26.2 is not available for download. yue22.chen@L7JF2KDP9J code % xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion 26.2.0 Finding content... iOS 26.2.0 is not available for download. yue22.chen@L7JF2KDP9J code % xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion iOS26.2 Finding content... iOS iOS26.2 is not available for download.
2w
Reply to Someone help me, i need to connect to wifi by scan a qrCode in my Flutter APP
Thank you very much for your patient response. However, I think my situation was different. After carefully reading the developer documentation, I realized that I hadn't added the Hotspot Configuration Entitlement to my certificate, which caused code 8 to appear. This issue was unrelated to the system version or device model. After I added the entitlement in Xcode, everything started working normally. Here is the link to the documentation, hoping it can help others: https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.developer.networking.HotspotConfiguration Nevertheless, I still think it would be better if the error message for missing permissions could be isolated, providing a clearer hint to developers.
2w
Xcode Cloud builds showing persistent connection refused errors
Hello, Our build in Xcode Cloud uses gradle via a custom script. Today we're seeing persistent errors when our build job attempts to download the Gradle binary in the Xcode Cloud env. Run custom shell script 'Build Shared KMP Framework' Downloading https://services.gradle.org/distributions/gradle-8.13-bin.zip Exception in thread main java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.pollConnect(Native Method) So we're currently blocked from submitting an app update. Can an Xcode Cloud engineer please comment regarding whether this is an ephemeral issue related to other networking issues reported in the forum here or if this warrants other investigation on our side?
2
0
135
2w
Reply to Recurring FigXPCUtilities / FigCaptureSourceRemote err=-17281 logs when using AVCaptureVideoDataOutput on iOS 26.x
Thanks for this interesting post! I'm not an expert on that field nor that API. Hope one of the engineers on that team can jump into this thread for better info. These specific FigXPCUtilities and FigCaptureSourceRemote logs are almost certainly benign internal framework noise rather than a regression or a flaw in your capture pipeline. Looking up the err=-17281 is a CoreMedia error code that, without knowing here, typically points to a minor XPC synchronization hiccup, a port invalidation, or an asynchronous state mismatch during the setup or teardown of the capture session? I believe this logs are for information only and should be removed. Code paths that silently recovered in older iOS versions often have their log levels elevated in newer releases (or beta releases), resulting in console spam. If your AVCaptureVideoDataOutputSampleBufferDelegate is successfully receiving CMSampleBuffer frames and your preview layer is rendering smoothly. You can safely ignore these logs. If you want to temporarily hide t
2w
Reply to Broken autocomplete in Xcode 26
@AlkensoDev I would recommend to file a bug because I'm unable to reproduce it on the latest release of Xcode. I would also recommend when filing the bug to provide your sysdiagnose as maybe could be something on the set up of your environment. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Albert Pascual
  Worldwide Developer Relations.
2w
Cannot test IAP on development build using sandbox
Ok, so I've been following the directions in Apple's documentation here: https://developer.apple.com/documentation/storekit/testing-in-app-purchases-with-sandbox?language=objc It lists a bunch of requirements all of which I have done. I have verified the strings exactly match for the bundle names and the IAP bundle names between my code and AppStoreConnect. The docs continue, saying to prepare to test: During developement[sic], build and run your app from Xcode. At this stage, you don’t need to upload your app binary to App Store Connect to test it in the sandbox environment. When the app loads, I see this error on the console in Xcode: [IAPManager] Store init failed: PurchasingUnavailable - Retrieve Products failed, and could not retrieve any products. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) IAPManager:OnInitializeFailed(InitializationFailureReason, String) Unity documentation indicates that my app is reaching AppStore successfully but it is not respondi
2
0
66
2w
Reply to Xcode not omitting binary of static framework
Update: I've had a chance to speak with an Apple build-tools engineer and was told that this is intentional after all. There are certain app-validation tools that have not yet been updated to support static frameworks. These tools would reject apps with frameworks that do not contain binaries, and therefore, at least for now, Xcode does add this stub on purpose.
2w
Reply to _MPRemoteCommandEventDispatch crashes on iOS 26.x devices.
The same problem on Xcode 26.3 NSInternalInconsistencyException event dispatch <_MPRemoteCommandEventDispatch: sourceID=SenderDevice = , SenderBundleIdentifier = , SenderPID = <9154> ((null))> state:201> deallocated without calling continuation userInfo: { NSAssertFile = _MPRemoteCommandEventDispatch.m; NSAssertLine = 39; } Crashed: Thread 0 CoreFoundation __exceptionPreprocess + 164 1 libobjc.A.dylib objc_exception_throw + 88 2 Foundation _userInfoForFileAndLine + 0 3 MediaPlayer -[_MPRemoteCommandEventDispatch dealloc] + 144 4 CoreFoundation -[__NSArrayI_Transfer dealloc] + 84 5 libobjc.A.dylib AutoreleasePoolPage::releaseUntil(objc_object**) + 204 6 libobjc.A.dylib objc_autoreleasePoolPop + 244 7 CoreFoundation _CFAutoreleasePoolPop + 32 8 CoreFoundation __CFRunLoopPerCalloutARPEnd + 48 9 CoreFoundation __CFRunLoopRun + 1976 10 CoreFoundation _CFRunLoopRunSpecificWithOptions + 532 11 GraphicsServices GSEventRunModal + 120 12 UIKitCore -[UIApplication _run] + 792 13 UIKitCore UIAppl
Topic: Media Technologies SubTopic: Audio Tags:
2w
Reply to Bug: Wi-Fi Aware (NAN) Subscriber Mode: nwPath.availableInterfaces Does Not Include nan0 Interface After Successful Peer Connection
[quote='880225022, wu_aaron, /thread/818708?answerId=880225022#880225022, /profile/wu_aaron'] we need to establish multiple additional NWConnection instances … over the Wi‑Fi Aware network [/quote] I don’t think you can do this on currently shipping systems. However, we’ve added support for it in iOS 26.4 beta. This is sufficiently ‘bleeding edge’ that the docs haven’t hit the Developer website yet. But the APIs are in the iOS 26.4 beta SDK (I’m using Xcode 26.4b3, build 17E5179g) and there’s documentation in Xcode itself. To set up a listener: let devices: WAPublisherListener.Devices = … specific devices … let listener = try NetworkListener(for: .wifiAware(.addingConnections(from: devices)), using: .parameters({ TCP() }).localPort(12345)) On the client side, do this: let connection: NetworkConnection = … original connection … guard let wifiAwareEndpoint = connection.currentPath?.remoteEndpoint?.wifiAware(port: 12345) else { // … handle the failure … } // … connect to that endpoint … If you
2w
Reply to Bug: Wi-Fi Aware (NAN) Subscriber Mode: nwPath.availableInterfaces Does Not Include nan0 Interface After Successful Peer Connection
[quote='880225022, wu_aaron, /thread/818708?answerId=880225022#880225022, /profile/wu_aaron'] we need to establish multiple additional NWConnection instances … over the Wi‑Fi Aware network [/quote] I don’t think you can do this on currently shipping systems. However, we’ve added support for it in iOS 26.4 beta. This is sufficiently ‘bleeding edge’ that the docs haven’t hit the Developer website yet. But the APIs are in the iOS 26.4 beta SDK (I’m using Xcode 26.4b3, build 17E5179g) and there’s documentation in Xcode itself. To set up a listener: let devices: WAPublisherListener.Devices = … specific devices … let listener = try NetworkListener(for: .wifiAware(.addingConnections(from: devices)), using: .parameters({ TCP() }).localPort(12345)) On the client side, do this: let connection: NetworkConnection = … original connection … guard let wifiAwareEndpoint = connection.currentPath?.remoteEndpoint?.wifiAware(port: 12345) else { // … handle the failure … } // … connect to that endpoint … If you
2w
Reply to Broken autocomplete in Xcode 26
@DTS Engineer I have created fresh virtual machine with latest macOS, installed latest Xcode there and check. Behavior is still broken (check video below). https://drive.google.com/file/d/1THJ-o_4htaP2FvH8w4nt8IsbIsNefgZk/view?usp=sharing As you requested, I've also collected sysdiagnose: https://drive.google.com/file/d/1xv11WVYlVjCEVmggr37cETbqd-5w8Yyd/view?usp=sharing
Replies
Boosts
Views
Activity
2w
Reply to Inquiry regarding Local Push Connectivity Entitlement
[quote='880415022, ToshiyukiTakeda, /thread/819261?answerId=880415022#880415022, /profile/ToshiyukiTakeda'] Will the Entitlements field for Team ID NWKYYYYYYY be added if I simply wait? [/quote] Our records show that Team ID NWKYYYYYYY already has access to the entitlements need to use NEAppPushProvider. In Xcode’s Signing & Capabilities editor, it should show up as Network Extension (additional values). Likewise in the App ID editor on the Developer website. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
2w
Reply to Can I download the iOS 26 simulator runtime via a download link
I am unable to download the specified version 26.2. In light of the issue discussed in this thread: https://developer.apple.com/forums/thread/818209, could this be related to the local Xcode version? yue22.chen@L7JF2KDP9J code % xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion 26.2 Finding content... iOS 26.2 is not available for download. yue22.chen@L7JF2KDP9J code % xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion 26.2.0 Finding content... iOS 26.2.0 is not available for download. yue22.chen@L7JF2KDP9J code % xcodebuild -downloadPlatform iOS -exportPath ~/Downloads -buildVersion iOS26.2 Finding content... iOS iOS26.2 is not available for download.
Replies
Boosts
Views
Activity
2w
Reply to Someone help me, i need to connect to wifi by scan a qrCode in my Flutter APP
Thank you very much for your patient response. However, I think my situation was different. After carefully reading the developer documentation, I realized that I hadn't added the Hotspot Configuration Entitlement to my certificate, which caused code 8 to appear. This issue was unrelated to the system version or device model. After I added the entitlement in Xcode, everything started working normally. Here is the link to the documentation, hoping it can help others: https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.developer.networking.HotspotConfiguration Nevertheless, I still think it would be better if the error message for missing permissions could be isolated, providing a clearer hint to developers.
Replies
Boosts
Views
Activity
2w
Xcode Cloud builds showing persistent connection refused errors
Hello, Our build in Xcode Cloud uses gradle via a custom script. Today we're seeing persistent errors when our build job attempts to download the Gradle binary in the Xcode Cloud env. Run custom shell script 'Build Shared KMP Framework' Downloading https://services.gradle.org/distributions/gradle-8.13-bin.zip Exception in thread main java.net.ConnectException: Connection refused at java.base/sun.nio.ch.Net.pollConnect(Native Method) So we're currently blocked from submitting an app update. Can an Xcode Cloud engineer please comment regarding whether this is an ephemeral issue related to other networking issues reported in the forum here or if this warrants other investigation on our side?
Replies
2
Boosts
0
Views
135
Activity
2w
Reply to Unable to install Metal toolchain through Xcode Cloud
I have the same issue using Xcode 26.2. No issues with Xcode 26.3. FB22265099
Replies
Boosts
Views
Activity
2w
Reply to ShareLink "Save Image" action dismisses presenting view after saving
Please file a feedback report via Feedback Assistant and share the feedback number here once submitted. Include the OS, Xcode versions and sample code you're able to reproduce the issue on.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
2w
Reply to Recurring FigXPCUtilities / FigCaptureSourceRemote err=-17281 logs when using AVCaptureVideoDataOutput on iOS 26.x
Thanks for this interesting post! I'm not an expert on that field nor that API. Hope one of the engineers on that team can jump into this thread for better info. These specific FigXPCUtilities and FigCaptureSourceRemote logs are almost certainly benign internal framework noise rather than a regression or a flaw in your capture pipeline. Looking up the err=-17281 is a CoreMedia error code that, without knowing here, typically points to a minor XPC synchronization hiccup, a port invalidation, or an asynchronous state mismatch during the setup or teardown of the capture session? I believe this logs are for information only and should be removed. Code paths that silently recovered in older iOS versions often have their log levels elevated in newer releases (or beta releases), resulting in console spam. If your AVCaptureVideoDataOutputSampleBufferDelegate is successfully receiving CMSampleBuffer frames and your preview layer is rendering smoothly. You can safely ignore these logs. If you want to temporarily hide t
Replies
Boosts
Views
Activity
2w
Reply to Broken autocomplete in Xcode 26
@AlkensoDev I would recommend to file a bug because I'm unable to reproduce it on the latest release of Xcode. I would also recommend when filing the bug to provide your sysdiagnose as maybe could be something on the set up of your environment. Once you open the bug report, please post the FB number here for my reference. If you have any questions about filing a bug report, take a look at Bug Reporting: How and Why? Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
2w
Reply to Cannot test IAP on development build using sandbox
Hello - Additional troubleshooting tips for testing IAP and product(s) availability in Xcode and in Sandbox can be found in the linked pages. Please let us know if you have any other questions. Thank you.
Replies
Boosts
Views
Activity
2w
Cannot test IAP on development build using sandbox
Ok, so I've been following the directions in Apple's documentation here: https://developer.apple.com/documentation/storekit/testing-in-app-purchases-with-sandbox?language=objc It lists a bunch of requirements all of which I have done. I have verified the strings exactly match for the bundle names and the IAP bundle names between my code and AppStoreConnect. The docs continue, saying to prepare to test: During developement[sic], build and run your app from Xcode. At this stage, you don’t need to upload your app binary to App Store Connect to test it in the sandbox environment. When the app loads, I see this error on the console in Xcode: [IAPManager] Store init failed: PurchasingUnavailable - Retrieve Products failed, and could not retrieve any products. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) IAPManager:OnInitializeFailed(InitializationFailureReason, String) Unity documentation indicates that my app is reaching AppStore successfully but it is not respondi
Replies
2
Boosts
0
Views
66
Activity
2w
Reply to Xcode not omitting binary of static framework
Update: I've had a chance to speak with an Apple build-tools engineer and was told that this is intentional after all. There are certain app-validation tools that have not yet been updated to support static frameworks. These tools would reject apps with frameworks that do not contain binaries, and therefore, at least for now, Xcode does add this stub on purpose.
Replies
Boosts
Views
Activity
2w
Reply to _MPRemoteCommandEventDispatch crashes on iOS 26.x devices.
The same problem on Xcode 26.3 NSInternalInconsistencyException event dispatch <_MPRemoteCommandEventDispatch: sourceID=SenderDevice = , SenderBundleIdentifier = , SenderPID = <9154> ((null))> state:201> deallocated without calling continuation userInfo: { NSAssertFile = _MPRemoteCommandEventDispatch.m; NSAssertLine = 39; } Crashed: Thread 0 CoreFoundation __exceptionPreprocess + 164 1 libobjc.A.dylib objc_exception_throw + 88 2 Foundation _userInfoForFileAndLine + 0 3 MediaPlayer -[_MPRemoteCommandEventDispatch dealloc] + 144 4 CoreFoundation -[__NSArrayI_Transfer dealloc] + 84 5 libobjc.A.dylib AutoreleasePoolPage::releaseUntil(objc_object**) + 204 6 libobjc.A.dylib objc_autoreleasePoolPop + 244 7 CoreFoundation _CFAutoreleasePoolPop + 32 8 CoreFoundation __CFRunLoopPerCalloutARPEnd + 48 9 CoreFoundation __CFRunLoopRun + 1976 10 CoreFoundation _CFRunLoopRunSpecificWithOptions + 532 11 GraphicsServices GSEventRunModal + 120 12 UIKitCore -[UIApplication _run] + 792 13 UIKitCore UIAppl
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
2w
Reply to Bug: Wi-Fi Aware (NAN) Subscriber Mode: nwPath.availableInterfaces Does Not Include nan0 Interface After Successful Peer Connection
[quote='880225022, wu_aaron, /thread/818708?answerId=880225022#880225022, /profile/wu_aaron'] we need to establish multiple additional NWConnection instances … over the Wi‑Fi Aware network [/quote] I don’t think you can do this on currently shipping systems. However, we’ve added support for it in iOS 26.4 beta. This is sufficiently ‘bleeding edge’ that the docs haven’t hit the Developer website yet. But the APIs are in the iOS 26.4 beta SDK (I’m using Xcode 26.4b3, build 17E5179g) and there’s documentation in Xcode itself. To set up a listener: let devices: WAPublisherListener.Devices = … specific devices … let listener = try NetworkListener(for: .wifiAware(.addingConnections(from: devices)), using: .parameters({ TCP() }).localPort(12345)) On the client side, do this: let connection: NetworkConnection = … original connection … guard let wifiAwareEndpoint = connection.currentPath?.remoteEndpoint?.wifiAware(port: 12345) else { // … handle the failure … } // … connect to that endpoint … If you
Replies
Boosts
Views
Activity
2w
Reply to Bug: Wi-Fi Aware (NAN) Subscriber Mode: nwPath.availableInterfaces Does Not Include nan0 Interface After Successful Peer Connection
[quote='880225022, wu_aaron, /thread/818708?answerId=880225022#880225022, /profile/wu_aaron'] we need to establish multiple additional NWConnection instances … over the Wi‑Fi Aware network [/quote] I don’t think you can do this on currently shipping systems. However, we’ve added support for it in iOS 26.4 beta. This is sufficiently ‘bleeding edge’ that the docs haven’t hit the Developer website yet. But the APIs are in the iOS 26.4 beta SDK (I’m using Xcode 26.4b3, build 17E5179g) and there’s documentation in Xcode itself. To set up a listener: let devices: WAPublisherListener.Devices = … specific devices … let listener = try NetworkListener(for: .wifiAware(.addingConnections(from: devices)), using: .parameters({ TCP() }).localPort(12345)) On the client side, do this: let connection: NetworkConnection = … original connection … guard let wifiAwareEndpoint = connection.currentPath?.remoteEndpoint?.wifiAware(port: 12345) else { // … handle the failure … } // … connect to that endpoint … If you
Replies
Boosts
Views
Activity
2w