Universal Apps

RSS for tag

A single Universal app includes native binaries that run on Intel-based Macs and Apple Silicon Macs.

Posts under Universal Apps tag

16 Posts
Sort by:

Post

Replies

Boosts

Views

Activity

Debugging a macOS IPS dump
I have a macOS application built via command line (xcodebuild) using Xcode 16.1. Developed on ARM but end user is on Intel (same macOS 15.1). App crashed and they sent me a .IPS dump. From what MacGPT tells me: Reading an IPS (Incident Processing System) file from a macOS crash report in Xcode isn’t as straightforward as with iOS device logs. I can open the dump using Console. I see the IPS dump is partially symbolicated. Line in the dump says: Meteorologist 0x103e0348f 0x103d88000 + 504975 Referencing this article: Adding identifiable symbol names to a crash report | Apple Developer Documentation I run this command and see the same UUID for x86_64 as in the dump. dwarfdump --uuid /Users/ed/meteorologist/trunk/Build/Meteorologist.xcarchive/dSYMs/Meteorologist.app.dSYM/Contents/Resources/DWARF/Meteorologist I run this command: atos -arch x86_64 -o /Users/ed/meteorologist/trunk/Build/Meteorologist.xcarchive/dSYMs/Meteorologist.app.dSYM/Contents/Resources/DWARF/Meteorologist -l 0x103d88000 0x103e0348f And it says: fg: no current job Suggestions for what I’m missing?
1
0
113
2w
App crashes a lot with RunCurrentEventLoopInMode
I have developed and distributed a Mac app on App Store. From the Organizer in Xcode, I noticed that it has a lot of crashes. And 90% of these crashes is the same crash as following: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00007ff81ce27112 __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007ff81ce5d233 pthread_kill + 263 2 libsystem_c.dylib 0x00007ff81cda9d10 abort + 123 3 libc++abi.dylib 0x00007ff81ce1a0b2 abort_message + 241 4 libc++abi.dylib 0x00007ff81ce0b1fd demangling_terminate_handler() + 266 5 libobjc.A.dylib 0x00007ff81cd08509 _objc_terminate() + 96 6 libc++abi.dylib 0x00007ff81ce194d7 std::__terminate(void (*)()) + 8 7 libc++abi.dylib 0x00007ff81ce19488 std::terminate() + 56 8 libdispatch.dylib 0x00007ff81cca6cdd _dispatch_client_callout + 28 9 libdispatch.dylib 0x00007ff81cca9746 _dispatch_continuation_pop + 460 10 libdispatch.dylib 0x00007ff81ccbaa5a _dispatch_source_invoke + 2150 11 libdispatch.dylib 0x00007ff81ccb3518 _dispatch_main_queue_callback_4CF + 759 12 CoreFoundation 0x00007ff81cf625d9 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 13 CoreFoundation 0x00007ff81cf236ae __CFRunLoopRun + 2752 14 CoreFoundation 0x00007ff81cf2252d CFRunLoopRunSpecific + 563 15 HIToolbox 0x00007ff825b403e1 RunCurrentEventLoopInMode + 292 16 HIToolbox 0x00007ff825b40137 ReceiveNextEventCommon + 587 17 HIToolbox 0x00007ff825b3fed5 _BlockUntilNextEventMatchingListInModeWithFilter + 70 18 AppKit 0x00007ff81f94d8f0 _DPSNextEvent + 886 19 AppKit 0x00007ff81f94bf5c -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1411 20 AppKit 0x00007ff81f93e359 -[NSApplication run] + 586 21 AppKit 0x00007ff81f9121f8 NSApplicationMain + 816 How to fix this issue?
4
0
336
Sep ’24
MacOS bundle's binary can't run
I made a project with MacOS/Bundle/Objective-C. I added main.m as like: #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { printf("Test\n"); } Built it and the generated bundle. I open the bundle with Finder and located the binary in the MacOS directory within the bundle. The file command returned as like: <path...>TestProject: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] <path...>TestProject (for architecture x86_64):Mach-O 64-bit bundle x86_64 <path...>TestProject (for architecture arm64): Mach-O 64-bit bundle arm64 It apparently generated the Universal binary. Of course, no error were reported on building. I tried to execute the binary with drag&drop the file into Terminal, but shell reported as like: zsh: exec format error: <path..>TestProject These are reproducing my trouble. My target project is so old but it can generate executable x86_64 only binary. I want to be universal binary. My Xcode is 15.4 on Sonoma.
1
0
378
Jul ’24
Transition from "Designed for iPad" to "Mac Catalyst"
Our apps can currently be installed on Apple Silicon Macs via the iPad app on Mac feature (“Designed for iPad”). Now we are working on “proper” (universal) Catalyst-based Mac apps that will be available on the Mac App Store. How does the transition work for users that currently have the iPad version installed? Will they automatically update to the Mac Catalyst app once it’s available, or do they need to re-install the app from the Mac App Store?
1
1
461
Jul ’24
Cannot Add New Platform to Universal App
I am trying to add macOS as a new platform version to a universal app, which currently has an iOS and visionOS version. Every time I try I receive this error - "macOS: There was an unexpected error while adding this platform." I submitted a Feedback - FB14001529 I also submitted a TSI and a contact us report through App Store Connect. Any help from Apple on this issue would be great. Thanks, David
0
0
433
Jun ’24
Transition MacCatalyst App to "Designed for iPad"
I currently have a universal app that uses MacCatalyst. I want to update the Mac app to use "Designed for iPad". I know Intel Macs won't be able to download the updated version, but will current Intel app users be able to restore the download version they had, (ie. a clean os install)? Will new intel users be able to download the previous catalyst version, or is it removed from the store completely?
0
0
431
Jun ’24
Broken Xcode
Hey. I'm a newbie in Xcode developing. I have just installed Xcode 10.2.1 on macOS 11.7.10 (20G1427) (my project cannot built on newer Xcode versions), and I guess that my copy of Xcode (or something related) is broken. Firstly, when Xcode running from Terminal, logs showing this: 2024-04-04 17:31:30.772 Xcode[1062:25499] Failed to load CoreSimulatorService. Access to simulator services will not be available. Error=Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={NSLocalizedDescription=CoreSimulator.framework was changed while the process was running. This is not a supported configuration and can occur if Xcode.app was updated while the process was running. Service name ((null)) does not match expected service name (com.apple.CoreSimulator.CoreSimulatorService).} 2024-04-04 17:31:30.773 Xcode[1062:36010] CoreSimulatorService connection became invalid. Simulator services will no longer be available. I tried to reinstall Xcode in /Applications, remove all Xcode-related folders, but nothing fixes. Secondly, I can't open Device Manager from Simulator. It says Not yet available. Please use simctl to manage devices. See rdar://problem/16642259. Screenshot: Please, who can help with this? (plz, sorry for my bad english :p)
2
0
1.1k
Apr ’24
Sign error (90886)
I encounter a warning: "Cannot be used with TestFlight because the signature for the bundle at “Lattics.app” is missing an application identifier but has an application identifier in the provisioning profile for the bundle. Bundles with application identifiers in the provisioning profile are expected to have the same identifier signed into the bundle in order to be eligible for TestFlight." (90886). I don't need the TestFlight. And I add "com.apple.application-identifier" to the entitlements, but it crash on opening. I got an error: Code Signing Crashes
1
0
949
Mar ’24
Codeweaver Crossover problems, com.apple.provenance and SIP
Hi So Apple Support sent me here ... (Case: 102237195769 if anyone has access) My entire file system seems to be tagged with "com.apple.provenance" tags ... they're everywhere drwxr-xr-x@ 3 jon staff 96 20 Jan 2023 .vs-kubernetes com.apple.provenance 11 drwxr-xr-x@ 5 jon staff 160 21 Jun 2023 .vscode com.apple.provenance 11 drwxr-xr-x 12 jon staff 384 28 Feb 00:17 .vscode-server drwxr-xr-x@ 3 jon staff 96 11 Dec 2022 .warp com.apple.provenance 11 -rw-r--r--@ 1 jon staff 691 29 Nov 19:14 .wget-hsts com.apple.provenance 11 -rw-r--r--@ 1 jon staff 361 11 Dec 15:55 .zprofile com.apple.provenance 11 -rw-r--r--@ 1 jon staff 300 23 Jul 2023 .zprofile.bak com.apple.provenance 11 -rw-r--r--@ 1 jon staff 136 4 Dec 2022 .zprofile.pysave com.apple.provenance 11 -rw------- 1 jon staff 16802 27 Feb 22:20 .zsh_history drwx------@ 7 jon staff 224 21 Feb 14:28 .zsh_sessions com.apple.provenance 11 -rw-r--r--@ 1 jon staff 1681 24 Feb 18:24 .zshrc Now I don't know if this is related to the CrossOver (aka Wine) problem we're experiencing, or if it's a coincidence .. however I'd like to understand why every file that gets created ends up with this tag. When installing a Bottle in CO none of the shortcuts appear within the CO App .. which is where we started all of this. jon@ziggy ~ % cd Library/Application\ Support jon@ziggy Application Support % ls -lad@ CrossOver drwxr-xr-x 7 jon staff 224 28 Feb 02:02 CrossOver jon@ziggy Application Support % cd CrossOver jon@ziggy CrossOver % ls -la@ total 784 drwxr-xr-x 7 jon staff 224 28 Feb 02:02 . drwx------+ 184 jon staff 5888 28 Feb 08:56 .. drwxr-xr-x 3 jon staff 96 28 Feb 01:59 Bottles -rw-------@ 1 jon staff 239584 28 Feb 01:59 cxfixes.xml com.apple.provenance 11 -rw-------@ 1 jon staff 256 28 Feb 01:59 cxfixes.xml.sha256 com.apple.provenance 11 -rw-------@ 1 jon staff 155031 28 Feb 02:02 gstreamer-1.0-registry.x86_64.bin com.apple.provenance 11 drwxr-xr-x 5 jon staff 160 28 Feb 01:59 tie Problem Summary The Desktop shortcut keeps randomly vanishing from the Finder Favourites section Every file is tagged as com.apple.provenance and despite trying to clear the tags (which does work) they re-appear moments later. At this stage .. I've run out of ideas, Codeweavers support has gone silent and Apple Support said "try developer.apple.com" ... sigh Last night I flattened my M1 MBP and reinstalled. All looked good until Migration Assistant got involved and then it migrated across whatever is doing this as the problem persists.
0
1
663
Feb ’24
Hiding a Window During Screen Sharing
I am attempting to create an application which contains sensitive banking data. I am trying to make a specific window visible to the local user which remains hidden during screen sharing sessions. My goal is to make this window visible only on the local machine, ensuring that it does not appear in screen sharing captures. Any links, projects or any frameworks which can help me do this
0
0
602
Jan ’24
Incorrect Registers Values with Rosetta 2
#include <stdio.h> int main() { unsigned long a, d; __asm__ volatile ( "\n\t" "movl $0x77777777, %%eax\n\t" "movl $0xffffffff, %%ecx\n\t" "xorl %%edx, %%edx\n\t" "divl %%ecx\n\t" "cwtd\n\t" "movq %%rax, %0\n\t" "movq %%rdx, %1\n\t" : "=r"(a), "=r"(d) :: "rax", "rdx" ); printf("rax: %lx, rdx, %lx", a, d); } The minimal program above was expected to give rax: 0, rdx: 77770000 but on macOS with Rosetta 2 it gave rax: 0, rdx, 0. It causes specfic programs (e.g. Genshin Impact) to crash.
3
12
1.6k
Jan ’24
AXSERVER
Can someone tell me what this is: com.apple.axserver and requestor = universalaccess[417], I'm trying to stop this I get 1000's per one minute: 023-11-21 20:49:20.763528 (gui/501 [100003]) : failed lookup: name = com.apple.axserver, handle = 1400, flags = 0x3, requestor = universalaccess[417], error = 3: No such process I tried to find tags that relate but the tags window is so tiny that I cannot remember what I scrolled...... Also what about people who don't know how to associate a tag with their needs? Thank you, Dave
4
0
1.2k
Nov ’23