When I use Xcode to develop the apps, the connection to my own Apple Watch is failed. The simulator has been downloaded, but it still displayed"watchOS10.0 Not Installed". The developer options were opened, I click the"trust this computer" but it always display"Connecting to *** Apple Watch". My iPhone can be connected normally.
Xcode
RSS for tagBuild, test, and submit your app using Xcode, Apple's integrated development environment.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
for instance:
po [NSBundle mainBundle]
0x0000600002130000
p [NSBundle mainBundle]
(NSBundle *) 0x0000600002130000
p [[NSBundle mainBundle] bundlePath]
error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=1, address=0x0).
The process has been returned to the state before expression evaluation.
I am in debug mode
Unable to Submit iOS App for App Review Due to Incorrect Beta Xcode Error
I'm encountering an issue when trying to submit a new build of my iOS app to the App Store. The app launches from TestFlight without any problems, but when attempting to submit it for App Review, I get the following error:
"This build is using a beta version of Xcode and can’t be submitted."
However, I'm not using a beta version of Xcode. I've tested this with both the public releases of Xcode 16.3 and 16.2.
The build logs show no issues with the SDK or Platform versions, but in App Store Connect, the metadata is displaying the following:
Build SDK: $(SDK_PRODUCT_BUILD_VERSION)
Build Platform: $(PLATFORM_PRODUCT_BUILD_VERSION)
any suggestion would be greatly appreciated!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi, I'm currently facing an issue where my React Native app crashes only on a real iPhone. On the simulator and in Xcode preview, the app runs fine.
Previously, I had an issue with FlatList regarding props.getItem, which I solved by installing some missing Babel dependencies. After that, everything worked correctly in the simulator.
But when I try to open the app on a real device, it shows the splash screen and crashes immediately. I've already done a full clean and reset, including:
npx react-native start --reset-cache
Deleted node_modules and Pods, reinstalled everything
Cleaned build folder via Xcode
Deleted DerivedData
Restarted Metro bundler and simulator/device
The issue only happens on the physical device.
Here’s a portion of the crash log
IDate/Time: 2025-04-14 19:11:28.6796 -0300
Launch Time: 2025-04-14 19:11:28.5292 -0300
OS Version: iPhone OS 18.3.2 (22D82)
Release Type: User
Baseband Version: 4.20.03
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: JazminChebar [1973]
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x19a0865fc __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x197601244 objc_exception_throw + 88 (objc-exception.mm:356)
2 JazminChebar 0x1009b2c04 RCTFatal + 568 (RCTAssert.m:147)
3 JazminChebar 0x1009c81f8 __28-[RCTCxxBridge handleError:]_block_invoke + 532 (RCTCxxBridge.mm:1178)
4 libdispatch.dylib 0x1a1e19248 _dispatch_call_block_and_release + 32 (init.c:1549)
5 libdispatch.dylib 0x1a1e1afa8 _dispatch_client_callout + 20 (object.m:576)
6 libdispatch.dylib 0x1a1e29a34 _dispatch_main_queue_drain + 984 (queue.c:8093)
7 libdispatch.dylib 0x1a1e2964c _dispatch_main_queue_callback_4CF + 44 (queue.c:8253)
8 CoreFoundation 0x19a0d2bcc CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1793)
9 CoreFoundation 0x19a0cf1c0 __CFRunLoopRun + 1996 (CFRunLoop.c:3163)
10 CoreFoundation 0x19a121284 CFRunLoopRunSpecific + 588 (CFRunLoop.c:3434)
11 GraphicsServices 0x1e73914c0 GSEventRunModal + 164 (GSEvent.c:2196)
12 UIKitCore 0x19cc6a674 -[UIApplication _run] + 816 (UIApplication.m:3846)
13 UIKitCore 0x19c890e88 UIApplicationMain + 340 (UIApplication.m:5503)
14 JazminChebar 0x100178708 main + 80 (main.m:7)
15 dyld 0x1c037dde8 start + 2724 (dyldMain.cpp:1338)
I'm experiencing an issue with a custom font not loading properly in Xcode 16.3. The font files are included in the bundle, listed in Info.plist, and verified for correct names using UIFont.familyNames, but they still don't appear at runtime. Has anyone else run into this with Xcode 16.3? Could this be related to recent changes in asset packaging or font catalogs?
My app uses the top navigation panel which contains the back button, a title, and prompt. On an actual device, the navigation area is light and shows all three items. On the simulator, the navigation area is black and only the back button is shown.
I need this to be correct for app store screen shots.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I’m experiencing an issue in Xcode 16 where the app randomly builds and runs in the simulator while I’m designing items in the storyboard.
Here’s what I’ve tried so far to stop this behavior:
Disabled "Show Live Issues" in the General settings
Removed all key bindings related to Build & Run in the Key Bindings settings
Checked for unintentional shortcut triggers, but nothing seems to be causing it
Update XCode from 16.1 to 16.2
Delete Derived Data
Despite these actions, Xcode still automatically builds and launches the simulator at unexpected times, disrupting my workflow.
Is there any setting or hidden configuration that could be causing this?
How can I completely prevent Xcode from running the simulator automatically while editing UI in the storyboard?
Would really appreciate any guidance on this!
Hello! I am writing UI tests for an app with OAuth authentication and want to avoid the login screen. I want each developer to store the password and username locally on their machines. The bash script will get the token. I need to access that token from my test target somehow. The idea was to write them to a temporary file that git ignores and access this file from the bundle. But I can't add the file from the build script to the target and make it accessible from the code.
I have been wanting to make a mobileprovision file and a p12 file, how do i make these files but using only ipad?
I am creating an xcframework for a static library for iOS, but I am encountering a perplexing issue with Xcode 16.3.
When I build an xcframework using C++ in one project and import it into another project, the application runs with corrupted memory. In the framework project, I use os_unfair_lock, but when attempting to lock, the app crashes due to a state error. This suggests that memory corruption is occurring.
When the xcframework is built with Xcode 16.2, a proper binary is generated, and the app runs without any problems.
Since I do not want to disclose the source code, I am trying to construct a minimal project that reproduces the issue, but so far I have not been successful.
Fundamentally, I feel that the compiler in Xcode 16.3 cannot be trusted.
I have an iOS app and that has CarPlay enabled. I have Siri capability and the feature has been tested in Car. The voice commands are working perfectly fine.
However, I am facing a weird issue as described below,
The key NSSiriUsageDescription, is set to custom text in info.plist. After generating archive, I exported and checked the package contents, in which the the key NSSiriUsageDescription was reset to default text(Describe why your app needs Siri access) in the info.plist.
I do not have any dynamic build process that's writing to the info.plist. Only the Siri key is being reset, rest of keys like camera/location permissions are intact.
Kindly suggest what needs to be done at my end
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Siri and Voice
App Intents
Organizer Window
Privacy
In app purchase is not executed in ios while i run the code in xcode 16.3
But it's working fine in Xcode 16.0.
There is no proper error message or any alerts showing. It just returns an empty product identifier.
Provide the me the solution or kindly fix the issue in xcode IDE regarding this issue in latest xcode
I've got a 2019 Intel iMac running Sequoia 15.4.1 and Xcode 16.3. Every time I try to view a storyboard Xcode locks up and beachballs on me. It takes minutes to load the file. When I force-quit Xcode, the report that shows up has this as the reason:
Processes reached dispatch thread soft limit (64): launchd_sim [96305] [unique pid 194673], launchd_sim [96260] [unique pid 194628]
Deadlock: AppleSpell [1494] thread 0x1df0c4 DispatchQueue 313 -> AppleSpell [1494] thread 0x1df0c4 DispatchQueue 313
Deadlock: AppleSpell [1494] thread 0x1df114 DispatchQueue 86 -> AppleSpell [1494] thread 0x1df114 DispatchQueue 86
Blocked by Deadlock: 1 task - AppleSpell [1494]
I'm wondering, why is AppleSpell trying to spell-check a plist file?
Is there any way to tell AppleSpell to ignore a file?
Xcode 16.3 simulator slow to load - unusable
Ok, I have a bit of special problem. I want to use the "Swift Upcoming Feature Flags" in my packages.
The problem is that we have quite a lot of Packages in a quite deep tree:
at the root of the Package directory there are four dirs:
AppA/
AppB/
Shared/
Temporary/
also the packages ExternalLibs and BuildPlugins. Temporary contains Packages that need rework and the other three subdirs each contain the subdirs:
Features/
Utilities/
Services/
All in all there are over 100 packages.
Now I would like to use definitions like https://github.com/treastrain/swift-upcomingfeatureflags-cheatsheet to use in the Package.swift files. And as you might guess, I do not want to copy those into each and every Package.swift file.
It seems like SPM is only finding includes by itself if they are in the exact same directory as the Package.swift file 🙄 That's not at all helpful…
Has anyone found a way to do useful includes into Package.swift files? Any help appreciated.
Thank You
Roddi
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have one of our developer when he attempts to login to xcode on his macos device, he get a message that account is not found but he has an account and he logs in to app developer portal with no issue. Thanks
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have a valid dev certificate and created a valid provisioning Profile.
I have added the Device UDID too , which I can see in provisioning Profile too.
In XCode-16 both certificate and provisioning Profile looks good and no issue here with the expiration date too.
Issue -
While running the app on my iPhone connected to Mac.its shows the build is successful but shows the followinf errors .
An IPA of APP failing the installation.
Unable to install the App
`A valid provisioning profile for this executable was not found.
Domain: com.apple.dt.MobileDeviceErrorDomain`
Neither a google search, nor a search of the Apple forums give me a clue as to how to locate or fix the following message I get from Xcode.
CLIENT: Failure to determine if this machine is in the process of shutting down, err=1/Operation not permitted
This error message came from attempting to build and execute an iOS App which ran just fine the last time I built it. Now, that was actually a little over two years ago. This is an iOS app, which I've run successfully for more than a year on macOS, and that, "My Mac (Designed for iPad)", is what my build target for this run was.
Any ideas? Anyone?
If this is a "known condition", just why doesn't a friendly internet search or a search of the Apple forums NOT tell me what it means, or what causes the message.
Of course, I've upgraded the OS a few times, and updated Xcode as well, but have just not had any time to monkey around with my pet code project. Now that I've gotten some time, and I want to see what's new since March of '23, I finally remember where I stashed my code repository and decided to take it for a spin.
Sure, I expect(ed) to see Xcode tell me that the version of Swift has been updated, and maybe some code constructs need to be fixed. But, NO, the code compiles fine.
The first build attempt told me that I needed to update my provisioning profiles, and sign-in and agree to the updated developer agreements, which I did.
Not so unhelpful was the code window in the debugger:
libswiftCore.dylib`swift_willThrow:
-> 0x1aeb7b2a0 <+0>: pacibsp
0x1aeb7b2a4 <+4>: str x19, [sp, #-0x20]!
0x1aeb7b2a8 <+8>: stp x29, x30, [sp, #0x10]
0x1aeb7b2ac <+12>: add x29, sp, #0x10
0x1aeb7b2b0 <+16>: adrp x8, 365651
0x1aeb7b2b4 <+20>: add x8, x8, #0x88 ; _swift_willThrow
0x1aeb7b2b8 <+24>: ldapr x8, [x8]
0x1aeb7b2bc <+28>: cbnz x8, 0x1aeb7b2cc ; <+44>
0x1aeb7b2c0 <+32>: ldp x29, x30, [sp, #0x10]
0x1aeb7b2c4 <+36>: ldr x19, [sp], #0x20
0x1aeb7b2c8 <+40>: retab
0x1aeb7b2cc <+44>: mov x0, x21
0x1aeb7b2d0 <+48>: mov x19, x21
0x1aeb7b2d4 <+52>: blraaz x8
0x1aeb7b2d8 <+56>: mov x21, x19
0x1aeb7b2dc <+60>: b 0x1aeb7b2c0 ; <+32>
Still not much to go on.
I decide to see if it was a macOS vs. iOS issue, so did a clean build folder and tried running on an iPad simulator, "iPad (10th generation)".
Now, I have a blank white screen on my simulator and not much to go on in the code window.
import SwiftUI
@main
struct JottoApp: App { Thread1: Breakpoint 1.1
var body: some Scene {
WindowGroup {
ContentView()
}
}
init() {
UITableView.appearance().backgroundColor = UIColor.clear
}
}
Any and all help with this error message will be appreciated.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Apple could not verify “iPad_Air_M2_26.0_23A5260n_Restore.ipsw” is free of malware that may harm your Mac or compromise your privacy.
xCode 26 fails to download simulators. I downloaded from the apple developer site. When I double click I get the above message. I went to the System Settings > GateKeeper, and selected Open Anyway.
This poped up a window with a button, Open in xCode-bata.
Clicking the button does not appear to do anything.
I can not use xcode without simulators.
At the last place I worked it took roughly 5 minutes to do an application build. Which in turn made doing any sort of TDD or ever just regular Unit Tests extremely painful to do as the cycle time was simply too long.
But that got me thinking.
In recent versions of Xcode, Apple added Previews for SwiftUI Views that basically showed code changes to the View in real time. And Previews were made possible by extremely targeted compilation of the view in question.
So... what if instead of a Preview pane in the Xcode IDE there was a Test pane the could be displayed such that Tests for a piece of code could be created and run almost immediately?
Perhaps by adding a #Testing section to your code
#Testing(MyService.self) // Define the entity to be tested.
If you could drop the turnaround time AND provide a test playground for service level code that could speed development of such code greatly... and encourage interactive test development at the same time.
What do you think?