728 questions
0
votes
1
answer
37
views
Apple Visual Intelligence: App Intent Extension Not Found
I'm making a PoC for Visual Intelligence integration in iOS. It's a very simple setup... the extension will always reply with a list of 20 static "results" just so I can verify that it's ...
0
votes
1
answer
249
views
Installation Fails on iOS 18.4: NSExtension Dictionary Missing in Info.plist for Default Translation App Extension
I have followed the instructions outlined in: Preparing your app to be the default translation app. However, when I attempt to run my app on my iPhone (iOS 18.4) or a simulator, the installation fails ...
0
votes
1
answer
122
views
Can mobile dotnet runtime be heap-limited?
Having Xamarin (or maui) iOS application extension (net8.0-ios, ios-arm64), I would like to force it the maximal heap size. Unfortunately apple states that Notification Service Extension can allocate ...
0
votes
1
answer
178
views
Profile memory usage of iOS File Provider extension
We want to profile the memory usage of the File Provider extension of our iOS app using Instruments. A File Provider extension only has access to a limited amount of RAM (currently 15MB on iOS 17), ...
4
votes
2
answers
2k
views
Wallet Extension - "From apps on your iPhone" option in Apple Wallet App not showing
I'm implementing Wallet Extension for adding credit card on wallet, I created both extension, UI and NonUI, but the "From apps on your iPhone" option never shows to me.
My extensions have ...
0
votes
1
answer
269
views
Unable to run app with app Extension Embedded binary is not signed with the same certificate as the parent app
I am getting below error when added BroadCastExtension to my app. I am using this BroadCastExtension for screen share.
Embedded binary is not signed with the same certificate as the parent app. ...
-1
votes
1
answer
173
views
CallDirectory app extension runs out of memory without beginning request
I am running into an issue where my CallDirectory app extension runs out of memory immediately when I toggle my application on in the call blocking & identification settings screen. I set ...
2
votes
0
answers
369
views
How could I print to console in Share Extensions
I am trying to use print in my Share Extension, I tried several method: print, NSLog, os_log, Logger.log but none of them work.
I have successfully attached to the process in Xcode and the breakpoints ...
1
vote
0
answers
156
views
How to change from command line the Bundle identifier of an App extension?
I have an app extension that I want to use in several projects that all have different bundle identifiers. The problem is that App extension bundle identifiers must have a prefix consisting of their ...
6
votes
1
answer
1k
views
How to properly discontinue a widget on iOS?
I have decided to remove a widget extension from my app. So this particular widget type is no longer supported. So I completely removed the extension from my project, including all the code and the ...
0
votes
0
answers
206
views
File sharing between main app and share extension works on simulator but fails on device
I developed an app with a share extension, and want to receive files shared from other apps by the share extension.
It works fine on simulator, but get an error like below if I read the shared data (...
2
votes
0
answers
377
views
Unable to access Core Data from app extension even with app group
First time SO user so excited to be here.
I've come up against a problem where I am trying to access my Core Data model in both main app and app extension, call directory. I've followed many online ...
0
votes
1
answer
223
views
App Extension (Action Extension) doesn’t open
For some reason that I don't understand, the Action Extension Button (in Share menu) doesn't respond. Action extension, at this point, catches the URL from Safari (where it was launched from) to make ...
5
votes
1
answer
599
views
Can an App Extension be conditionally included in a build?
I'm starting work on 2 app extensions, and I'd like to set up my builds as follows:
Builds intended for the App Store should not include either extension
Builds intended for TestFlight should include ...
1
vote
1
answer
220
views
Build target MyNotificationService: Framework not found
I have a React Native app "MyApp" that has a "MyNotificationService" attached (i.e. NotificationService.appex embedded under the Frameworks, Libraries and Embedded Content in Xcode ...
0
votes
1
answer
46
views
UIActivityIndicatorView is not spinning in the share app extension
I have an UIActivityIndicatorView in the tableview cell.
To display the uploading status.
It works great on my app.
But it never spinning in the share app extension.
class MyCell: UITableViewCell {
@...
1
vote
1
answer
794
views
Firebase Auth user is outdated when using shared user access group
Sharing auth state between an app and its widget extension, but sometimes the auth state is not in sync. When the user signs in/out from my app, it refreshes the widget timeline, which then checks for ...
0
votes
1
answer
154
views
How to persist a variables value in Notification Service Extension on subsequent push notification
Is there a way somehow we can persist a variable's value in NSE.
Suppose i got a Bool variable i set it's value to true upon arrival of push in NSE and show the notification upon my work, now i got ...
6
votes
3
answers
7k
views
A warning "'init()' is deprecated"
I am making a image classification iOS app with Swift.
When I write
guard let model = try? VNCoreMLModel(for: SqueezeNet().model) else { return }
I got this warning:
'init()' is deprecated: Use init(...
6
votes
2
answers
4k
views
Share extension - App not showing in share menu on first attempt since iOS 14
Something weird seems to start happening after upgrade to Xcode 12 and iOS 14.
App use to show fine in share menu option before, but suddenly it is acting weirdly and only showing on second attempt ...
0
votes
1
answer
1k
views
Passing data and variables between targets
Overview
I'm trying tot understand app groups so that I can pass data and variables from my main app to my extension and viceversa.
What I found
It's very hard for me to understand a few concepts ...
4
votes
2
answers
2k
views
In Swift, how to ignore a part of the code when running from an App Extension target?
There's a similar question that works on Objective-C, but I tried the same code in Swift and it never executes, neither in the main app, nor in the action extension.
My situation is similar to the ...
3
votes
0
answers
521
views
Conditional Statements for App Extensions
I am trying to add Today Widget to my app and it needs to access the same file the main iOS app accesses. But in this file there's code the widget doesn't need access but needs to stay in that file. ...
5
votes
1
answer
3k
views
Supporting Share Sheet Suggestions
Following this article I'm trying to implement share sheet suggestions in my messaging app.
I have declared INSendMessageIntent support in my Share extension's info.plist.
It's even showing up in ...
6
votes
1
answer
630
views
iOS 13 notification service extension seems to ignore app specific preferred language. Is it a bug?
I use notification service extension to modify content of user notifications, especially localizing it's content as well as sound file.
This works as expected, extension simply inherits system ...