Hey,
I wanted to create a Mac-OS application. Normally I only code iPhone apps. But as soon as I want to display anything on the preview, it loads, just as normal, and then the throbber/progress indicator disappears and the preview canvas stays gray like it used to be before. I also don't get any error messages. Only one time after trying different things I got one message saying: "Could not launch Preview Shell." and "Could not create FBSOpenApplicationService." I also searched for a few solutions and tried some but none of them seemed to work. In the DiagnosticReports were some files of the time but I didn't seem to find anything helpful in there and they don't appear when I reopen my project or switch from PreviewMode "My Mac" to "iPhone 16 Pro".
When I launch the app on a simulator it works perfectly fine but this is quite annoying.
Thanks for trying to help me!
Dive into the vast array of tools, services, and support available to developers.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am trying to name my app "Tata Daewoo Mobility Service" but in app showing without space like 'TataDaewooMobilityService. In korean language not showing the space.
How to add the name in korean language with space in iPhone.
When I built my app with xCode16.2, the app crashed at runtime.
When building, I got a warning "UIWebView' is deprecated: first deprecated in iOS 12.0 - No longer supported; please adopt WKWebView.", so I suspected the dynamic actor isolation check.
When building, I tried setting the "-disable-dynamic-actor-isolation" flag, but the app still crashed.
However, I think the flag is not set properly, so how should I set the "-disable-dynamic-actor-isolation" flag?
I tried setting it as follows. Is this the correct way to set it?
Swift Compiler - Custom Flags
Other Swift Flags
Debug
Any Architecuture | Any SDK -disable-dynamic-actor-isolation
Release
Any Architecuture | Any SDK -disable-dynamic-actor-isolation
Topic:
Developer Tools & Services
SubTopic:
Xcode
After upgrading to XCode 16.2, I am not able to see apple watch in xcode. I was able to see in XCode 15.2.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hello,
My payment system works correctly when my backend is in sandbox mode, but when I submit my app for review, I get the following error:
VerificationException [Error]
at SignedDataVerifier.verifyNotification (/Users/---/node_modules/@apple/app-store-server-library/dist/jws_verification.js:126:19)
at SignedDataVerifier.verifyAndDecodeNotification (/Users/---/node_modules/@apple/app-store-server-library/dist/jws_verification.js:121:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///Users/---/src/api/routes/apple.routes.js:22:18 {
status: 2,
cause: undefined
}
Main Question
For Apple to approve in-app purchases, should I submit my app for review with the backend in sandbox mode or production?
Possible Causes of the Error
I would appreciate any suggestions on what might be causing this error and how to fix it.
Thanks in advance! 🚀
Was working ok, then after my latest attempt at submitting a .PKG it crashes right after displaying the list of previous submitted things.
This make it impossible to make progress with my project, unless there's another way of getting it to TestFlight (not using Xcode).
Transporter 1.3.2 on Intel Mac Sequoia 15.0
Bank account info update processing from more than 7 days
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Hello everyone, my iPhone keep on showing multiple "Trust this Computer" alert simultaneously which I cannot tap on it to Trust. As a result, I cannot run my XCode project on my device. Does anyone has any ideas or solutions to fix this ?
Solution I have tried:
Reset Location & Privacy
Reset Network Settings
Enable Developer Mode
Restart Device
My devices specs:
iPhone 15 Pro: iOS 18.2.1
Macbook Pro M3 Max: Sequoia 15.1.1
Topic:
Developer Tools & Services
SubTopic:
General
In my Swift app, Xcode has decided to put various important settings like, SWIFT_VERSION under "User Defined."
Does anyone know why?
Recently I decided to download my app from the App Store and found out that during the first launch some colors were missing or displayed incorreclty. For example one button was blue, although switching dark mode on and off solved button color it. Some colors were completely missing and the tab bar buttons were blue as well. Any advices?
I'm using iOS 18.2 and XCode 16.1
Is there any way to modify the behaviour of this command? I really dislike that it adds a break after the opening parenthesis and would also prefer it to use the traditional multi-line style where the lines are aligned with their semicolons.
Alternatively, is there a way to run the "Format File with 'swift-format'" command without implicitly triggering "Format to Multiple Lines", as it apparently does? Having to reformat my method's signatures afterwards really makes this feature unattractive to me at the moment.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I followed this guide, and added com.apple.developer.spatial-audio.profile-access as an entitlement to the app (via the + Capability button – Spatial Audio Profile). I have a audio graph that outputs to AVAudioEngine.
However, the Xcode Cloud build ended up with this error:
Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, key 'com.apple.developer.spatial-audio.profile-access' in 'Payload/…' is not supported.
This guide says it's available on iOS. Does it mean not on iOS 17? In which case how can I provide fallback for iOS 17?
I am experiencing significant delays with TestFlight Internal Testing processing in Xcode Cloud. The build has been stuck in the processing state for over 8 hours, which is significantly longer than our usual deployment time.
Issue Details:
Product: Xcode Cloud / TestFlight Internal Testing
Time in Processing: 8+ hours
Build Status: Stuck in "Processing for TestFlight Internal Testing"
Workflow Type: iOS App Distribution
Steps to Reproduce:
Triggered Xcode Cloud workflow for iOS app
Build completed successfully
TestFlight Internal Testing processing started
Processing has not completed after 8+ hours
Technical Information:
Xcode Version: Xcode 15.4
iOS App Target Version: iOS16.4
Attempted Troubleshooting:
Verified all certificates and provisioning profiles are valid and up-to-date
Confirmed the build was successful in Xcode Cloud
Checked that the app binary size has not changed significantly
Reviewed all workflow logs for potential errors or warnings
Is there a known issue with TestFlight processing times currently?
Are there any steps we can take to resolve or expedite this process?
Can you investigate if there are any specific issues with our build that might be causing this delay?
Please let me know if you need any additional information to assist with this issue.
App Information:
App Name:Simple Voice Recorder - Audio
Bundle Identifier: id6443528409
Thank you for your assistance in resolving this issue.
Best regards,
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Why as an IDE, many developers want to use the functions are not available, such as code formatting, if the function is not available, why not even a plug-in center, I have been using IDEA for code development, with Xcode development, feel very inconvenient to use
I have downloaded xcode version 14.2 from apple official archive. I ran xcode using these steps:
Right click -> Show Package content
Go to folder Contents -> Macos -> Xcode
Run the xcode terminal app
After this as soon as I try to open a project, xcode crashes. How do i run xcode of lower version as that specific version is required, I don't want to downgrade my macos as it will result in clearing my data or I have to transfer data.
Please help me with this issue.
The ESP-Homekit-SDK tool provides the payload. How do we convert it into the actual QR image with the artwork?
We have already checked the handbooks but couldn’t find any tool to generate the QR code with actual artwork. I can only see the "Setup Code Sizing and Placement" guidelines for it.
Hi,
I am looking for a way to implement X-day free trial and then the feature would be locked. User should purchase the in app purchase to unlock the feature after trial period if they wish to continue to use it.
From the older post, I can see other people suggest non-consumable tier-0 IAP will should cost nothing. From app store connect, I am not able to find 0 dollar as an option.
I can see in apple's storekit documentation. There are officially a free trial subscription. I don't believe this can fit in my use case.
Is anyone still able to create free in app purchase ?
six months have passed since I bought this iPhone 13. till 3 months it was having the battery health of 100% but now it is draining rapidly. It drained to 99% in November.at the beginning of December it was 98%. on 23 December 97% and now on new year its 96%. can anybody tell me why ?
Why are asynchronous tasks not executed in Xcode Canvas, and why do they only work in the simulator?
Hi everyone, I'm new to Xcode and iOS development. I've encountered an issue where asynchronous tasks seem to not execute in Xcode Canvas, but they work fine in the simulator. Can anyone explain why this might be happening or what I could do to fix it? Thank you for your help!
struct PartnerProfileView: View {
@State private var showSheet: Bool = true
let partnerName: String
var body: some View {
ZStack(alignment: .bottom) {
Color("EFEFF4_0F2534")
ScrollView(showsIndicators: false) {
headerSection()
infoSection()
.padding(.bottom, 5)
sectionTitle("Other Skills")
skillsGrid()
sectionTitle("···")
dynamicsSection()
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
CustomTabBar()
}
.navigationBarHidden(true)
.ignoresSafeArea(edges: .all)
.onAppear {
print("PartnerProfileView received")
Task {
await BottomCustomPopup().present()
}
}
.onChange(of: showSheet) { oldState, newValue in
print("oldState \(oldState)")
print("newValue \(newValue)")
}
}
}
//@MainActor
struct BottomCustomPopup: BottomPopup {
var body: some View {
HStack(spacing: 0) {
Text("Hello World")
Spacer()
Button(action: { Task { await dismissLastPopup() }}) { Text("Dismiss") }
}
.padding(.vertical, 20)
.padding(.leading, 24)
.padding(.trailing, 16)
}
}
Here is my sample code of integration with iCloud
let dbName = "GroceryItem1"
let fieldName = "todoTitle1"
@objc func saveItem(name: String) {
let record = CKRecord(recordType: dbName)
record.encryptedValues[fieldName] = name
database.save(record) { record, error in
if error == nil {
DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
self.fetchItems()
}
} else {
print("Error saving item: \(error?.localizedDescription ?? "Unknown error")")
}
}
}
Now my code works fine but what i don't understand is when i login to icloud.developer.apple.com why am i able to see the data, why is it not encrypted?
My database is private as well
If i go to record types i can see the recordfield is encrypted as shown in below screenshot