Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

XCode 16 run Fastlane fail when called get_version_number function after convert project from groups to folders
My project is using Fastlane 2.226.0. After converted groups to folders on XCode 16, I got an error when executed below function in Fastfile: get_version_number(xcodeproj: "MyProject.xcodeproj", target: "MyProject") Below is the error message output after I ran fastlane: Unable to find XCode build setting: MARKETING_VERSION
0
0
112
Mar ’25
Symbol not found: NSUserActivityTypeLiveActivity and WidgetCenter.UserInfoKey.activityID
The app I'm working on has iOS 16.0 as target. Recently Live Activities support was added, but then it started crashing when running on iOS 16.0 devices. After some investigation, I've found that the culprit was the presence of NSUserActivityTypeLiveActivity and WidgetCenter.UserInfoKey.activityID, even though they were inside an @available(iOS 17.2, *) block. If I comment these two variables, the app work as expected. I've also tried adding #if canImport(ActivityKit) around the code, but without success. But if the @available isn't working, how can I prevent this? It looks like a bug, since the documentation says that NSUserActivityTypeLiveActivity is supported but iOS 14.0+, but I'm pretty sure it was introduced on 16.1. This is the only output I get with the crash: dyld[66888]: Symbol not found: _$s9WidgetKit0A6CenterC11UserInfoKeyV10activityIDSSvgZ Referenced from: <D6EFF120-2681-34C1-B261-8F3F7B388238> /Users/<redacted>/Library/Developer/CoreSimulator/Devices/8B5B4DC9-3D54-4C91-8C88-E705E851CA0F/data/Containers/Bundle/Application/DB6671FF-CB07-4570-BD63-C851D94FAF29/<redacted>.app/<redacted>.debug.dylib Expected in: <C5E72BB5-533F-3658-A987-E849888F4DFC> /Library/Developer/CoreSimulator/Volumes/iOS_20A360/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 16.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WidgetKit.framework/WidgetKit
0
0
118
Mar ’25
App Clip cannot determine the source of the opening
Our business is to scan the code to open App Clip, but then App Clip will appear in App Library and Siri Suggestions. This can be opened quickly, but the URL of the last scan will be included. This will cause a problem, for example: if the previous scan was code A, but the user does not scan code B when going to place B and directly opens it through App Library or Siri Suggestions, the code I get is still code A, so the result I want is that I want to know where it was opened from, and then if it is opened quickly, I will clear the URL and remind the user to scan the code again. Or if it is opened by quick opening, do not include the URL
0
0
31
May ’25
Apple developer program membership issue
Hi, I paid to renew my membership and I received an order confirmation email. But when i go to my account it says it is still expired - so what did i pay for then? I've emailed Apple developer support and they just sent me a generic bot/copy and paste email telling me i need to renew my account. Everyone i speak to tells me to click a link and it just leads to an email option, i email them, then i get an unhelpful email, then the cycle repeats. It's like: Me: "Hey Apple, i've just paid to renew my account and you're not giving me what i paid for". Apple: "Just renew your account". Me: "....yeah but that's the issue" Apple: "click this link to send an email and start the infinite useless cycle all over again". I have also called apple multiple times and spoke with three people and they are not able to help. I spoke with one of the people's managers and i explained to him that i've stuck in this infinite loop where nothing gets resolved and he sent me a link which just. lead. to. the. same. email. option! I then explained that this is like a dystopian sci-fi movie where this faceless mega-corp (Apple) has taken my money for a service and not given me that service (false advertising / crime). He said he can't help. Then you know what he said? ................... ........ ..... .. "post on the forum". So Apple takes my money and doesn't give me the service they advertised to me then says they can't help me and that i have to ask in the forum. I said "so basically you're advising me that non-apple employees are better suited to help me than Apple employees, lol". What should i do here?? I have a had a team of developers stop working for weeks and this has brought my app development plan to a halt, costing me money.
0
0
124
May ’25
PDF opening from iOS Unity app in landscape mode instead of portrait
In our Unity App for iOS build, when we opened the PDF from the app, it is automatically opening in landspace mode instead of portrait. In the android and windows apps, we are able to open in the portrait mode. We tried to make the changes in the project settings but it did not change. Any way in which we can acheive this would be helpful for us.
0
0
104
Apr ’25
App transferred but app Bundle Id not transferred
When we initiated the app transfer, we were eligible for app transfer and it was transferred as well. But App's bundle identifiers are not transferred yet which is blocking to push new updates. We contacted various time to apple, but we get similar responses. What may be the exact reason that is blocking to transfer the app bundle identifiers. However, app has already been transferred and active from recipient developer account.
0
0
108
May ’25
March 2025: What’s New with Apple Developer Forums
Thanks for your engagement, participation, and contributions to the Apple Developer Community! We’ve made some minor updates today to the Forums - curious about what’s changed? Here’s the rundown: Customize your experience with a developer profile Creating a developer profile allows you, if you choose, to share your interests and preferences so we’re better able to support you. In Developer Forums, creating a profile and choosing to share it publicly is an easy way to connect with fellow developers. Soon, having a profile will help unlock a more personalized experience across developer.apple.com - powering smarter surfacing of recommendations, activities, and opportunities tailored to your interests. Learn more. Other features and improvements With this release, we’ve also made some enhancements and fixed a few bugs based on feedback you’ve submitted. These include: Expanded save draft functionality from posts to replies so you don’t lose those drafts unexpectedly Added line numbers in code blocks Restored text highlighting back to system default Syntax coloring carries through to code blocks within posts Fixed a time stamping issue which was impacting ‘last updated’ sort functionality Wish there was a feature or improvement on Developer Forums? We welcome feedback and feature requests.
0
1
189
Mar ’25
Questions about Deployment Targets in Xcode
The “Deployment Targets” for iOS was IOS12 or higher in Xcode15, but is now listed as IOS15 or higher in Xcode16. https://developer.apple.com/support/xcode/ How does this change affect developers and users? For example, if a developer specifies less than iOS15 in the “iOS Deployment Target” on Xcode, how will this affect them? Also, will users under iOS 15 be unable to run the apps?
0
0
111
May ’25
Need Help Updating a Custom WireGuard SPM for Xcode 16 & Swift 6
Hey iOS Dev's, I’m currently working on a Swift Package Manager (SPM) for WireGuard, originally developed by a previous team member. It was working fine in Xcode 15.2, but after upgrading to Xcode 16 and Swift 6, I need to update the SPM to ensure compatibility with my base projects and other projects relying on it. With Apple making Xcode 16 mandatory for app submissions starting April 24, this has become an urgent issue. I’ve searched extensively but haven’t found a working solution yet. Has anyone faced similar challenges with Swift 6 migration and SPM updates? Any insights, best practices, or debugging tips would be greatly appreciated! Let’s connect and collaborate—I’d love to discuss possible solutions! 😊 #iOSDevelopment #Swift6 #Xcode16 #SPM #WireGuard #iOS #Swift #SoftwareEngineering #AppStore
0
0
109
Apr ’25
App Suspended during active voip call on Xcode 16
We have started facing an issue after updating Xcode from version 15.2 to 16, we have a voip application with webview and call kit, and we have the Background Modes capabilities: Voip, Audio, Background fetch, and Background processing. We had no problem on Xcode 15, but ever since updating Xcode 16 and sdk 18, when app goes into the background during an active call, the app is suspended and no events are triggered UNTIL the app is resumed to the foreground.
0
0
182
May ’25
Random "<unknown>:0: warning: default will never be executed" Xcode warning
Hello! I'm experiencing a persistent SwiftCompile warning that I haven't been able to resolve for several months: <unknown>:0: warning: default will never be executed Observations: Appears randomly across different files during the build. No source location or line highlighting is provided. Persists across clean builds and project reopenings. Occurs in both Xcode Cloud and local builds. What I’ve tried: Ensuring all switch statements on enums explicitly handle every case. Removing default cases from fully covered enum switches. Refactoring optional enum handling (e.g., using if let instead of switch). None of these resolved the issue. Any guidance would be greatly appreciated! Project details: Xcode: 16.2 Swift: 6 iOS Target: 17.0+ UI: SwiftUI-only (no UIKit) Dependencies: SwiftPM
0
1
304
Mar ’25
Random issues can not create developer accounts
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 }
0
1
80
Apr ’25
Uncategorized (Xcode): Command ClangStatCache failed with a nonzero exit code
I'm encountering an issue while trying to build my iOS app in Xcode for the simulator. Issue: Xcode Version: 15.x macOS Version: 14.x (Sonoma) Simulator: iPhone 16 Pro Error Message: Command ClangStatCache failed with a nonzero exit code Steps Taken: Cleaned build folder (Shift + Cmd + K) Deleted DerivedData (rm -rf ~/Library/Developer/Xcode/DerivedData) Updated Xcode and checked iOS SDK updates Disabled Clang Static Analyzer Cache None of these steps resolved the issue. Any help would be appreciated! Thanks in advance.
0
0
314
Mar ’25
cross device locale appname search
Hello Developers, On ios device i recently installed Teams, Instagram and facebook apps.When i change the device language/locale appname remains same i.e in english. All three apps i m able to search with it japanese translation like Teams ->チーム, Instagram->インスタグラム, Facebook ->フェイスブック when device locale in english or japanese.How can i achieve this?.Any suggestion up will be helpful.
0
0
65
May ’25
Apple Developer Program Enrollment Application Not Processing (South Africa)
Hi Apple Developer Team, I’m a developer based in South Africa. I initially submitted my enrollment for the Apple Developer Program (Individual) last week Thursday (May 2nd, 2025). The enrollment was then withdrawn by Apple, asking me to re-apply - which I did. Unfortunately, the same issue persists. I entered valid payment details during the re-application. No payment has been deducted. The enroll button on the Apple Developer app remains disabled. It has now been 5 days without resolution. We’ve even gone to the extent of verifying our banking setup and confirming that our card is enabled for international payments. Out of frustration, I have now withdrawn all enrollment applications. Please advise on how I can proceed based on the Case ID I have submitted. This delay is affecting our iOS launch, and I would really appreciate guidance on the way forward. Thank you.
0
0
101
May ’25
Executable path is a directory XCode-16 iOS Simulator
I have the this issue when I run the app on iOS Simulator after updating to app to make it compatible with Xcode-16 and iOS-18. after upgradation to Xcode-16 its giving the above error "Executable path is a directory" .This app work fine on Xcode-15 . Note - The issue with iOS Simulator only. From XCode-16 build is created successfully and installed in iOS device.
0
0
71
May ’25
Locked Company Developer Account – Immediate Assistance Required
I am the sole administrator of a paid company Apple Developer account, and as of today I’m completely locked out everywhere: I cannot sign in to App Store Connect, developer.apple.com, or even account.apple.com. Every login attempt returns either “Please verify your account information and try again” or “This account is locked and can’t be used.” I have never changed my password, Two-Factor Authentication is enabled and delivering codes, there are no pending agreements or banking/tax forms, and I see no unrecognized devices in my account. I’ve tried multiple networks, browsers, and devices, and I’ve already contacted Apple Support—yet no explanation or resolution has been provided. This total lockout is preventing our app submissions from moving forward and putting our entire release schedule at risk. I need: A clear, specific reason why my corporate Developer account has been locked. Any immediate steps or known workarounds to restore full access. Advice from anyone who has faced the same unexplained lockout.
0
0
184
May ’25
A valid provisioning profile for this executable was not found.
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`
0
1
96
May ’25