Hello Apple Developer Program,
Every year this banner shows up, I would follow the link and update my card. It's never expired!
My Apple account is able to charge my monthly iClould+ just fine. How come, it can't charge my apple developer account?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello forum,
I want to keep my app running in the background after user swaps up, for the purpose of workout tracking.
start up the task and continuously receipt GPS updates
process the location data
show the data on a live activity
Two examples
Strava
paddlelogger
Question:
Does this mean, these two apps would just pause when the .backgroundTimeRemaining becomes 0?
How does a workout app "work" in background mode, do I need to handle budget running out?
Topic:
App & System Services
SubTopic:
Widgets & Live Activities
Tags:
Core Location
Maps and Location
Background Tasks
Context:
The SwiftUI @Query macro has an internal modelContext.
The ModelActor also has a modelContext, from which the data should be read/written.
Issue:
When writing to @Model data fetched with @Query macro using a ModelActor, it will crash in the most not-obvious ways.
Also, fetching @Model with ModelActor will result in errors in Swift 6 since @Model aren't sendable.
Problem to Solve:
- How to write a good amount of data to SwiftData/CoreData without blocking the UI thread?
Would the recommendation from the Apple team be that a large amount of data should be read/written with ModelActor and a small amount should be done with the @Query's internal modelContext ?
Hello Apple support,
We are trying to figure out how to persist the activity logs and retrieve it. It seems the obvious place to find them is "Analytics & Improvements" in settings.
How are the .ips log generated? (OSLog?)
What are the conditions for the iOS to store the logs?
We are aware of this post, but no info on the storage of logs
I'm running on xcode 16, the project archives just fine on the local machine. However, with xcodecloud. It's running into exist code 70 on the following command
xcodebuild -exportArchive -archivePath .....
#output
Showing All Errors Only
Build Archive
Export archive for ad-hoc distribution
Command exited with non-zero exit-code: 70
Command exited with non-zero exit-code: 70
Export archive for development distribution
Command exited with non-zero exit-code: 70
Command exited with non-zero exit-code: 70
Export archive for app-store distribution
Command exited with non-zero exit-code: 70
Command exited with non-zero exit-code: 70
The apple connect account says expired card. But, when click on update card. The card in the account is up to date and not expired.
can't removed and re-add the card
do not have the option to use a different card
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
App Store Connect
Developer Program
Hello Apple ID support,
When a user successfully login with Apple, the apple OAuth will produce a appleIdToken. From my understanding this token is best to not leave the user device. I have two sub-system that can take a appleIdToken and manages the token-refresh separately.
In short:
Apple -> appleIdToken
sub-SystemA(appleIdToken) and sub-systemB(appleIdToken)
sub-SystemA and sub-systemB has two separate token management/refresh
The question:
Is this allowed by the Apple identify server?
Is the usecase of supplying appleIdToken to sub-SystemA and sub-systemB valid?
CLMonitor WWDC video, it says the same name can be reused await CLMonitor("greeting") but the production iOS 17 API actually crashes. Is this the correct behaviour? (See screenshot 1)
for try await events in monitor.events should work in from the WWDC video, but the production iOS 17 API does not work and need to insert await after in keyword. Also, never received any events from the monitor (See screenshot 2)
WWDC Video: https://developer.apple.com/wwdc23/10147
Hello Developer Support,
Let's say I have the following models. Is there a way to have dataSet pre-sorted by swiftData?
@Model
Struct Capture {
let someInfo: String
@Relationship(.unique, deleteRule: .cascade) // some way of sorting by CoolPoint.date
let dataSet: [CoolPoint]
}
@Model
struct CoolPoint {
let point: Int
let date: Date
}
Hi Apple support,
I'm using AVMultiCamPip as a project starting base and I have the following setup(sample[1]). It connects without headphones but generate a runtime error(sample[1]) with headphones. I'm running on iPhone Xs with iOS 14.3
The source code I'm using is the sample AVMultiCamPip code. How should I config the external headphone mic to prevent the runtime error to occur?
sample[1]
2021-01-23 11:10:54.216702-0500 AVMultiCamPiP[3760:649414] Metal GPU Frame Capture Enabled
2021-01-23 11:10:54.218037-0500 AVMultiCamPiP[3760:649414] Metal API Validation Enabled
(lldb) po (notification.object as! AVCaptureMultiCamSession).connections
▿ 6 elements
	- 0 : <AVCaptureConnection: 0x282092f80 (AVCaptureDeviceInput: 0x282081280 Back Camera) -> (AVCaptureVideoDataOutput: 0x2820f7840) [type:vide][enabled:1][active:1]>
	- 1 : <AVCaptureConnection: 0x282082ba0 (AVCaptureDeviceInput: 0x282081280 Back Camera) -> (AVCaptureVideoPreviewLayer: 0x2820e8060) [type:vide][enabled:1][active:1]>
	- 2 : <AVCaptureConnection: 0x282085220 (AVCaptureDeviceInput: 0x282081920 Front Camera) -> (AVCaptureVideoDataOutput: 0x2820f7a80) [type:vide][enabled:1][active:1]>
	- 3 : <AVCaptureConnection: 0x2820939e0 (AVCaptureDeviceInput: 0x282081920 Front Camera) -> (AVCaptureVideoPreviewLayer: 0x2820e8200) [type:vide][enabled:1][active:1]>
	- 4 : <AVCaptureConnection: 0x28208d460 (AVCaptureDeviceInput: 0x2820843e0 Headphones) -> (AVCaptureAudioDataOutput: 0x2820f7ba0) [type:soun][enabled:1][active:1]>
	- 5 : <AVCaptureConnection: 0x28208e480 (AVCaptureDeviceInput: 0x2820843e0 Headphones) -> (AVCaptureAudioDataOutput: 0x2820f7d20) [type:soun][enabled:1][active:1]>
(lldb) po (notification.object as! AVCaptureMultiCamSession).hardwareCost
0.58957714
(lldb) po (notification.object as! AVCaptureMultiCamSession).systemPressureCost
0.81041515
(lldb) po (notification.object as! AVCaptureMultiCamSession).outputs
▿ 4 elements
	- 0 : <AVCaptureVideoDataOutput: 0x2820f7840>
	- 1 : <AVCaptureVideoDataOutput: 0x2820f7a80>
	- 2 : <AVCaptureAudioDataOutput: 0x2820f7ba0>
	- 3 : <AVCaptureAudioDataOutput: 0x2820f7d20>
(lldb) po (notification.object as! AVCaptureMultiCamSession).inputs
▿ 3 elements
	- 0 : <AVCaptureDeviceInput: 0x282081280 [Back Camera]>
	- 1 : <AVCaptureDeviceInput: 0x282081920 [Front Camera]>
	- 2 : <AVCaptureDeviceInput: 0x2820843e0 [Headphones]>
(lldb) po notification.userInfo
▿ Optional<Dictionary<AnyHashable, Any>>
	▿ some : 1 element
		▿ 0 : 2 elements
			▿ key : AnyHashable("AVCaptureSessionErrorKey")
				- value : "AVCaptureSessionErrorKey"
			- value : Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12780), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x282e81200 {Error Domain=NSOSStatusErrorDomain Code=-12780 "(null)"}}
(lldb)