I attempted to reset the Watch SE, which is currently running 10.6.1 and enrolled in Beta updates. My iPhone is updated to 18.2, but the Watch app isn't showing any available updates.
Apple Developers
RSS for tagThis is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi everybody,
My team and I are currently working on an app that requires us to use localizations for the CFBundleDisplayName property in info.plist. However we are running into some issues ourselves, we need to localise the CFBundleDisplayName property for two specific countries:
Netherlands
Belgium
We've tried to use the String catalog and we've added the corresponding languages/regions there:
nl-BE (CFBundleDisplayName = x)
nl-NL (CFBundleDisplayName = y)
However the nl-BE localization does not seem to be used when changing the device language to Dutch (Belgium). It uses the nl-NL (y) value for the CFBundleDisplayName.
Is it possible to use CFBundleDisplayName localizations for specific regions that use the same language? such as Belgium and the Netherlands. If not I fear that we need to build two apps...
Здравствуйте я хочу стать тестировщиком приложений App Store
Topic:
Community
SubTopic:
Apple Developers
Hello,
I use Navigationstack in the first and second views. In this case, the second view is executed immediately and then disappears.
Is there a solution?
The code is as follows.
device = i-phone
struct ContentView: View {
@State var path: [String] = []
var body: some View {
NavigationStack(path: $path) {
VStack {
Text("Screen1")
Spacer()
Button(action: {
path.append("2nd")
}, label: {
Text("go to 2nd Screen")
})
}
.navigationDestination(for: String.self) { s in
if s == "2nd" {
let _ = print("1st screen nav path(1) = \(path)")
SecondScreen(path: $path)
let _ = print("1st screen nav path(2) = \(path)")
}
}
.onAppear {
print("1st screen on appear")
print("1st screen path = \(path)")
}
.onDisappear {
print("1st screen on disappear")
print("1st screen disa. path = \(path)")
}
.padding()
}
}
}
struct SecondScreen: View {
@State var path2: [String] = []
@Binding var path: [String]
var body: some View {
NavigationStack(path: $path2) {
VStack {
Text("2nd Screen is loaded")
Spacer()
Button(action: {
path2.append("3rd")
}
, label: {
Text("go to 3rd Screen")
})
Button(action: {
path2.removeLast()
}
, label: {
Text("back to 1st Screen")
})
}
.navigationDestination(for: String.self) { s in
if s == "3rd" {
// Text("3rd")
thirdScreen()
} else {
thirdScreen()
}
}
}
.onAppear {
print("2nd screen on appear")
print("2nd screen path = \(path)")
print("2nd screen path2 = \(path2)")
}
.onDisappear {
print("2nd screen on disappear")
print("2nd screen path = \(path)")
print("2nd screen disa. path2 = \(path2)")
}
}
}
struct thirdScreen: View {
var body: some View {
VStack {
Text("3rd Screen")
}
.onAppear {
print("3rd screen on appear")
}
.onDisappear {
print("3rd screen on disappear")
}
}
}
Topic:
Community
SubTopic:
Apple Developers
Hi! I am a 3rd year accounting student trying to install an SAP gui onto my brand new Macbook Air. Every time I download the app, it refuses to open and pops up with this error.
"CODESIGNING 1 Taskgated Invalid Signature"
I have Java installed for it and have followed my professor's directions, so it should be working. Can someone help me?
Topic:
Community
SubTopic:
Apple Developers
Hi !
I am trying to insert interstitial ads in my app with facebook ads.
I found app id, placement id and when I am running my app I have the following error :
Interstitial ad failed to load with error: Error Domain=com.facebook.ads.sdk Code=1001 "No fill" UserInfo={NSLocalizedDescription=No fill, FBAdErrorDetailKey={
msg = "No fill";
}}
Could you help me ?
Phone application is crashing every time I try to update WhatsApp has contact saved on my Iphone12, why?
Mobile phone crash report from settings
linkText
Click on update contact option and you will redirect to review and update page without any data visibility.
On clicking this update button, app crashes instantly.
Hi Apple Team & Everyone,
Can someone guide me why sending 'diskutil eraseDisk APFS "WIPED" GPT /dev/disk0' command via terminal to remove/wipe the main physical drive (disk0) is failed?
I tried booting into recovery mode, but it still didn’t work. The command returned the following error:
Started erase on disk0
Unmounting disk
The volume on disk0 couldn't be unmounted because it is in use by process 0 (kernel).
Error: -69877: Couldn't open device
I understand that we can use Disk Utility (GUI) to unmount and erase the drive. Is it possible to perform this operation via Terminal to erase disk0?
I would appreciate any guidance on this.
Regards,
Winson
I have two simple tests initially triggered by a title of a game setting: "Highest score Wins" or rule.hasSuffix("wins."). The code in both cases looks for the highest score and in the latter case checks to see if a target score has been achieved. This work fine. But when I display the final results, the first works fine and the latter fails to display the name; defaulting to the No One Wins - which is incorrect. The relevant pieces of the code are:
case rule == "Highest score Wins":
// Find the highest score
let maxScore = scores.max(by: { $0.1 < $1.1 })?.1 ?? 0
let topScorers = scores.filter { $0.1 == maxScore }
gameIsDraw = topScorers.count > 1
winner = topScorers.count == 1 ? topScorers.first?.0 : nil
// This work and will display the winner name correctly - see below
case rule.hasSuffix("wins."):
// "Player to reach X wins."
let topScorers = scores.filter { $0.1 >= target }
if !topScorers.isEmpty {
let maxScore = scores.max(by: { $0.1 < $1.1 })?.1 ?? 0
let topScorers = scores.filter { $0.1 == maxScore }
gameIsDraw = topScorers.count > 1
winner = topScorers.count == 1 ? topScorers.first?.0 : nil
// This works but does not display the name
//This is the section that displays the names (winner)
if gameIsDraw {
Text("The Game is a Draw")
.font(.largeTitle)
.bold()
.foregroundColor(.orange)
} else {
Text("Game Over!")
.font(.largeTitle)
.bold()
Text("\(winner?.playername ?? "No One") Wins!")
.font(.title)
.foregroundColor(.green)
}
I have tried everything, but am losing the will to live
Topic:
Community
SubTopic:
Apple Developers
I am trying to install macOS Big Sur on my VM. It gets stuck on “About 14 minutes remaining ”Does anyone know how to get past it?
I updated to Beta 18.3 since then I have not received any email to my MAIL account anyone else had this problem and if so how to rectify
Team, I am seeing following crash with no trace of evidence to reproduce the crash.
Any ideas how to reproduce this/ do potential fixes?
Application Specific Information:
*** Terminating app due to uncaught exception 'b'MACH_EXCEPTION_TYPE: Unknown type:999'', reason: 'b'Unknown Type:999/code:999''
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00001d9b951d4 0x1d9b89000 + 49620
1 libsystem_c.dylib 0x0000191587ad8 0x191510000 + 490200
2 libc++abi.dylib 0x0000211b0d5b8 0x211afa000 + 79288
3 libc++abi.dylib 0x0000211afbbac 0x211afa000 + 7084
4 libobjc.A.dylib 0x0000186ae6e14 0x186ab4000 + 208404
5 libc++abi.dylib 0x0000211b0c87c 0x211afa000 + 75900
6 libc++abi.dylib 0x0000211b100ac 0x211afa000 + 90284
7 libobjc.A.dylib 0x0000186ae2650 0x186ab4000 + 190032
8 CoreFoundation 0x00001897c8934 0x189776000 + 338228
9 GraphicsServices 0x00001d57a81c4 0x1d57a7000 + 4548
10 UIKitCore 0x000018c32eeb0 0x18bf5c000 + 4009648
11 UIKitCore 0x000018c3dd5b4 0x18bf5c000 + 4724148
12 Chase 0x00001032d98e0 main + 5789920 (main.swift:29)
13 ?-?-? 0x00001af1b6ec8 0x0 + 0
Hi Apple Developers!
I’m using the DetectBarcodesRequest function to identify QR codes in some images and PDFs.
However, I’m facing an issue where the function doesn’t detect the barcode on certain documents and machines, while it works on others using the same document.
The only common factor I’ve noticed is that the machines that successfully identify the QR code of the “problematic” document are all heavy developer machines that have Xcode installed. Interestingly, this doesn’t seem to be related to processor type (Intel vs. Apple Silicon).
Could you please provide some guidance or leads on how to resolve this issue?
Apple TV
Samsung TV
SONOS Soundbar + S1 stereo speakers
Apple TV Preferences
Sound output = SONOS soundbar
Samsung Preferences
Sound Output = SONOS HDMI eArc soundbar
start with Apple TV movies and as I switch from movie to movie, sound comes out stereo as it should
however when I switch to Netflix or YouTube TV with stereo content, sound comes out mono .. until I manually change the ATV Preferences to stereo.
As ong as I stay with Netflix content, stereo output. But change to YouRube TV or ATV, it automatically changes to mono.
?????
Topic:
Community
SubTopic:
Apple Developers
When dealing with SwiftUI and searchable modifier, I know you can use URL or hard code data to search when building projects in Xcode.
I am looking to see if you can use a txt file as a way or storing string data of lists to search from when your device is offline when using the search modifier. Then when connected to internet you can update the search with url connection that then updates the txt file so you can do new searches the next time you are offline again.
Is this something that is possible?
I am trying to connect to my openbsd server. The command works over local network (I am identified by public key) but fails over remote network.
I get the following error :
$ ssh -vvv sylvain @ saboua.xyz
OpenSSH_9.8p1, LibreSSL 3.3.6
...
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug3: channel_clear_timeouts: clearing
debug1: Connecting to saboua.xyz port 22.
ssh: connect to host saboua.xyz port 22: Operation timed out
A solution I gues would be to use brew's LibreSSL 4.0, but I cant find how to use it instead of the system LibreSSL.
Topic:
Community
SubTopic:
Apple Developers
The issue occurred on a macOS device where nsurlsessiond consumed excessive data (75GB+) while Microsoft Office was installed. No active usage was involved. The issue stopped after uninstalling Office. To reproduce: Install Office, monitor nsurlsessiond via Activity Monitor for high data usage.
Topic:
Community
SubTopic:
Apple Developers
A
a group of hackers have been illegally accessing my iPhone, all my accounts on my phone, my online university portal, all my stored passwords, and my iCloud. I have changes to my iPhone that I did not do. No one has had access to my iPhone other than myself. I have been dealing with these hackers for five+yrs. they have locked me out of my accounts for several years by changing all my login information. They have disabled my laptop and they have reset my previous phone remotely. I was sent a message from my provide t-mobile that they locked
my phone due to someone trying to remotely reset it. Now I am dealing with the same people again. My iphone heats up tremendously, my battery drains constantly, I cannot access my accounts because they are changing my passwords, and now they have disabled access to my sim.
Topic:
Community
SubTopic:
Apple Developers
I am trying to move my home directory to a secondary drive, but I am running into to two issues.
When I try to do it via Finder I get the error - The operation can’t be completed because “<my account name>” needs to be downloaded. And when I try to do it via the terminal in recovery mode (after mounting the Data directory), It seems to copy a set of directories within ~/Library/Daemon Containers/. These appear to be snapshots of some sort, which when cp runs, end up taking up the entire drive of the target drive, which is 4 times larger than my base volume.
Two questions:
Why I am getting the message via finder (and how do I get around it?
What is the correct process for moving the home directory to a second drive?
Thanks!
My main app is CardView based w/programmatic navigation.. My secondary app is a nice EventListView w/programmatic navigation. Both are functional with no errors.
I want to add an event list to my CardView app but the appearance is all wrong. See image. The blue swirl at bottom is all of my List that appears.
I can post images of code, if needed.
My question is this - can I combine CardViews and ListViews?
Topic:
Community
SubTopic:
Apple Developers