Post

Replies

Boosts

Views

Activity

Reply to Show When Run toggle in custom actions
Figured it out. To get rid of the Show When Run toggle, you have to do two things: 1) Have a blank success response template. 2) In the handle method of the intent, add the object you want to return in the response object as follows: let response = GetMacroIntentResponse(code: .success, userActivity: nil) response.macro = macroDetails return completion(response)
Oct ’20
Reply to Intent definition in framework causing warning about intents implemented in two places
My project is structured a little differently in that I have a Workspace in which there are two framework projects underneath the main project. See screenshot: When I click on the Intents.intendefinition file and try to change its settings, they are changed for both entries (since the top-level one is a reference to the one in the embedded framework). If I remove the reference in the main project, the actions don't appear anymore in Shortcuts.
Sep ’21
Reply to Errors running with ASAN when targeting iOS Devices
Getting this problem on Xcode 12 or Xcode 13 on an iPad mini running the GM of iOS 15. Reported as FB9641325. ==423==AddressSanitizer: libc interceptors initialized ==423==FindDynamicShadowStart, space_size = 0x00005b003fff || `[0x0002db020000, 0x0002d7ffffff]` || HighMem    || || `[0x0002db624000, 0x0002db01ffff]` || HighShadow || || `[0x0002d0024000, 0x0002db623fff]` || ShadowGap  || || `[0x000280020000, 0x0002d0023fff]` || LowShadow  || || `[0x000000000000, 0x00028001ffff]` || LowMem     || MemToShadow(shadow): 0x0002d0024000 0x0002da0247ff 0x0002db6e4800 0x0002db623fff redzone=16 max_redzone=2048 quarantine_size_mb=16M thread_local_quarantine_size_kb=64K malloc_context_size=30 SHADOW_SCALE: 3 SHADOW_GRANULARITY: 8 SHADOW_OFFSET: 0x280020000 ==423==ERROR: AddressSanitizer failed to allocate 0xffffffffff9fc000 (-6307840) bytes at address 2db624000 (errno: 22) ==423==ReserveShadowMemoryRange failed while trying to map 0xffffffffff9fc000 bytes. Perhaps you're using ulimit -v dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=@executable_path/Frameworks/libclang_rt.asan_ios_dynamic.dylib:/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Sep ’21
Reply to Disable new tab bar look
@ps3zocker thanks for the detailed overview of the problem. I filed my own feedback (FB13902858) and referenced your blog post and feedback ids. Let's hope Apple gives us the option to opt-out of the new tab view behavior in iPadOS 18.
Jun ’24