I have yearly auto renew subscription. in ASC I generate a promo code. giving user free subscription.
At the end of the year are they
[A ] renewed automatically for free so promo code continues?
[B ] renewed automatically at the actual subscription price
[ C] not renewed so effectively get to choose to start a subscription at the current price
[D ] none of the above
Post
Replies
Boosts
Views
Activity
I was using the storekit configuration file to test subscriptio renewals so set it to renew every 30 seconds.
I have since shipped the App.
Should I have set the storekit configuration file back to real time for the renewals, or the storekit configuration file is only for non release builds so anything I have changed in their won’t effect the released build ?
Running extension either on physical device or simulator.
When trying to get the console log in Safari > Develop > Device >
The main page shows but when launching the popup.js extension it doesn't show in order to see console.
Works fine iOS 17*
Not available iOS 18
FB14109978
FB13955415
Calls to openURL in iOS 18 beta 22A5282m fails to launch browser.
Is this a bug?
Feedback Submitted FB13898610
Xcode crashes with below. Pressing the "-" to remove a package dependancy.
Solutions most welcome
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Xcode [27376]
Application Specific Information:
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 0:
0 CoreFoundation 0x00007ff815134dc6 __exceptionPreprocess + 242
1 DVTFoundation 0x000000011257fd3e DVTFailureHintExceptionPreprocessor + 448
2 libobjc.A.dylib 0x00007ff814c24e9d objc_exception_throw + 48
3 CoreFoundation 0x00007ff81504f400 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 604
4 CoreFoundation 0x00007ff81504f18a +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
5 DevToolsCore 0x000000012118ca09 -[PBXTarget removePackageProductDependencies:] + 1053
6 DevToolsCore 0x00000001211b1c65 -[PBXTarget packageReferenceWillBeRemoved:] + 273
7 CoreFoundation 0x00007ff8150b742a -[NSArray makeObjectsPerformSelector:withObject:] + 252
8 DevToolsCore 0x000000012116200c -[PBXProject(PBXTargetedNotifications) packageReferenceWillBeRemoved:] + 267
9 DevToolsCore 0x0000000121157026 -[PBXProject removePackageReference:] + 219
10 Xcode3UI 0x0000000128db10c8 __56-[Xcode3PackageReferenceListViewController removeItems:]_block_invoke + 319
11 Xcode3UI 0x0000000128db0c7b -[Xcode3PackageReferenceListViewController removeItems:] + 1925
12 AppKit 0x00007ff81891e34d -[NSApplication(NSResponder) sendAction:to:from:] + 337
13 IDEKit 0x00000001162a8e5f __37-[IDEApplication sendAction:to:from:]_block_invoke + 315
14 DVTFoundation 0x000000011257f51d DVTInvokeWithFailureHint + 78
15 IDEKit 0x0000000116202bc0 -[IDEApplicationController application:setFailureHintMessage:duringBlock:] + 118
16 IDEKit 0x00000001162a8f2b -[IDEApplication _invokeWithFailureHint:block:] + 105
17 IDEKit 0x00000001162a8cb8 -[IDEApplication sendAction:to:from:] + 333
18 AppKit 0x00007ff81891e1c3 -[NSControl sendAction:to:] + 86
19 AppKit 0x00007ff81891e0f5 __26-[NSCell _sendActionFrom:]_block_invoke + 131
20 AppKit 0x00007ff81891dffe -[NSCell _sendActionFrom:] + 171
21 AppKit 0x00007ff81891df46 -[NSButtonCell _sendActionFrom:] + 96
22 AppKit 0x00007ff81891ae32 NSControlTrackMouse + 1823
23 AppKit 0x00007ff81891a6ef -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 125
24 AppKit 0x00007ff81891a5b6 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 666
25 AppKit 0x00007ff8189199ab -[NSControl mouseDown:] + 666
26 AppKit 0x00007ff818918353 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 4582
27 AppKit 0x00007ff818891177 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 313
28 AppKit 0x00007ff818890e23 -[NSWindow(NSEventRouting) sendEvent:] + 345
29 IDEKit 0x0000000116269d6a -[IDEWorkspaceWindow sendEvent:] + 158
30 AppKit 0x00007ff819043470 -[NSApplication(NSEventRouting) sendEvent:] + 1456
31 IDEKit 0x00000001162a8a7f -[IDEApplication sendEvent:] + 308
32 AppKit 0x00007ff818bfe8de -[NSApplication _handleEvent:] + 65
33 AppKit 0x00007ff81872209a -[NSApplication run] + 640
34 IDEKit 0x00000001162a888a -[IDEApplication run] + 54
35 AppKit 0x00007ff8186f5ff3 NSApplicationMain + 816
36 dyld 0x00007ff814c59366 start + 1942
Kernel Triage:
VM - (arg = 0x3) mach_vm_allocate_kernel failed within call to vm_map_enter
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff814fac14a __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff814fe4ebd pthread_kill + 262
2 libsystem_c.dylib 0x7ff814f0aa79 abort + 126
3 IDEKit 0x116226509 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1178
4 IDEKit 0x1162278c3 -[IDEAssertionHandler handleUncaughtException:] + 749
5 IDEKit 0x116227c00 IDEHandleUncaughtException + 94
6 IDEKit 0x1162a9370 -[IDEApplication reportException:] + 79
7 AppKit 0x7ff818722129 -[NSApplication run] + 783
8 IDEKit 0x1162a888a -[IDEApplication run] + 54
9 AppKit 0x7ff8186f5ff3 NSApplicationMain + 816
10 dyld 0x7ff814c59366 start + 1942
I know if i change existing properties in a @Model it’s a migration. However if I add a new @Model class(es) that has no relationships to any existing is that still a migration or am i free to add?
if free to add, should i create a new model container or can I just add the new Model classes ?
Is there a system deep link URI to the built in files app? I would like to direct users to my apps location in the files app. For example files://myApp
The only exposed deep links for system I can find are the ones for mail, sms, FaceTime etc.
Thank you
(tag used for post was because I couldn’t find a deep link tag)
Users have reported unusually high data usage with my app.
So to investigate I have profiled in instruments. My app as expected in using minimal data. However in instruments I see an "Unknown" process. Which sends around 1mb of data every 2 seconds.
Can anyone explain what unknown process is? Sorry my question is vague but I'm at the beginning of understanding the instruments outputs so your help is so very much appreciated.
if I get the string contents of a PDF and print to the console in Xcode .
when run on simulator it’s fine but on device some words are missing.
same PDF, same code. only difference is simulator and physical device.
its only a word or two missing from the page.
anyone have any experience or suggestions with PDFKit to explain why a string would be missing the odd word ?
Im trying to duplicate the display of the built in Files app for documents in my app.
How do I convert a page in a PDFDocument to an Image to display as an icon like seen here (from Files App) with SwiftUI.
SOLVED:
Image(uiImage: (document.page(at: 0)?.thumbnail(of: CGSize(width: 100, height: 100), for: .cropBox))!)
@Model
class modelData {
var property1 : String = ""
init(property1: string){
...
}
}
for item in arrayOfManyStrings {
let instanceOfModelData = modelData(property1: item)
}
Trying to create multiple instances of my modelData. I expect the loop to run and create instanceOfModelData 30k times. However it is far too slow. 30-90 seconds depending on device.
If I remove the @Model macro, the same loop take < 5 seconds.
I obviously need the @Model for swiftData.
How to speed up creating instances of instanceOfModelData when using @Model
How to show the keyboard for textfield on ToolbarItem(placement: .keyboard)?
I have a button and it's action I want is to show the keyboard. On top of which is
ToolbarItem(placement: .keyboard) {
HStack{
Button(...)
TextField("", text: $bindingText)
.textFieldStyle(RoundedBorderTextFieldStyle())
.keyboardType(.numberPad)
.multilineTextAlignment(.trailing)
}
}
I know keyboard shows with a textfield focused. How though to show the keyboard for ToolbarItem(placement: .keyboard) Textfield if can't show it without showing the keyboard?
TLDR; Can I have a widget without a Timeline?
My previous watch app had a complication. Simply so it can be added to the watch face for a quick launch of the app. However now seeing that method is deprecated in favour of widgets. Can I add a widget without the need for all the Timeline as all I want is a button on the watch face to launch into my app. No data is updated over time so no need for all the extra timeline code.
Users on TestFlight have started seeing this crash. Any suggestions?
There's another thread on here with similar Q but seems to have no resolution. So starting my own.
The basics
Xcode 15.3.0 beta 3
iOS 17.4
The WatchOS 10.4
I have an iPhone app with a companion watch app. In Xcode if I set the scheme to my iOS app it installs on my phone but the companion watch app does not auto install on my watch. Automatic App Install is turned on in Watch app on iPhone. To run the app on watchOS I have to run it directly from the watch scheme on Xcode. If I delete the app from the watch then go into the iOS watch app on the iOS device to install on my watch I receive an error "This app could not be installed at this time"
Is there a known cause solution?