Search results for

“xcode github”

96,026 results found

Post

Replies

Boosts

Views

Activity

Safari Web Extension popup never opens on iOS 26 — silent failure with all resources signed and bundled
I'm distributing a Safari Web Extension iOS app via TestFlight (built from a Chrome MV3 extension via xcrun safari-web-extension-converter on Xcode 26.0.1). The extension installs and registers correctly, but its popup never opens when the toolbar item is tapped. The behavior is silent — no error, no flash of UI, no console output. The Safari ᴀA menu just closes and the user is back at the article. WHAT WORKS: Extension appears in Settings → Safari → Extensions, can be enabled Permissions can be granted (Always Allow on Every Website) Extension appears as expected in Safari's ᴀA address-bar menu WHAT DOESN'T WORK: Tapping the extension item in the AA menu produces no popup, no error, no visible response of any kind. Same on iPhone and iPad, both on iOS 26. WHAT I'VE VERIFIED VIA IPA INSPECTION: Extension .appex contains: manifest.json, popup.html, popup.js, background.js, content.js, and images/ with all icons _CodeSignature/CodeResources files2 lists 11 entries — every web extension resource is sign
1
0
540
5d
Could not load Xcode Cloud Data
Hello, I have Xcode Cloud set up on a project with multiple targets. One target is a Framework that hosts a Swift Package that's used to host modules. I recently added a large number of files (at least 20,000) to some test targets and I can no longer access Xcode Cloud from the Cloud Reports section. Xcode prepares to analyze the project and then fails with Could not load Xcode Cloud Data Removing the files from the package results in the project being analyzed successfully. So it appears to be some sort of a timeout issue. Thank you
0
0
49
6d
Need help to build a Mac command-line app for App Store or TestFlight
I have a binary that successfully install & run on my Mac, that is build with codesign and pkgbuild with Developer ID Application and Developer ID Installer identities. I cannot figure out how to transform this pkg into a distribution package that fits with App Store and TestFlight. Xcode builds it fine and can run it seemingly, but cannot provide the App Store Distribution option in Organizer after creation of Archive. (Only Custom option.) I probably may not be able to specify properly the build Target as Release (don't know where to specify). (pkgbuild ->) productbuild -> Transporter is also an option, but don't know how to properly specify the productbuild --component options... I have a developer program and can generate the Apple developers certificate fine, such as 3rd Party Mac Developer Application/Installer. A pkg codesign'ed by them was rejected by the notarization process. My application is C and can be started again as New project from Xcode as MacOS Command-Line Tool,
3
0
118
6d
Reply to Xcode 15 not finding iOS 17 devices
5/3/26. MacOS Tahoe 26.3.1 XCode 26.4.1 ISSUE: Problem connecting my iPhone to XCode. My Apple watch connects but not my iPhone. My iPhone is a Model 12 Pro Max. I have it connected to the Mac Mini via a cable. The iPhone shows up in Finder. Xcode reason for inability to connect is a previous preparation error: The tunnel connection failed while the system tried to connect to the device”. WHAT DID NOT WORK: Restarted Mac & iPhone. Plugged and unplugged cables. Deleted Derived Data folder & Provisioning Profiles data and then restarted XCode. WHAT DID WORK: Settings>Developer>Networking…toggle on Network Link Conditioner…Test Responsiveness Result was almost immediate…Device disappeared and then reappeared in XCode under Devices and Simulators fully operational…no reboot or repairing needed.
6d
Xcode playground quick look button not found.
Hello. I don't know if this is a place to ask questions and get solutions, but I think there will be a lot of experts gathered, so I'm posting it. I'm a student who recently started learning Xcode. In the book, you can see a graph-shaped pop-up window by pressing the eye-shaped quick look button in the Xcode playground, but I can't find that button in my Xcode 26 version. Can you tell me where the button is? I'm sorry for asking such a basic question.
2
0
93
6d
Is it possible to locally test a Network Extension without a paid development account?
I've searched these terms all over the place and have found only a confusing mishmash of things that were probably true years ago but no longer seem to reflect today's reality so I'm posting it here to hopefully add a definitive 2026 answer to these search results for myself and others. The existence of the DNS Proxy Network Extension protocol in 10.15 has given me an idea. I would like to test this idea to see if it is worth developing further or a complete waste of time. This test does not need to run on any device anywhere in the world other than the one in front of me so I would prefer not to spend $100 just to see if I can make a small code fragment do a silly trick. XCode sadly refuses to build my Network Extension target when I only have a Personal Team to sign with: Personal development teams, including XXXX XXXX, do not support the Network Extensions capability. Can this be done or is Apple just 100% pay-to-play nowadays? I have zero problems disabling SIPS or any other consumer grade protec
2
0
188
6d
Reply to TelephonyMessagingKit drops first SMS at cold launch — race between client XPC handler registration and server pending flush
Hi Kevin, Thanks a lot for jumping on this — really appreciate it. I tested the pattern you suggested in a fresh, isolated repro: read isConfiguredForCarrierMessaging first, then delay session creation via a Task.sleep before touching smsService.incomingMessageNotifications. I varied the delay across four values to be thorough. Code shape (full source available, Swift, ~50 lines): let session = TelephonyMessagingSession.shared let configured = session.isConfiguredForCarrierMessaging // PHASE 1 TMKLogger.shared.log(isConfiguredForCarrierMessaging=(configured)) Task.detached(priority: .userInitiated) { try? await Task.sleep(nanoseconds: kDelayMs * 1_000_000) // PHASE 2 let notifications = try session.smsService.incomingMessageNotifications // PHASE 3 for await notification in notifications { TMKLogger.shared.log(✅ SMS received: (notification.message.content.body)) } } Test protocol on each delay: Settings → Apps → Default Messaging → TMKTest Force-kill the app Send two SMS in rapid succession from anot
Topic: App & System Services SubTopic: General Tags:
1w
Expo SDK 54 / React Native app crashes on launch on iOS 26.4.2 - SIGABRT in TurboModule - App Store rejected
My app Perfkt Music (Bundle ID: com.perfktmusic.app, App ID: 6763551647) has been rejected multiple times under Guideline 2.1.0 App Completeness because it crashes on launch on iOS 26.4.2 devices (iPad Air 11-inch M3 and iPhone 17 Pro Max). App Setup: Expo SDK 54.0.0 React Native 0.81.0 Built with Xcode 26 (macos-sequoia-15.5-xcode-26.0 image on EAS) Bundle ID: com.perfktmusic.app Crash Details from Apple's crash log: Exception: EXC_CRASH (SIGABRT) Termination: abort() called Faulting thread: com.meta.react.turbomodulemanager.queue Stack trace shows: __pthread_kill -> pthread_kill -> abort -> __abort_message -> demangling_terminate_handler -> _objc_terminate -> std::__terminate -> __cxa_rethrow -> objc_exception_rethrow The crash occurs in the TurboModule manager queue. The app does NOT crash on iOS 25 or any prior public release. What I have tried: newArchEnabled: true newArchEnabled: false buildReactNativeFromSource: true UIDeviceFamily: [1] (iPhone only) Multiple S
0
0
76
1w
Reply to Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device.
Thanks for the post, there are many Apple Watch engineers that I’m just they’ll jump into the thread, however this question seems like how to start with Apple Watch development and pair the Apple Watch to Xcode. When an Apple Watch fails to appear as a development device in Xcode, the issue usually stems from the wireless pairing bridge between Xcode, the iPhone, and the Watch, or a missing Developer Mode toggle. On the iPhone go to Settings → Privacy & Security → Developer Mode and toggle it on. On the Apple Watch go to Settings → Privacy & Security → Developer Mode and toggle it on. Both devices will require a restart. Connect the paired iPhone to your Mac via a physical cable. In Xcode, go to Window → Devices and Simulators. Select your iPhone in the left sidebar. Look at the Paired Watches section. If the Watch is listed but has a yellow warning triangle, hover over it. It may say Preparing device for development. If you have successfully completed all the steps
1w
Reply to CLLocationManager permission prompt never appears in Swift Playground
@Marka99 Welcome! Thank you for the post. I believe developers are referring to samples where you can observe how to implement that functionality. https://developer.apple.com/tutorials/sample-apps Also videos are very helpful in my opinion: https://developer.apple.com/search/?q=CLLocation Swift Playgrounds App projects fully support Core Location. Because they compile into real application bundles, they behave exactly like apps built in Xcode. You must provide a Usage Description string. In Xcode, this is done in the Info.plist. In Swift Playgrounds, this is done in the App Settings. If this string is blank, the prompt will never appear. The CLLocationManager instance must be strongly retained in memory. If you declare let manager = CLLocationManager() inside .onAppear, the manager is destroyed the moment the .onAppear closure finishes executing. Do not call startUpdatingLocation() immediately after requesting authorization. Instead, wait for the delegate to confirm you have permission. Albe
1w
Reply to Xcode 26 fails to load SPM packages
Just wanted to add that defaults write com.apple.dt.Xcode IDEPackageSupportUseBuiltinSCM YES fixed this problem for me in Xcode 26 as well, which refused to update private packages from BitBucket Cloud.
Replies
Boosts
Views
Activity
5d
Safari Web Extension popup never opens on iOS 26 — silent failure with all resources signed and bundled
I'm distributing a Safari Web Extension iOS app via TestFlight (built from a Chrome MV3 extension via xcrun safari-web-extension-converter on Xcode 26.0.1). The extension installs and registers correctly, but its popup never opens when the toolbar item is tapped. The behavior is silent — no error, no flash of UI, no console output. The Safari ᴀA menu just closes and the user is back at the article. WHAT WORKS: Extension appears in Settings → Safari → Extensions, can be enabled Permissions can be granted (Always Allow on Every Website) Extension appears as expected in Safari's ᴀA address-bar menu WHAT DOESN'T WORK: Tapping the extension item in the AA menu produces no popup, no error, no visible response of any kind. Same on iPhone and iPad, both on iOS 26. WHAT I'VE VERIFIED VIA IPA INSPECTION: Extension .appex contains: manifest.json, popup.html, popup.js, background.js, content.js, and images/ with all icons _CodeSignature/CodeResources files2 lists 11 entries — every web extension resource is sign
Replies
1
Boosts
0
Views
540
Activity
5d
Could not load Xcode Cloud Data
Hello, I have Xcode Cloud set up on a project with multiple targets. One target is a Framework that hosts a Swift Package that's used to host modules. I recently added a large number of files (at least 20,000) to some test targets and I can no longer access Xcode Cloud from the Cloud Reports section. Xcode prepares to analyze the project and then fails with Could not load Xcode Cloud Data Removing the files from the package results in the project being analyzed successfully. So it appears to be some sort of a timeout issue. Thank you
Replies
0
Boosts
0
Views
49
Activity
6d
Need help to build a Mac command-line app for App Store or TestFlight
I have a binary that successfully install & run on my Mac, that is build with codesign and pkgbuild with Developer ID Application and Developer ID Installer identities. I cannot figure out how to transform this pkg into a distribution package that fits with App Store and TestFlight. Xcode builds it fine and can run it seemingly, but cannot provide the App Store Distribution option in Organizer after creation of Archive. (Only Custom option.) I probably may not be able to specify properly the build Target as Release (don't know where to specify). (pkgbuild ->) productbuild -> Transporter is also an option, but don't know how to properly specify the productbuild --component options... I have a developer program and can generate the Apple developers certificate fine, such as 3rd Party Mac Developer Application/Installer. A pkg codesign'ed by them was rejected by the notarization process. My application is C and can be started again as New project from Xcode as MacOS Command-Line Tool,
Replies
3
Boosts
0
Views
118
Activity
6d
Reply to Xcode 15 not finding iOS 17 devices
5/3/26. MacOS Tahoe 26.3.1 XCode 26.4.1 ISSUE: Problem connecting my iPhone to XCode. My Apple watch connects but not my iPhone. My iPhone is a Model 12 Pro Max. I have it connected to the Mac Mini via a cable. The iPhone shows up in Finder. Xcode reason for inability to connect is a previous preparation error: The tunnel connection failed while the system tried to connect to the device”. WHAT DID NOT WORK: Restarted Mac & iPhone. Plugged and unplugged cables. Deleted Derived Data folder & Provisioning Profiles data and then restarted XCode. WHAT DID WORK: Settings>Developer>Networking…toggle on Network Link Conditioner…Test Responsiveness Result was almost immediate…Device disappeared and then reappeared in XCode under Devices and Simulators fully operational…no reboot or repairing needed.
Replies
Boosts
Views
Activity
6d
Xcode playground quick look button not found.
Hello. I don't know if this is a place to ask questions and get solutions, but I think there will be a lot of experts gathered, so I'm posting it. I'm a student who recently started learning Xcode. In the book, you can see a graph-shaped pop-up window by pressing the eye-shaped quick look button in the Xcode playground, but I can't find that button in my Xcode 26 version. Can you tell me where the button is? I'm sorry for asking such a basic question.
Replies
2
Boosts
0
Views
93
Activity
6d
Is it possible to locally test a Network Extension without a paid development account?
I've searched these terms all over the place and have found only a confusing mishmash of things that were probably true years ago but no longer seem to reflect today's reality so I'm posting it here to hopefully add a definitive 2026 answer to these search results for myself and others. The existence of the DNS Proxy Network Extension protocol in 10.15 has given me an idea. I would like to test this idea to see if it is worth developing further or a complete waste of time. This test does not need to run on any device anywhere in the world other than the one in front of me so I would prefer not to spend $100 just to see if I can make a small code fragment do a silly trick. XCode sadly refuses to build my Network Extension target when I only have a Personal Team to sign with: Personal development teams, including XXXX XXXX, do not support the Network Extensions capability. Can this be done or is Apple just 100% pay-to-play nowadays? I have zero problems disabling SIPS or any other consumer grade protec
Replies
2
Boosts
0
Views
188
Activity
6d
Reply to TelephonyMessagingKit drops first SMS at cold launch — race between client XPC handler registration and server pending flush
Hi Kevin, Thanks a lot for jumping on this — really appreciate it. I tested the pattern you suggested in a fresh, isolated repro: read isConfiguredForCarrierMessaging first, then delay session creation via a Task.sleep before touching smsService.incomingMessageNotifications. I varied the delay across four values to be thorough. Code shape (full source available, Swift, ~50 lines): let session = TelephonyMessagingSession.shared let configured = session.isConfiguredForCarrierMessaging // PHASE 1 TMKLogger.shared.log(isConfiguredForCarrierMessaging=(configured)) Task.detached(priority: .userInitiated) { try? await Task.sleep(nanoseconds: kDelayMs * 1_000_000) // PHASE 2 let notifications = try session.smsService.incomingMessageNotifications // PHASE 3 for await notification in notifications { TMKLogger.shared.log(✅ SMS received: (notification.message.content.body)) } } Test protocol on each delay: Settings → Apps → Default Messaging → TMKTest Force-kill the app Send two SMS in rapid succession from anot
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Required personal access token scopes for GitLab.com
When signing in to GitHub.com in Xcode, it shows what scopes must be set when creating a personal access token. However, when signing into GitLab.com, it doesn't show what scopes should be selected.
Replies
0
Boosts
0
Views
196
Activity
1w
Default repository to private when creating Git remote in Xcode
Currently, when creating a new Git remote in Xcode, the visibility for the new repository is set to public by default. It would be safer if it were set to private by default. FB22673051 https://github.com/feedback-assistant/reports/issues/797
Replies
0
Boosts
0
Views
194
Activity
1w
Expo SDK 54 / React Native app crashes on launch on iOS 26.4.2 - SIGABRT in TurboModule - App Store rejected
My app Perfkt Music (Bundle ID: com.perfktmusic.app, App ID: 6763551647) has been rejected multiple times under Guideline 2.1.0 App Completeness because it crashes on launch on iOS 26.4.2 devices (iPad Air 11-inch M3 and iPhone 17 Pro Max). App Setup: Expo SDK 54.0.0 React Native 0.81.0 Built with Xcode 26 (macos-sequoia-15.5-xcode-26.0 image on EAS) Bundle ID: com.perfktmusic.app Crash Details from Apple's crash log: Exception: EXC_CRASH (SIGABRT) Termination: abort() called Faulting thread: com.meta.react.turbomodulemanager.queue Stack trace shows: __pthread_kill -> pthread_kill -> abort -> __abort_message -> demangling_terminate_handler -> _objc_terminate -> std::__terminate -> __cxa_rethrow -> objc_exception_rethrow The crash occurs in the TurboModule manager queue. The app does NOT crash on iOS 25 or any prior public release. What I have tried: newArchEnabled: true newArchEnabled: false buildReactNativeFromSource: true UIDeviceFamily: [1] (iPhone only) Multiple S
Replies
0
Boosts
0
Views
76
Activity
1w
Reply to Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device.
Thanks for the post, there are many Apple Watch engineers that I’m just they’ll jump into the thread, however this question seems like how to start with Apple Watch development and pair the Apple Watch to Xcode. When an Apple Watch fails to appear as a development device in Xcode, the issue usually stems from the wireless pairing bridge between Xcode, the iPhone, and the Watch, or a missing Developer Mode toggle. On the iPhone go to Settings → Privacy & Security → Developer Mode and toggle it on. On the Apple Watch go to Settings → Privacy & Security → Developer Mode and toggle it on. Both devices will require a restart. Connect the paired iPhone to your Mac via a physical cable. In Xcode, go to Window → Devices and Simulators. Select your iPhone in the left sidebar. Look at the Paired Watches section. If the Watch is listed but has a yellow warning triangle, hover over it. It may say Preparing device for development. If you have successfully completed all the steps
Replies
Boosts
Views
Activity
1w
Reply to SwiftData with CloudKit Error: Error updating background task request
Thanks @DTS Engineer I have created a feedback FB22670187 It contains a sample project and also attached a video Run it on a real device The video shows the log being generated on Xcode. Look at the subsystem of the log, it is from com.apple.cloudkit It contains details about the fault and how to reproduce it.
Replies
Boosts
Views
Activity
1w
Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device.
Xcode 26.4.1, iOS 26.4.2, watchOS 26.4, Apple Watch Ultra 3 not appearing as development device. Can't do any IWatch development
Replies
3
Boosts
0
Views
149
Activity
1w
Reply to CLLocationManager permission prompt never appears in Swift Playground
@Marka99 Welcome! Thank you for the post. I believe developers are referring to samples where you can observe how to implement that functionality. https://developer.apple.com/tutorials/sample-apps Also videos are very helpful in my opinion: https://developer.apple.com/search/?q=CLLocation Swift Playgrounds App projects fully support Core Location. Because they compile into real application bundles, they behave exactly like apps built in Xcode. You must provide a Usage Description string. In Xcode, this is done in the Info.plist. In Swift Playgrounds, this is done in the App Settings. If this string is blank, the prompt will never appear. The CLLocationManager instance must be strongly retained in memory. If you declare let manager = CLLocationManager() inside .onAppear, the manager is destroyed the moment the .onAppear closure finishes executing. Do not call startUpdatingLocation() immediately after requesting authorization. Instead, wait for the delegate to confirm you have permission. Albe
Replies
Boosts
Views
Activity
1w