159,743 questions
0
votes
0
answers
20
views
SMAppService fails with "Operation not permitted" despite correct entitlements and plist configuration
I am building a macOS SwiftUI app from scratch that needs to install a privileged helper tool using SMAppService. I have followed Apple's documentation and sample code ("...
0
votes
0
answers
15
views
How can i upload a watchOS App Archive to app store connect? [closed]
I developed an independent watchOS App and archive it in Xcode. But I can't click the "Validate App"
enter image description here
and when I choose "Distribute App", there is no ...
0
votes
0
answers
30
views
React Native 0.82 iOS linker error: Undefined symbols for architecture arm64 (unsafeExecuteOnMainThreadSync )
I’m migrating an existing React Native app to React Native 0.82.x.
Android builds and runs fine, but iOS fails at the link step with the following error:
Undefined symbols for architecture arm64:
&...
0
votes
1
answer
29
views
iOS App Group Data Not Accessible from Watch App in Companion App Setup
I have an iOS app with a WatchKit target (companion app). Both the iOS app and Watch app have the App Group capability enabled. I am trying to share data between the iOS app and Watch app using a ...
-1
votes
0
answers
29
views
Xcode debugger stops at dyld after upgrading to Xcode 26 [closed]
After upgrading to Xcode 26, started getting an issue where Xcode debugger is stopping at dyld`lldb_image_notifier
Does not happen on device. Tried cleaning derived data folder, clean build but no ...
1
vote
0
answers
41
views
Error running application, ”request was denied by service delegate” [duplicate]
I am getting this error after my application installs on IOS Simulator then it fails to launch the application on it.
It seems the app is crashing just after launching and my mac or simulator are ...
0
votes
0
answers
16
views
SwiftSupport not being added [duplicate]
I am building an iOS app on Flutter that is using .so file if that's relevant and whenever I try to distribute the app, I get this error from App Store Connect:
ITMS-90426: Invalid Swift Support - ...
0
votes
0
answers
21
views
Kotlin Multiplatform: Incompatible 'embedAndSign' Task with CocoaPods Dependencies in Xcode
I have a Kotlin Multiplatform Mobile project (KMP) targeting Android + iOS. My setup:
Kotlin version: 2.2.21
Kotlin Multiplatform plugin: 2.2.21
CocoaPods plugin in build.gradle.kts:
plugins {
...
1
vote
1
answer
41
views
Installing R package using devtools: fatal error: 'iterator' file not found
I’m trying to install an R package (specifically tess3r) using devtools. I keep running into this ‘iterator’ file not found error. I am using R version 4.3.1 (I know it’s not the latest version, I’ve ...
-2
votes
0
answers
24
views
Promotion offer purchase error | An unknown error occurred | SKErrorDomain 0 | ASDErrorDomain 3903 | AMSErrorDomain 305
Env:
Already working application that has working subscriptions
Configured promotion offer and subscription key, but have not yet released the new app version
Synced .storekit file in Xcode. It ...
0
votes
0
answers
94
views
Issue building iOS after upgrading React Native from 0.76.9 to 0.79.6 (Bridgeless mode / AppDelegate.swift)
I’m currently facing an issue while upgrading my React Native app. I recently updated the project from React Native 0.76.9 to 0.79.6 to meet the Google Play Store 16KB memory page requirement.
The ...
Best practices
0
votes
0
replies
36
views
Can you confirm how we can omit the library reference in the child library, and enforce the container app to install those dependent linbraries
I am creating the React native application, where i have added the Google Map dependecy using Cocoapod. However i need to integrate a Native IOS library distributed using SPM which intenally is using ...
-2
votes
0
answers
29
views
Are the Xcode's Text Encoding and Line Endings broken? [closed]
I tried changing the encoding and line endings for .swift and .m files in my project — from LF to CRLF, and from UTF-8 to UTF-16. I wanted to use the ‘Text Encoding’ and ‘Line Endings’ attributes in ...
2
votes
1
answer
61
views
Did Xcode 26 remove the ⇧⌘↩ + hjkl layout shortcut after “Open Quickly”?
Before Xcode 26, I used to be able to:
Press ⇧⌘O to “Open Quickly” and search for a file.
Then hit ⇧⌘↩ (Shift–Command–Return) to open the layout menu.
Use hjkl (vim-style directions) to place the ...
2
votes
1
answer
160
views
SwiftUI preview not working in Xcode 26 when “Automatically Refresh Canvas” is enabled
After updating to Xcode 26, I’m no longer able to load SwiftUI previews in new projects. The preview pane shows the error:
Cannot preview in this file.
Interestingly, if I disable “Automatically ...
0
votes
0
answers
62
views
StoreKit Configuration Simulated Failure Options All Disabled
I have a question concerning Xcode version 26. Ever since I installed this version on my Mac I have been having trouble using the storeKit configuration file. The Storefront and Localization is ok, as ...
-4
votes
0
answers
22
views
How to add icon and tumbnail image in a macOS custom screensaver? [duplicate]
I have built a screensaver for mac in swift,but couldn’t find how to add an icon(the logo image that shows up on .saver file) and thumbnail(the cover image that shows up in the screensaver catalogue). ...
-3
votes
0
answers
42
views
Xcode error: “Expected a module name after 'import'” when running Flutter iOS app [closed]
When we add the plist file and try to run our Flutter project in iOS it shows this error:
Launching lib/main.dart on iphone17s in debug mode...
Running pod install...
Running Xcode build...
Xcode ...
Advice
0
votes
0
replies
51
views
Xcode 26 Shortcut keys for the Coding Assistant message box
Using Xcode 26 and macOS 26, I have the coding assistant open, and when I type questions, it frequently gives me completion suggestions. The issue is I can't figure out how to accept the next ...
0
votes
0
answers
39
views
UIImage not showing in Xcode Debug
When I try to check any UIImage, it doesn't show. I can see MTLTexture, but not UIImage. I can see images if I go to the older branch, but not the current branch that I am working on. How to fix this?
...
1
vote
1
answer
26
views
Parse Issue (Xcode): Module 'geofence_foreground_service' not found
Launching lib/main.dart on iPhone 16e in debug mode...
Xcode build done. 25,1s
Failed to build iOS app
Parse Issue (Xcode): Module '...
0
votes
0
answers
37
views
Cannot Upload App with com.apple.photos.background-upload EXExtensionPointIdentifier
I'm testing an app with the new background extension. Unfortunately, every time I try to upload to App Store Connect the process fails with the error below. Confirmed that both the extension and app ...
-2
votes
0
answers
38
views
Run an external program from within a custom Xcode build script
I'm handling the env config in my React Native project by copying either config.template_prod.js or config.template_preprod.js into config.js. This is a high risk operation since shipping preprod ...
0
votes
0
answers
23
views
Fastlane CI/CD build error: “fastlane ran into a build/archive error with your project” when using xcodebuild
I’m running a Fastlane pipeline for iOS app builds in CI/CD, and my build fails with the following log output:
INFO [2025-11-04 18:09:06.48]:
ERROR [2025-11-04 18:09:06.48]: Looks like fastlane ran ...
-3
votes
0
answers
56
views
How to get my iPhone to show up Xcode's list of devices [duplicate]
I have just updated my iPhone 13 and Mac mini to 26.1. I wanted to install one of my apps from Xcode onto the phone, but it wasn't happening. I kept getting "The tunnel connection failed while ...
-2
votes
0
answers
60
views
XCTest doesn't return the elements in navigation bar after iOS 26 upgrade
The buttons in the navigation bar are not available in the element tree after iOS 26 upgrade of the test phones. The same IPA version, the same XCode version, but different trees on different phones. ...
0
votes
1
answer
226
views
Strings Catalog in Xcode 26 with auto-generated symbols: device won't use correct language
I watched the talk at WWDC25 where Apple introduced the generated symbols feature for Strings Catalog.
Since I have just started a new project as my first iOS development experience (I come from 10+ ...
1
vote
1
answer
69
views
Xcode Can't Find swift-transformers Package
I'm trying to implement Speech-to-Text transcription in my Swift app using Hugging Face's swift-transformers package to run Whisper models locally.
I've added the package to my Xcode project, but when ...
0
votes
0
answers
24
views
React Native Project didn't connect to metro on IOS Physical device
I've successfully installed the application on my IOS device in which app is installed but didn't connect to metro but when I shake phone and open debug menu Connect to metro to debug JavaScript ...
0
votes
0
answers
21
views
Error after build EXPO app: ld: library 'Pods-SpendingPlanner' not found clang:linker command failed with exit code 1 (use -v to see invocation)
After using command to build my app: npx expo run:ios, I run into such error:
Compiling expo-camera Pods/ExpoCamera » ExpoCamera-dummy.m
› Packaging expo-camera Pods/ExpoCamera » libExpoCamera.a
› ...
0
votes
0
answers
85
views
Metal Toolchain Permission Error: "couldn't be opened because you don't have permission to view it" when trying to compile Rust GPUI project on macOS
I'm encountering a Metal Toolchain permission issue while attempting to compile a macOS desktop application using Rust and the GPUI framework. Although the metal tool file exists and is accessible, ...
1
vote
1
answer
64
views
Error with signing with Xcode for build ipa release
I've tried building my app with Xcode 16 for ipa release. For further context I tried to build in macos 12 but I couldn't because the SDK 18 isn't supported, so I updated to macos 14 and I had to ...
0
votes
0
answers
37
views
Xcode not showing syntax or compile errors in Development Pod (Flutter plugin)
The plugin is added to my Flutter app using a local development pod like this:
pod 'face_native', :path => '../face_native/ios'
Inside face_native/ios/ I have my .podspec file and several Swift ...
0
votes
0
answers
40
views
How to inspect structures like NSRect/NSSize using lldb?
I have previously used lldb to print structures like NSRect or NSSize of 3rd party processes without issues. But I am struggling in modern versions of Xcode to inspect them. Namely since the ...
0
votes
0
answers
38
views
How to handle background running mode of watch apps?
I'm developing a watch app bundled with an iOS app. I need to start a workout on the watch app and filter out specific data, such as heart rate, from the workout process. I'm a bit confused about the ...
1
vote
0
answers
66
views
Kotlin Multiplatform + Google Maps on iOS: Why do I still need .def file with SPM? Interop not working without cinterop
I am integrating Google Maps SDK for iOS into my Kotlin Multiplatform (KMP) project. Earlier I was using CocoaPods and everything was working. Now I migrated to Swift Package Manager (SPM) and removed ...
1
vote
0
answers
157
views
React Native Expo not working on iOS build with Expo 54
I'm trying to put together a project for iOS at Expo.
I run the following commands:
rm -rf node_modules android ios
npm i
there is my package.json:
{
"name": "firstapp",
&...
0
votes
1
answer
56
views
Is it possible to have `Find selected text in the active file (not workspace)` shortcut?
Is it possible to have Find selected text in the active file (not workspace) shortcut?
By default, command + F activate the local search in Xcode, however, a selected text won't be applied. I want ...
1
vote
1
answer
75
views
Can’t Debug background.js in Safari App Extension (Manifest V3)
I’m developing a Safari App Extension and I want to debug the background.js script.
However, I can’t find any tool or option to do this.
When I run the extension from Xcode using the ProjectName ...
1
vote
0
answers
24
views
Need flushed sidebar in iPadOS 26 and Xcode 26 [duplicate]
My SwiftUI app uses Splitview navigation with sidebar always flushed. Just upgraded to Xcode 26 and iPadOS 26 and my sidebar is now inset. Same code runs fine on iPadOS 18 (build with Xcode 26). The ...
1
vote
1
answer
51
views
Azure DevOps iOS pipeline fails during Xcode archive: “Signing for GoogleSignIn_GoogleSignIn requires a development team”
I’m trying to build and upload an iOS app to TestFlight using an Azure DevOps pipeline, but the build fails during the archive step with signing errors related to Swift Package dependencies (e.g., ...
-1
votes
0
answers
67
views
StoreKit Configuration option missing in Xcode scheme settings
I’m trying to set up StoreKit testing for in-app purchases in Xcode, but I can’t see the “StoreKit Configuration” dropdown when editing my app scheme under Run → Options.
What I see
There’s no ...
0
votes
1
answer
91
views
Why subdirectory in Bundle.main.url isn't working as expected
I have few resources files located at
/Users/xxx/yyy/markdown/markdown.css
/Users/xxx/yyy/onboarding_v2/Base.lproj/onboarding_v2.mp4
They are being organised in XCode as shown in the image.
I can ...
0
votes
0
answers
57
views
iOS 26 App Icon Rendition on iOS 18 - How to Stop? [duplicate]
When you build for iOS 26, app icons still have the iOS 26 Liquid Glass look when installed on previous iOS versions.
(First three apps seem to be compiled for iOS 26, but install on iOS 18)
After ...
-1
votes
0
answers
47
views
xcode after accepting git i cant reach project settings [duplicate]
like written above i cant see my settings in xcode project.
Before achieving my project Xcode asked me if I wanted to create a git repository, and I said yes, unfortunately. Where normally the settins ...
1
vote
0
answers
106
views
How to fix error: Fatal error: Cannot find the keyWindow. Make sure to call `window.makeKeyAndVisible()`.?
I have upgraded my expo and react native and now I am getting "EXDevLauncher/ExpoDevLauncherAppDelegateSubscriber.swift:8: Fatal error: Cannot find the keyWindow. Make sure to call window....
2
votes
1
answer
95
views
File Provider extension cannot access App Group container despite identical entitlement
I have a Tauri/Rust application with a native Swift File Provider extension. Both are configured to use the same App Group, but the extension cannot access the shared continer at all - it can't even ...
0
votes
0
answers
53
views
git sparse-checkout reapply leaves Xcode with many unstaged deleted files
I updated git sparse-checkout settings and ran git sparse-checkout reapply on an already cloned iOS project repository. git status shows that the working tree is clean, but Xcode shows many ...
1
vote
0
answers
81
views
Realm - Swift package target Realm is linked as a static library, but cannot be built dynamically
I have added Realm and Realm-Swift using SPM as dependencies to my project.
I get next error when building the app:
Swift package target 'Realm' is linked as static library by
'YourTarget' and 'Realm'...
-1
votes
1
answer
123
views
Why is iOS26 placing the detail view under the tableview in this splitview?
[![[3][After installing Xcode26 there is a new icon on the right side of the navigation controller in the storyboard that flows to the tableview right bar button. In the simulator it slides the ...