Lets say i have an sdk that is not one of those listed, but it uses one of those listed. In this case, do i have to get the sdk im using to update their dependency to add the required signature and privacy manifest?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am getting this error msg when I try to run a SwiftUI Preview on an iOS 15.5 simulator:
Termination Reason: Namespace DYLD, Code 1, Library missing
| Library not loaded: /usr/lib/swift/libswift_StringProcessing.dylib
| Referenced from: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/libLiveExecutionResultsLogger.dylib
| Reason: tried: '/Users/hfg/Library/Developer/Xcode/DerivedData/Testios15sim-aawlbfbtggzozseoekycwwpadhrc/Build/Intermediates.noindex/Previews/iphonesimulator/Testios15sim/Products/Debug-iphonesimulator/libswift_StringProcessing.dylib' (no such file), '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/libswift_StringProcessing.dylib' (no such file), '/usr/lib/swift/libswift_StringProcessing.dylib' (no such file), '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libswift_StringProcessing.dylib' (no such file)
FYI I tried with the Legacy Preview Execution both on and off
I saw in https://developer.apple.com/videos/play/wwdc2023/10180/ at 12:51 that the CLBackgroundActivitySession will relaunch the app to resume location updates even if user closed the app (which I interpret to mean swiping the app from app switcher) -- despite the fact that the CLBackgroundActivitySession only require a when-in-use location permission. Since this api can give the app location updates even after the user swiped the app from the switcher, how is the api different than using the current always allow authorisation system to continuously record user movements? For the use case of continously tracking them whenever they move (let's say you wanted to record their driving behaviours), can't the app just launch the CLBackgroundActivitySession and continue to recreate this session every time the app is relaunched to keep on tracking?
I am looking for a comparison chart between these three devices regarding what hardware each device support, showing every model of the devices.
I am assuming that even if the app i am using is not listed in the ios list of privacy impacting sdks, if they use a privacy impacting sdk in their sdk, then my app will be required to get the privacy manifest for that privacy impacting sdk: the rule must (logically!) be transitive.
So far apple has not sent any email about the app needing to provide that for any of our sdks. but i am worried that maybe apple has not done the check for us yet, and by the time they do , we will be near deadline to submit an app.
Is it possible automatically grey out files that are too big when user select files using the UIDocumentPickerViewController?
Not sure if my question is weird or not, but I didnt find any documentation about an sdks access to an apps documents directory.
Im assuming that because sdk is part of the sandbox that it can access and read from the documents directory? i.e. if i used
NSFileManager.defaultManager.URLForDirectory(
directory = NSCachesDirectory,
inDomain = NSUserDomainMask,
appropriateForURL = null,
create = false,
error = null,
)
to write a file called "file.txt", then any sdk my app used has the ability to access the contents of said directory?
If yes, why isnt this considered something more worth mentioning? usually in filemanager tutorials they never warn about this.
FYI: Im asking more for iOS and iPadOs then MacOs.
When you update XCode it updates the sdk version, but do changes in the sdk take effect for apps running in a lower iOS version or only the corresponding iOS version or higher?
For instance, https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-18_1-release-notes
Do changes listed in the notes only happen for apps that are running on iOS 18.1 devices or on any device with the app compiled against the 18.1 sdk version?
Am I the only person who finds the docs totally unclear on this?
if it set com.apple.CoreData.ConcurrencyDebug 1 as launch arg the app always crashes and i cant proceed into the app. is there a way to only raise a warning for these issues so that i can go into the app and check every place in one session for coredata errors?
when I get results from picker: PHPickerViewController, didFinishPicking results: [PHPickerResult])
and I load the image using itemProvider .loadFileRepresentation (the itemProvider is the NSItemProvider provided by the PHPickerResult)
will the url that's returned by this method be guaranteed to have the file extension ie, "file://image.jpeg" not "file://image"
I want to know if i need to just check the extension to know its file type.
(FYI in case this makes a difference, im only interested in user screenshots and screenrecordings)
It seems like this is not supported in the Simulator because when I run my Unit tests and I try to read protection key-value the value is always nil, even if I set the data protection level when I write the file.
On device this key returns the expected value.
Is it possible to have the simulator support the data protection classes to run my unit tests?
FYI Im testing on iOS
What is the expected change in distance that will trigger significant change. In the documentation
it says 500 m or more. can someone provide an upper limit? and what is the average distance.
I know that if a user force quit the app, the system will not relaunch the app upon a silent notification.
But, the opposite is true if the app is subscribed to location service ("always allow" permissions) and there is a location update. The app will be launched in background even if it is force quit.
So my question is, if user force quit the app, and then it is launched in background due to location updates, will that reopen the door for the app to be launched in background due to silent push notifications. Can location service update be used as a get out of jail card?
If not, will silent push notifications be sent nonetheless when the app is open in background due to a location service event.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
iOS
Core Location
User Notifications
Background Tasks
Is it possible to use a blank BGTaskRequest just to get the action of the app launching and then do your processing in the main app constructs instead , eg. AppDidFinishLaunching. This way you're not constrained to the tasks time limits set out by Apple. In general, I am confused about the purpose of using the BGTasks if the app will launch and you can start doing what you want in the main code body instead.
For an app I am building, I notice that the App privacy report shows that the app has only been using a user's location once in past 7 days but the prompt "app has used your location xx times in the background in the past 3 days." states that my app has been using the user's location 19 times in the past 3 days.
I am in agreement with the App Privacy Report, so I don't understand why the prompt is reporting that I am using so much more. My app only starts reading location data on certain conditions, other wise it does not take any action, and the prompt is giving the false impression that I am using the user's location data a lot more.
Yes I made a issue with Apple through the Feedback Assistant.