This wasn't happening until I updated Xcode to 16.2 (I'm using Sequoia 15.2). When I run any Mac app, I get these errors:
Can't find or decode reasons
Failed to get or decode unavailable reasons
Can't find or decode disabled use cases
I even got these errors running "Hello, world" which tells me that either I need to reinstall or there is a bug.
Thanks for any help,
-Ashley
This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
Hi,
After updating to Xcode 16.2, I am getting an error running all iOS apps. I'm using Sequioa 15.2.
Error creating the CFMessagePort needed to communicate with PPT.
I ran the default Hello World app and got the same error message (plus another error not showing up on my apps - Failed to send CA Event for app launch measurements for ca_event_type: 1 event_name: com.apple.app_launch_measurement.ExtendedLaunchMetrics).
Can I ignore the error or is it truly affecting my app (all are testflight versions and it's fine if I don't update them for awhile, although not ideal).
Hopefully someone can help!
Thanks,
-Ashley
Like I said in the title, it looks like MetalTools.framework is missing or corrupted. I think I saw that the symbolic link was broken. They look like aliases in the finder, but I can't find the original.
This was a problem with Ventura (using the last compatible Xcode version) and Sequoia 15.2 (Xcode 16.2). I didn't use Xcode before that. Note that none of my apps need Metal API (I don't think). I only noticed it when Xcode gave an error regarding Metal.
Sorry this is so long; I hope the Terminal info will help.
I don't want to reinstall Sequoia and this has been a problem since at least Ventura.
Recommendations?
ls -l /System/Library/PrivateFrameworks/MetalTools.framework/
total 0
lrwxr-xr-x 1 root wheel 27 Dec 7 01:11 MetalTools -> Versions/Current/MetalTools
lrwxr-xr-x 1 root wheel 26 Dec 7 01:11 Resources -> Versions/Current/Resources
drwxr-xr-x 4 root wheel 128 Dec 7 01:11 Versions
ls -la /System/Library/PrivateFrameworks/MetalTools.framework/
total 0
drwxr-xr-x 5 root wheel 160 Dec 7 01:11 .
drwxr-xr-x 1885 root wheel 60320 Dec 7 01:11 ..
lrwxr-xr-x 1 root wheel 27 Dec 7 01:11 MetalTools -> Versions/Current/MetalTools
lrwxr-xr-x 1 root wheel 26 Dec 7 01:11 Resources -> Versions/Current/Resources
drwxr-xr-x 4 root wheel 128 Dec 7 01:11 Versions
codesign -v /System/Library/PrivateFrameworks/MetalTools.framework/MetalTools
/System/Library/PrivateFrameworks/MetalTools.framework/MetalTools: No such file or directory
ls -la /System/Library/PrivateFrameworks/MetalTools.framework/Versions/
total 0
drwxr-xr-x 4 root wheel 128 Dec 7 01:11 .
drwxr-xr-x 5 root wheel 160 Dec 7 01:11 ..
drwxr-xr-x 4 root wheel 128 Dec 7 01:11 A
lrwxr-xr-x 1 root wheel 1 Dec 7 01:11 Current -> A
ls -la /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/
total 0
drwxr-xr-x 4 root wheel 128 Dec 7 01:11 .
drwxr-xr-x 4 root wheel 128 Dec 7 01:11 ..
drwxr-xr-x 10 root wheel 320 Dec 7 01:11 Resources
drwxr-xr-x 3 root wheel 96 Dec 7 01:11 _CodeSignature
Note - -rwxr-xr-x 1 root wheel MetalTools should be in the above list (according to ChatGPT)
system_profiler SPDisplaysDataType
Intel UHD Graphics 630 and AMD Radeon Pro 5500M (includes:
Metal Support: Metal 3
Playground code => "Metal is supported." Default device: Apple iOS simulator GPU.
Thanks, Ashley
After Updating My iPhone 15 Pro To IOS 18.3 beta, 1 Day Later A Pixel seemed stuck or burnt,
and then after 1 Day on 25 Dec The Screen Went Black Or Turned Off But Responded To My Touch,
the reason i suppose the screen went black would be a memory glitch happening when i opened the camera from the Lock Screen or a graphica card issue
if anyone can help I would appreciate it
Topic:
Community
SubTopic:
Apple Developers
I bought Pioneer SPH-DA97DAB CarPlay radio but hardly can use the phone due to a loud echo that the caller hears during a call. how can I solve this does CarPlay has echo cancelation?
Hi all, if anyone from apple Dev team is seeing this, please do consider supporting device mirroring without the need to login to icloud and with cable connection in addition to wi-fi.
I am working in a corporate setting which does not allow us to login to icloud, thus I am unable to use device mirroring when my work really needs is, I am stuck with Quick time preview.
I am quite sure, that this does not only apply to me.
15.2 has a major problem with Thunderbolt devices. Dozens of reports on the discussion forum after people upgraded from prior versions. In my case 15.1 was working flawlessly. After upgrading to 15.2 the MAC PRO (2019) won't even boot with multiple Thunderbolt devices attached. If as suggested I disconnect all those devices the MAC boots but I no longer have my Thunderbolt drives available. Someone from Apple really needs to start listening to this. We have posted feedback after feedback and I keep getting told no one else has this problem. Well 4 pages of people on the discussion forum would disagree with that.
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 ?
After updating to IOS Beta 18.3 car play won't work on iPhone 16 Pro. My daughters does on my Range Rover so it is the BETA update. Can not remove beta update, please help.
Topic:
Community
SubTopic:
Apple Developers
It was good for a week after updating to ios 18.2. Now when I call or receive any phone call, it literally restart. even if I call using WhatsApp also. Also unable to play any video on it. Unable to use YouTube. Battery health is 89%. I already hard reset my phone. Even installed beta version 18.3. Still getting same problem. Even I purchased third party app to fix iOS issue but nothing is working.
Topic:
Community
SubTopic:
Apple Developers
My Z key isn’t working and now weird characters come up when i type random keys fast.
Topic:
Community
SubTopic:
Apple Developers
Dear Apple Developer Community,
I hope this message finds you well. I'm seeking guidance regarding an issue with my Apple Developer account and the future status of my app.
Issue Summary:
Account Status: My Apple Developer account has been locked (cannot be used) without any clear reason. Despite contacting both Apple Support and Apple Developer Support, I haven't received a workable solution to regain access.
App Status: Currently, my mobile app remains visible and downloadable on the Apple App Store.
Concerns:
Future of the App: I'm concerned about the future availability of my app. I've heard that apps associated with locked or inactive developer accounts might be archived or removed after a certain period. Is this accurate? If so, what is the typical timeframe for such actions?
Similar Experiences: Has anyone in the community encountered a similar situation with their developer account being locked and cannot be used? If so, were you able to resolve it, and how?
I appreciate any insights or advice from those who have faced similar challenges or have knowledge in this area. Your assistance would be invaluable in helping me navigate this situation.
Topic:
Community
SubTopic:
Apple Developers
I have a PIP camera that is streaming from the front and back based on AVCaptureMultiCamSession. It works fine, but when i go to swap the camera it crashes. This is code that works with a single camera, so not sure what is wrong. Also the object appears valid in the debugger.
This is the snippit where the camera is swapped
private func updateSessionConfiguration() {
guard isCaptureSessionConfigured else { return }
captureSession.beginConfiguration()
defer { captureSession.commitConfiguration() }
// Remove all current inputs
for input in captureSession.inputs {
if let deviceInput = input as? AVCaptureDeviceInput {
captureSession.removeInput(deviceInput)
app_log("removing input for \(input)")
}
}
// Add the primary device input
if let deviceInput = deviceInputFor(device: captureDevice) {
app_log("device input \(deviceInput)")
if !captureSession.inputs.contains(deviceInput), captureSession.canAddInput(deviceInput) {
captureSession.addInput(deviceInput)
}
}
if let secondaryDeviceInput = deviceInputFor(device: secondaryCaptureDevice) {
app_log("Secondary device input \(secondaryDeviceInput)")
if !captureSession.inputs.contains(secondaryDeviceInput), captureSession.canAddInput(secondaryDeviceInput) {
captureSession.addInput(secondaryDeviceInput)
}
}
updateVideoOutputConnection()
}
It crashes at: captureSession.addInput(deviceInput)
with: Thread 10: EXC_BAD_ACCESS (code=1, address=0xcaeb36b964f0)
which is strange because canAdd is checked prior to this call. Totally stumped here. Please help. Not sure if this is an AVCaptureMuliCamSession issue or something.
Hi everyone,
We are developing an app, Video Tradie, which operates as a marketplace platform connecting customers with independent tradespeople for consultations. The app facilitates scheduling, communication, and payments but does not directly provide any services—our role is strictly as a facilitator.
For payment processing, we are currently integrating Stripe to handle invoicing, payment splits to tradespeople, and detailed reporting features that are essential to our business model.
However, we want to ensure compliance with Apple’s App Store guidelines, particularly regarding:
Digital Services vs. Physical Services: Since the app facilitates consultations (virtual services), would it fall under Apple’s in-app purchase requirements, or could it qualify for exemptions, similar to apps facilitating physical services?
Stripe Integration: If we continue using Stripe for payments, are we allowed to remit Apple’s 15% commission (under the Small Business Programme) while not using Apple’s payment infrastructure?
Marketplace Positioning: Does positioning our app as a marketplace rather than a direct service provider exempt us from using Apple’s in-app payment system?
Alternative Billing Options: If operating in regions like the EU or South Korea, where alternative billing is permitted, are there specific steps we need to follow to comply?
We are seeking clarification to ensure we develop the app in a way that aligns with Apple’s expectations. If anyone has experience with similar setups or advice on communicating with Apple during the submission process, I’d greatly appreciate your input!
Thank you!
Hello,
I am currently working on integrating Meta Audience Network (Meta) with Google AdMob using bidding mediation for an iOS app. The goal is to show ads through meta , with AdMob acting as the mediation layer.
I have successfully set up both the Meta SDK and Google AdMob SDK, as well as the GoogleMobileAdsMediationFacebook adapter. My AdMob and Meta accounts are both linked for mediation, and I have configured the correct placement IDs for Meta within AdMob.
Currently i am creating a demo project with demo accounts i haven't added app live link as my app isn't on AppStore and haven't added any payment method.
However, I am encountering a couple of issues and need some guidance:
1. Test Ads Work, but Real Ad Unit Fails:
• When using test AdMob ad unit IDs, everything works fine, and ads are shown as expected.
• But when I use my original AdMob ad unit ID, I get the error: “Publisher data not found.”
• Does this mean my app is not fully set up or is there something else I might be missing in my configuration?
• Is it necessary to go live on the App Store to get ads from the real ad unit, even for testing purposes?
2. Meta Ads via Bidding Mediation:
• I have integrated Meta through AdMob’s bidding mediation system.
But i am showing ads using GADBannerView is it right way to show meta ads that are mediated with google admob. If i have to show ads with FBAdView from where to get withBidPayload value for this function
adView.loadAd(withBidPayload: "what_here")
3. Payment Method Requirements:
• My app is still in the demo/testing phase and is not live on the App Store. I have not added any payment methods in either AdMob or Meta.
• Is it necessary to add a payment method for testing purposes, or is this only required when I start monetizing and going live?
I would appreciate any advice or pointers to ensure the setup is correct and to understand why the original ad unit ID isn’t working during testing.
Thank you for your time and assistance!
When attempting to use apple promotional offers for subscriptions I consistently receive the popup that says "Offer Not Available" for both production and sandbox. Without offer code purchase working fine. I have verified the App Store Connect setup and client side code and even created new offer codes also, but I have hit a dead end.
Error:- (Error Domain=SKErrorDomain Code=18 "(null)" UserInfo={NSUnderlyingError=0x280dbb0f0 {Error Domain=ASDServerErrorDomain Code=3904 "Offer Not Available" UserInfo={NSLocalizedFailureReason=Offer Not Available}}})
Hi everyone,
I am wondering under which settings the camera(s) were set by the time they were calibrated.
For instance, one aspect that is easy to find is the reference resolution of the images taken when calibrating the intrinsics, this is by retrieving intrinsicMatrixReferenceDimensions. Making sure that the principal point is referenced to the by the time resolution used when the calibration was ongoing.
However, recently I saw that there are focusing modes that potentially displace the lens' physical position. Settings like:
AutoFocusRangeRestriction: none, near, far
setFocusModeLocked: Locks the lens position at the specified value, and sets the focus mode to a locked state.
My concern lies the impact this focusing lens displacements have on the intrinsic matrix parameters, if the lens is displaced, these parameters no longer describe the camera since the lens position has changed w.r.t. the lensPosition set when they were calibrated [0-1].
If my understanding is correct the AutoFocusRangeRestriction is just a range freedom the system is allowed to auto-focus and not a specific lens position.
Conversely, the setFocusModeLocked does indeed fix the lensPosition to a certain value [0 - 1].
In simple words, what is the focus lensPosition the cameras were set when calibrating them for intrnisics?
I am having some serious issues with all of my music apps on the latest beta of iPadOS 18.3.
when I try to open them , the splash page pops open , freezes then crashes.
i can open Logic Pro and it opens fine, but if I try to open a project with any of my third party music apps in that project, Logic gives me an error message stating that it can’t access coremidi. It gives me the option to continue and then proceeds to play the project without issue, with all of the third party apps functioning within Logic. If I try to open a third party program outside of Logic ( that just played in Logic) the 3rd party app crashes.
Anyone else having issues with their 3rd party music apps? I have never had so many apps in a particular genre that just wouldn’t function in any of the recent betas.
First, I apologize if I post to the wrong forum, but this is kinda new to me.
Backstory: I recently joined a company as CTO and the first topic on my agenda is the mobile presence. The android app was built in-house, but the iOS app was outsourced to an app/web development agency.
The problem: the aforementioned agency ceased operations in mid-2024 without notifying us. They cancelled their dev program enrollment and our apps are no longer available on the App Store. And the agency reps are not responding to emails and phone calls.
My question: is there a way to get access to our application? We plan in-house redesign and refactoring in 2025, but we want access to the bundle ID, the app groups, the iCloud container, etc. We can present legal documents, company website and branding, everything to prove that app is technically ours.
Thanks in advance!
Have a good and productive 2025!
Scenario: hardware keyboard is attached to iPhone
Before iOS 18.2, if I setup only two keyboards (e.g., english and emoji) in the system, click Globe key can switch to iOS emoji keyboard without problem. Since iOS 18.2, it stop working, and emoji keyboard is never displayed. I need to add one more keyboard, then I can switch to emoji keyboard (via the keyboard selector).
Topic:
Community
SubTopic:
Apple Developers