I have the 'warnings as errors' policy set to Yes for Apple Clang and Swift compiler.
As far as I know, there is no way to make exceptions to the warning policies from Swift compiler (correct me if I am wrong), what about Clang warning policies, specifically when it comes to header files from 3rd party pods? They don't show up on the Compile Sources so I can't apply flags such as -Wno-error=deprecated to them. Adding #pragma GCC... to them won't help as a fresh pod install will wipe the #pragma statements out.
Is there a way to exclude the header files from pods from getting the warning policies from Clang so I won't see errors from them when compiling Clang modules that's a part of the build process?
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
Xcode 16.2 archive fails to compile XIB
Xcode Archive command fails most of the time while compiling an XIB which was created in older Xcode.
XIB was updated in Xcode 16.2 version also which did not fix this issue.
Archive from Xcode app works but Xcode build command fails and no reason shown by the command.
** ARCHIVE FAILED **
The following build commands failed:
CompileXIB /Users…/Resources/Nibs/<XIB_NAME>.xib
I'm facing an issue with revoking an iOS Development certificate in the Apple Developer Console. The certificate is in "Pending Approval" status, and when I attempt to revoke it, I receive the following error:
"The specified resource does not exist. There is no certificate with ID 'XXXXXXXXX' on this team."
Despite this error, the certificate still appears in my list, and the only available action remains "Revoke."
Steps I've tried so far:
Refreshed the page and cleared the browser cache
Logged out and back into my Developer account
Tried using different browsers (Safari, Chrome)
Checked Xcode > Preferences > Accounts for certificate status
Contacting Apple Support (Not response since over 3 weeks)
Additional Info:
The certificate type is iOS Development, not Distribution.
The status has been "Pending Approval" since creation.
After update to Xcode 16.3, any breakpoints stopped in simulator and device. The scheme is configured to Debug in Build Configurator.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I enrolled to the apple developer account more than one week ago. Nothing!
After 3 or 4 emails to support I received an email with steps I should perform from the iPhone app. I did so, my money was charged and ... nothing.
My enrollment has been withdrawn no activation nothing.
I made another request (although I am not sure that it is ok).
Can somebody help me?
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Hi,
Our organisation just ran out of the included Xcode Cloud hours. I now want to upgrade (I am the account holder).
There does not seem to be a way to do this on the Apple Developer and/or App Store Connect websites, as you'd expect.
The Get started with Xcode Cloud page mentions that I need to use the Apple Developer app.
However, when I sign up to this in the Apple Developer app, the account shown when pressing Subscribe is my personal account, not any account related to the organization:
It is impossible to change the payment details.
How can I use the organization account to pay for this, as I obviously do not want to get charged to my personal account?
Thanks.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Hello, In 2024 I received notice of Apple Developer Account termination (Team ID: FCKZLDS8EQ) (with no reason) and in 5 days I have sended the appeal. After 30+ days - my account was terminated. The notification said that I only have a month to file an appeal, I did it within 5 days, but neither during the month nor so far - I have not received a response. Also, after the appeal, I contacted support saying that there was no response to the appeal and still remained unanswered to these tickets: 102346160903 and 102349953096. I described everything in detail in that appeal. I have an Apple Developer membership since 2014 and this is some kind of misunderstanding, I have an old trusted developer account without any violations.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Hi,
I am getting an error stating "Argument passed to call that takes no arguments". I want this Apple Watch App to measure and store RR Intervals from the PPG sensor on the Apple Watch for Heart Rate Variability calculations. Please help me fix this, I can't figure it out. Here is my code:
heartbeatQuery = HKHeartbeatSeriesQuery(predicate: predicate,
dataReceivedHandler: { (query, timeSinceLastBeat, ended, error) in
// Switch to main thread for UI updates
DispatchQueue.main.async {
if let error = error {
print("Heartbeat query error: (error.localizedDescription)")
self.fetchErrorMessage = "Heartbeat query error: (error.localizedDescription)"
// Consider stopping the workout session if the query fails critically
// self.stopWorkoutSession()
return
}
if ended {
print("Heartbeat query indicates series ended.")
}
// Append valid RR intervals
if timeSinceLastBeat > 0 {
self.rrIntervals.append(timeSinceLastBeat)
self.beatCount += 1
}
} // End DispatchQueue.main.async
}) // End query data handler
// --- END OF PROBLEMATIC INITIALIZER ---
// Execute the query if it was created successfully
It recommends the fix as removing this part:
'(predicate: predicate,
dataReceivedHandler: { (query, timeSinceLastBeat, ended, error) in
// Switch to main thread for UI updates
DispatchQueue.main.async {
if let error = error {
print("Heartbeat query error: (error.localizedDescription)")
self.fetchErrorMessage = "Heartbeat query error: (error.localizedDescription)"
// Consider stopping the workout session if the query fails critically
// self.stopWorkoutSession()
return
}
if ended {
print("Heartbeat query indicates series ended.")
}
// Append valid RR intervals
if timeSinceLastBeat > 0 {
self.rrIntervals.append(timeSinceLastBeat)
self.beatCount += 1
}
} // End DispatchQueue.main.async
})'
But after I remove that it says "Cannot assign value of type 'HKHeartbeatSeriesQuery.Type' to type 'HKHeartbeatSeriesQuery'" PLEASE HELP ME
Thanks
I am using Xcode 15.2. I am loading a URL in a WKWebView, but a hand cursor appears above the web view. Scrolling up and down does not work. I tried adjusting the scroll bounds and isUserInteractionEnabled, but the hand cursor is still visible. How can I fix this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I am trying to add complication feature to my watchOS app. I need to add some keys to the Info.plist.
Project Navigator - no Info.plist file (as expected)
Target watchOS > Build Settings > Info.plist values.
I am unable to add a value. Hovering over a row does NOT show small '+' or '-' icons.
How do I edit the Info.plist?
I am facing a problem. I have enrolled developer program on 7th may, 25. It says will take 2 days but I haven't received any confirmation.
Again I submitted information on 11th February, 25 but still haven't received any email about confirmation or rejection.
I tried to contact apple support. They created ticket for me. But haven't received any further information from them.
It seems like I am a ghost and apple is not seeing me.
Can anyone tell me what is the problem.
Thank you
I'm currently transferring an iOS app to a new Apple Developer account and following the process outlined in Apple’s documentation:
🔗 TN3159 - Migrating Sign in with Apple users for an app transfer
The process for generating transfer_identifiers and migrating existing users is clear, and I don’t expect issues with that part.
However, I have a question about preserving the user session after the transfer.
My setup:
The app uses Sign in with Apple via a backend-based authentication flow.
On login, the app retrieves the authorization_code and sends it to the backend.
The backend exchanges the code for tokens from Apple, including a refresh_token.
That refresh_token is then used on the backend to validate the user’s identity on subsequent requests.
My concern:
Once I initiate the app transfer, migrate users, and update the backend with new Apple credentials (client ID, team ID, etc.), I assume that the existing tokens issued under the old credentials will become invalid.
So my question is:
Is there a way to maintain the user’s authenticated session through this transition without requiring them to manually sign in again?
I’d like to ensure a seamless experience for users, if possible.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
Sign in with Apple
Sign in with Apple REST API
My membership got expired and I don't see the renew button anywhere on the website or the developer app.
In my case, I have changed the developer account email address 6 months ago and the new email was not mapped for renewal that's why the renew button was not showing (I guess).
I tried to reach to Apple support, the phone support wasn't available so I wrote couple of emails. After 48 hrs they have sent an email saying the new email address has been mapped but still I see no renew button. I added required funds and disabled the auto-renew option yet no hope.
it's been four days still no replay from Apple. I was constantly checking for the phone support. Today I saw phone support was available so I immediately requested the call and explained the support staff about my situation and he fixed within a minute.
so guys if you are facing similar issue and see no solution even after contacting multiple times via emails, wait for phone support and request a call. This is the fastest and efficient way to resolve this "renew" issue. add the required funds so that the subscription payment will be done instantly.
Have a good day y'll
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
Accounts
Developer Program
Hi everyone,
I’m experiencing an issue with my enrollment process. I initiated three payments on the following dates:
February 12, 2025: Payment attempted, received an “Order acknowledgment” email, but the amount wasn’t deducted.
February 19, 2025: Reattempted payment with the same outcome.
February 25, 2025: Tried again, and still no deduction from my account.
I’ve contacted support (Case ID: 102538526682), but haven’t received any response. This situation affects my production process, and I’m growing increasingly concerned.
Has anyone else faced and resolved successfully a similar problem, or does anyone have advice on how to escalate this issue for a quicker resolution?
Thanks in advance for your help!
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
My swiftUI project has started to constantly display "Cannot find 'symbol' in scope" errors in code i haven't touched, and the project still compiles fine. Neither cleaning build folder or compiling fix the errors, but if I right click the symbol, select "jump to definition" it will find it without problem and then when I return to the original file the error will be cleared.
What can I do to stop these from happening?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have an iOS app, and I am trying to add a companion WatchOS app. My iOS app depends on 2 libraries:
GoogleMobileAds
FirebaseAnalyticsWithoutAdIdSupport
When I add a new target for WatchOS, the preview build starts to fail. I am not adding any libraries to WatchOS. The Google Ads and Firebase Analytics libs are only under the iOS target.
I am unable to run the preview, I get an error when trying to build the watch scheme. The preview does not work. The build just crashes. I've included the error log below.
But, here are the steps I've tried so far:
Delete folders inside Derived Data
Run a clean build (Cmd + Option + Shift + K)
Delete scheme and create a new one
Reset Package Cache
Restart Xcode
Restart Macbook
But, it just does not work. I do not understand why the watchOS target is erroring for "GoogleUserMessagingPlatform" and "GoogleMobileAdsTarget" when those packages are not linked/used for the watchOS.
SchemeBuildError: Failed to build the scheme “timerWatch Watch App”
While building for watchOS Simulator, no library for this platform was found in '/Users/k/Library/Developer/Xcode/DerivedData/timer-dhkdhvfcqtfgskfdxpmupujswtuh/SourcePackages/artifacts/swift-package-manager-google-user-messaging-platform/UserMessagingPlatform/UserMessagingPlatform.xcframework'. (in target 'UserMessagingPlatformTarget' from project 'GoogleUserMessagingPlatform')
Build target UserMessagingPlatformTarget:
/Users/k/Library/Developer/Xcode/DerivedData/timer-dhkdhvfcqtfgskfdxpmupujswtuh/SourcePackages/artifacts/swift-package-manager-google-user-messaging-platform/UserMessagingPlatform/UserMessagingPlatform.xcframework:1:1: error: While building for watchOS Simulator, no library for this platform was found in '/Users/k/Library/Developer/Xcode/DerivedData/timer-dhkdhvfcqtfgskfdxpmupujswtuh/SourcePackages/artifacts/swift-package-manager-google-user-messaging-platform/UserMessagingPlatform/UserMessagingPlatform.xcframework'. (in target 'UserMessagingPlatformTarget' from project 'GoogleUserMessagingPlatform')
Build target GoogleMobileAdsTarget:
/Users/k/Library/Developer/Xcode/DerivedData/timer-dhkdhvfcqtfgskfdxpmupujswtuh/SourcePackages/artifacts/swift-package-manager-google-mobile-ads/GoogleMobileAds/GoogleMobileAds.xcframework:1:1: error: While building for watchOS Simulator, no library for this platform was found in '/Users/k/Library/Developer/Xcode/DerivedData/timer-dhkdhvfcqtfgskfdxpmupujswtuh/SourcePackages/artifacts/swift-package-manager-google-mobile-ads/GoogleMobileAds/GoogleMobileAds.xcframework'. (in target 'GoogleMobileAdsTarget' from project 'GoogleMobileAds')
after upgrade macos version to 15.4
the rsync start failing that cause the xcodebuild fail and not generate ipa
rsync: on remote machine: --extended-attributes: unknown option
rsync error: syntax or usage error (code 1) at main.c(1802) [server=3.4.1]
rsync(73444): error: unexpected end of file
rsync(73444): error: io_read_nonblocking
rsync(73444): error: io_read_buf
rsync(73444): error: io_read_int
rsync(73444): warning: child 73445 exited with status 1
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
App Store
Xcode Server
Xcode
Developer Tools
My newly registered Apple Developer account has been unexpectedly blocked before I was able to submit our app. This is our first iOS app and I believe this may be a misunderstanding. We’d like to resolve this as quickly as possible (case ID is 102568035119). Please let us know the steps we need to take.
I have a swift project with a Watch companion.
Since the update of Xcode in 16.3 version after updating MAcOs , Watch OS, iOS to the latest version . It is quasi impossible for me to make Xcode work with my series 10 Watch. I have a lot of alert box, messages in the "device & Simulator" tool like this
Previous preparation error: A connection to this device could not be established.; Timed out while attempting to establish tunnel using negotiated network parameters.
And many message telling me that Xcode is preparing the Watch , then that it has lost the connexion.
I have to wait some minutes after EACH run of the App to test it again. This is very annoying .
Some of the alerts I have :
And the best to know , is that I can run the APP outside of Xcode , it works, Connects to the iPhone, fetch data and so. the iPhone sees the Watch without and problem.
Reboots can solve for a few minutes the problem. But that is not a solution.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I can't create a developer account.
Setting to admin role does not work, follow the invite and then verify email, after that get shown a phone prompt, used every number I have that has SMS, or tried callbacks...
{
"service_errors" : [ {
"code" : "-28248",
"message" : "Verification codes can’t be sent to this phone number at this time. Please try again later.",
"suppressDismissal" : false
} ],
"hasError" : true
}
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program