Post not yet marked as solved
Hello everyone,
I have an application that I need to build in a way that at the end 2 .pkgs are coming out.
One for M1 processors and one for Intel.
Now I am thinking about distribution.
Is there a way where one can create a universal installer that has the possibility to choose for itself between those versions (.pkgs) based on the host processor?
Or any other way of distribution where the user does not take care which version they will download, but where one universal installer is provided that should decide for itself which of the 2 .pkgs will be installed?
Post not yet marked as solved
Hello there,
Since I updated from Monterey (public Beta) to Ventura (public Beta) I am experiencing a native crash that it's like Apple's analytics is crashing when Avalonia tries to load an image (libAvaloniaNative.dylib).
If I execute /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono64 foo.exe (this is how VS for mac runs my application) my program runs with no issues, but if I execute /Library/Frameworks/Mono.framework/Versions/Current/bin/mono-sgen64 foo.exe (this is how Jetbrains Rider runs my application), then I get a native crash. The funny thing is that mono64 is an alias to mono-sgen64. Same results if I run this from the Terminal. This is happening since I updated my macOS to the new Ventura beta version. It's like executing mono from an alias works, but executing mono from the binary doesn't. Can anyone tell me something I can try to fix or workaround this to be able to debug from Rider?
Please find attached the mono crash report. Thanks a lot in advance
mono-sgen64-2022-07-15-124127.txt
Post not yet marked as solved
We have a project that compiles an app for both x64 and arm64 Mac machines. This build is done via Visual Studio MSBuild with specific RIDs and Mac native code via xcode.
Using the 'packages' application we build an distribution package, which contains the two pkgs for the specific architectures. The project contains settings to pick the correct PKG according to the architecture running the installation ('packages' will include a JavaScript script in the Distribution file for this).
This all works just fine when running the final PKG manually. But when deploying via Intune as LOB this doesn't work well. It seems Intune will skip the complete Distribution file and will install all the PKGs included in to distribution package.
The logfile shows that both x64 and arm64 are installed
Install.log
This will result in the x64 to be installed, and being overwritten by the arm64 installation. And a non-functional app on a x64 based Mac.
We edited the preinstall.sh for both packages and do another architecture check and error-out when running on a wrong platform; but that doesn't work either: Intune will cancel the whole installation transaction when one pkg fails. Resulting in a non-installed package.
What would be a good way to create an universal installation/distribution package with both architectures which would be able to be deployed via intune?
Post not yet marked as solved
Hi.
I'm trying out some of the new MusicKit functionality using Xcode 14 beta 3 and macOS 13 beta 3 and I'm getting the above error (or similar) whenever I use any of the new classes with a Mac Catalyst destination (an iOS 16 destination works fine).
I'm guessing one of my build settings is incorrect on either my project or target, but it's not obvious. So far I've set:
Project / IOS Deployment Target = 16.0
Target / Minimum Deployments / iOS = 16.0
Could someone please tell me what I'm missing?
Thanks in advance!
Post not yet marked as solved
I'm working with NSFileProviderReplicatedExtension for macOS app.
I want to apply custom badge on files instead of default badges (For example, com.apple.icon-decoration.heart, com.apple.icon-decoration.pinned, .. and so on).
I tried to define new UTI in my Info.plist refering this post (-> https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_declare/understand_utis_declare.html)
But it doesn't work.
Can i define custom badge? If yes, how can i work with this?
Please reply.
Post not yet marked as solved
I have a question about the different types of certs used for distributing macOS apps.
On the "Create a New Certificate" page in developer.apple.com portal and in https://developer.apple.com/forums/thread/128166, it suggests that the Mac App Distribution cert and Mac Installer Distribution cert are for submission apps to the Mac App Store. For distribution outside of the Mac App Store, the Developer ID certs should be used.
However, I tried with a package signed with the Mac Installer Distribution cert. It seems to install without issue. Does that mean the Mac Distribution certs can be used to sign packages to be distributed outside of the Mac App Store as well? If so, what are the benefits / advantages of using the Developer ID certs?
Post not yet marked as solved
I am recently developing a Document-Based App by Xcode v13.1
I find there is some unexpected messages output in the console as below
2022-07-14 18:18:22.182714+0800 TestApp[31090:987991] [default] Failed to get state for list identifier com.apple.LSSharedFileList.ApplicationRecentDocuments Error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (Access to list denied) UserInfo={NSDebugDescription=Access to list denied}
...
2022-07-14 18:19:28.460021+0800 TestApp[31090:988415] [default] Insert failed for list identifier com.apple.LSSharedFileList.ApplicationRecentDocuments Error: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" (Access to list denied) UserInfo={NSDebugDescription=Access to list denied}
By testing, I find a problem that the recently opened is unavailable on my App, (App Menu > File > Open Recent sub-menu is always empty)
As makabaka1880 said in the thread https://developer.apple.com/forums/thread/707260, it is a trigger to set Signing Certificate from Development to Sign to Run Locally
Therefore, we can avoid this kind of problem via one of the following temporary solutions:
removing the App Sandbox
keeping Signing Certificate being Development
changing the Bundle Identifier to the other available
Go deeper. How can we solve the problem fundamentally?
According the description of makabaka1880, we can conclude that the Failed Bundle Identifier has be recorded in somewhere not in the project folder.
By turning over the folder ~/Library/ using find and grep, removing non essential documents, especially whose name is similar to LSSharedFileList, even using the defaults command to delete relative App information, the problem is still unsolved.
Finally, I find a document about the sharedfilelist:https://eclecticlight.co/2017/08/10/recent-items-launch-services-and-sharedfilelists/
There is a command quoted in the document:
killall sharedfilelistd
To stop the process can ensure that the Failed Bundle Identifier record is not existing on memory.
By way of practice, another necessary operation is to remove relative data in the hard disk.
Here is the finally solution can be executed on console:
rm -rf ~/Library/Application\ Support/com.apple.sharedfilelist/ && killall sharedfilelistd
Post not yet marked as solved
Monterey 12.4 issue with TAP TO CLICK.
Tap to click works fine. UNTIL you hold CMD + Tap.
Doesn't respond until you tap it two, sometimes THREE times. For example opening a URL on your browser to open in a new tab.
Or using photoshop to select layers.
This is issue is driving me absolutely insane. I’m constantly tapping THREE or FOUR times just to open a window in another tab, or just do basic things in photoshop. What an absolutely stupid and ridiculous bug?!?!?! FIX THIS APPLE!
I've read that it's a widespread, meaningless and completely unnecessary bug. Are Apple aware, are they going to fix this? It seems it's been going on for over a year now.
Post not yet marked as solved
Since our last release around 6th July, we have observed app is not relaunching after updating the app while previously it used to relaunch. Users are facing issue that it is asking camera/Mic permissions again after app update and if we open system preferences window permission is already given.
Since our last release around 6th July, we have observed app is not relaunching after updating the app while previously it used to relaunch. Users are facing issue that it is asking camera/Mic permissions again after app update and if we open system preferences window permission is already given.
Not sure if something is changed in app store update process but everything is working if user relaunch the app and it doesn't asks permissions. Any clues...
Post not yet marked as solved
Installed on my 2018 MBP without issue.
Installed on my 2020 BTO i7 27" iMac, and appeared to install fine but on reboot.... nothing. Eventually goes to internet recovery endless loop.
Tried safe mode: didn't work
Tried target disk mode: acted normally, but no volumes show up
Tried Revive: Acted like it worked, but just went into endless internet recovery loop
Appears that there is no Mac disks at all now - no main partition, no recovery partition, nothing. Interesting that in revive mode with configurator, I can see the boot camp partition which still works fine (and is how I'm typing this) but the Mac side seems to have been obliterated. I wouldn't be too concerned, but there's a couple files I'd really like to recover. Any way to at least access or restore the file system at least to recover my stuff? Any chance that internet recovery mode will get fixed to address this? (Curious as to root cause of this issue too - especially since both the regular and restore partitions are not visible)
Post not yet marked as solved
I forgot my Admin Password and I am logged into a basic account without admin rights, so I started searching for admin-account-password.bypass-options, and I found a way to reset it by shutting the iMac down, restarting it, and pressing "Command" + "R", until the loading bar appears. Afterwards, there should be an "Utilities" button on the dock, but I can't find it. I was supposed to click "Utilities", then "Terminal", and then type in "reset password", but I can't find the "Utilities" button. I downloaded MacOS Ventura Developer Beta 2, so maybe this method only works with MacOS X and later but not MacOS Ventura so I wanted to ask you guys, if someone could help me out. Thanks for reading this article and I hope you know the answer!
Post not yet marked as solved
I have created my first app with python using py2app and it build my app successfully but when I try to open it, it crash but when I open it's package and run it from this path: myapp.app/contents/macos/myapp
it open console and run my app correctly without any error.
I can't understand how to read this kind of mac errors. I will be happy if you can help me with that:
Error Text
Post not yet marked as solved
Hi,
I have a jupyter notebook whose kernel dies when trying to execute the line:
import tensorflow_data_validation as tfdv
I have the following packages installed in my conda environment. Does anyone know how to fix this? I've tried may of the workarounds found on the internet (e.g. installing Miniforge x86 then importing, adding an 'import os .....' to my report code) and they have not worked. :(
Package Version
absl-py 1.1.0
ansiwrap 0.8.4
apache-beam 2.33.0
appdirs 1.4.4
appnope 0.1.2
argon2-cffi 20.1.0
astor 0.8.1
astunparse 1.6.3
async-generator 1.10
attrs 20.3.0
avro-python3 1.9.2.1
backcall 0.2.0
black 20.8b1
bleach 3.2.1
cachetools 4.2.0
certifi 2020.12.5
cffi 1.14.4
chardet 3.0.4
charset-normalizer 2.1.0
click 7.1.2
cloudpickle 2.1.0
coverage 5.5
crcmod 1.7
decorator 4.4.2
defusedxml 0.6.0
df2gspread 1.0.4
dill 0.3.1.1
docopt 0.6.2
dpcpp-cpp-rt 2022.1.0
entrypoints 0.3
Faker 8.10.0
fastavro 1.2.1
fasteners 0.15
flatbuffers 1.12
future 0.18.2
gast 0.3.3
google-api-core 1.27.0
google-api-python-client 1.12.11
google-apitools 0.5.31
google-auth 1.24.0
google-auth-httplib2 0.0.4
google-auth-oauthlib 0.4.2
google-cloud-bigquery 1.26.1
google-cloud-bigquery-storage 1.1.0
google-cloud-bigtable 1.6.1
google-cloud-build 2.0.0
google-cloud-core 1.4.4
google-cloud-datastore 1.15.3
google-cloud-dlp 1.0.0
google-cloud-language 1.3.0
google-cloud-pubsub 1.7.0
google-cloud-pubsublite 1.4.2
google-cloud-recommendations-ai 0.1.0
google-cloud-spanner 1.19.1
google-cloud-videointelligence 1.16.1
google-cloud-vision 1.0.0
google-crc32c 1.0.0
google-pasta 0.2.0
google-resumable-media 1.1.0
googleapis-common-protos 1.52.0
grpc-google-iam-v1 0.12.3
grpcio 1.35.0
grpcio-gcp 0.2.2
grpcio-status 1.47.0
gspread 3.6.0
h5py 2.10.0
hdfs 2.5.8
httplib2 0.17.4
idna 2.10
importlib-metadata 2.0.0
iniconfig 1.1.1
intel-cmplr-lic-rt 2022.1.0
intel-openmp 2022.1.0
ipykernel 5.3.4
ipython 7.19.0
ipython-genutils 0.2.0
ipywidgets 7.5.1
jedi 0.17.2
Jinja2 2.11.2
joblib 0.14.1
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 6.1.7
jupyter-console 6.2.0
jupyter-core 4.7.0
jupyterlab-pygments 0.1.2
keras 2.9.0
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.2
libclang 14.0.1
libcst 0.3.15
Markdown 3.3.3
MarkupSafe 1.1.1
mistune 0.8.4
mkl 2022.1.0
mkl-fft 1.3.1
mock 2.0.0
mockito 1.2.2
monotonic 1.5
mypy-extensions 0.4.3
nbclient 0.5.1
nbconvert 6.0.7
nbformat 5.0.8
nest-asyncio 1.4.3
notebook 6.1.4
numpy 1.23.1
oauth2client 4.1.3
oauthlib 3.1.0
opt-einsum 3.1.0
orjson 3.7.7
overrides 6.1.0
packaging 20.7
pandas 1.1.3
pandas-gbq 0.14.1
pandasql 0.7.3
pandocfilters 1.4.3
papermill 2.2.2
parso 0.7.0
pathspec 0.8.1
pbr 5.5.1
pexpect 4.8.0
pickle-mixin 1.0.2
pickleshare 0.7.5
pip 20.3.1
pluggy 0.13.1
prometheus-client 0.9.0
prompt-toolkit 3.0.8
proto-plus 1.13.0
protobuf 3.13.0
ptyprocess 0.6.0
py 1.11.0
pyarrow 0.17.1
pyasn1 0.4.8
pyasn1-modules 0.2.8
pycparser 2.20
pydata-google-auth 1.1.0
pydot 1.4.1
Pygments 2.7.3
pymongo 3.11.2
pyparsing 2.4.7
pyrsistent 0.17.3
pytest 6.2.4
python-dateutil 2.8.1
pytz 2020.4
PyYAML 5.3.1
pyzmq 20.0.0
qtconsole 4.7.7
QtPy 1.9.0
regex 2020.11.13
requests 2.25.0
requests-oauthlib 1.3.0
rsa 4.6
scipy 1.5.2
Send2Trash 1.5.0
setuptools 51.0.0
six 1.15.0
SQLAlchemy 1.3.20
stringcase 1.2.0
tbb 2021.6.0
tenacity 6.2.0
tensorboard 2.9.1
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.7.0
tensorflow 2.3.1
tensorflow-data-validation 0.25.0
tensorflow-estimator 2.9.0
tensorflow-io-gcs-filesystem 0.26.0
tensorflow-macos 2.9.2
tensorflow-metadata 0.25.0
tensorflow-metal 0.5.0
tensorflow-serving-api 2.3.0
tensorflow-transform 0.25.0
termcolor 1.1.0
terminado 0.9.1
testpath 0.4.4
text-unidecode 1.3
textwrap3 0.9.2
tfx-bsl 0.25.0
toml 0.10.2
tornado 6.1
tqdm 4.54.1
traitlets 5.0.5
typed-ast 1.4.1
typing-extensions 3.7.4.3
typing-inspect 0.6.0
typing-utils 0.1.0
uritemplate 3.0.1
urllib3 1.26.2
wcwidth 0.2.5
webencodings 0.5.1
Werkzeug 1.0.1
wheel 0.36.1
widgetsnbextension 3.5.1
wrapt 1.12.1
zipp 3.4.0
Post not yet marked as solved
One of our customers is having a problem finding our macOS app in the app store on an M1 system. It just doesn't show up, and if they use a direct link that I've sent them it shows a "not compatible with your system" message.
The app is currently compiled for Intel. We were missing some compatible CocoaPods & libraries for a universal build until just recently.
We know that it runs fine under Rosetta 2.
When they look at the list of compatible systems it says:
Requires
a Mac running macOS 10.15 or
later with an Intel 64-bit processor or
additional software not available in your
country or region.
They're on macOS Monterey, so I can't think of what the "additional software" could be except for Rosetta 2.
They also say that they already have Rosetta 2 installed, and I haven't seen the App Store block a download because of missing Rosetta 2.
How can I check to see that they do, in fact, have Rosetta 2 installed?
Has anyone seen the App Store block a download because of Rosetta 2?
Any ideas what could be causing this other than Rosetta 2?
The customer's region is New York, USA, so "not available in your
country or region." is unlikely.
When I do a search from my M1 mini the app shows up just fine.
I don't know how to make this function to return base64encoded string of thumbnail in jpeg format.
let request = QLThumbnailGenerator
.Request(fileAt: fileURL, size: size, scale: scale,
representationTypes: .lowQualityThumbnail)
QLThumbnailGenerator.shared.generateRepresentations(for: request)
{ (thumbnail, type, error) in
DispatchQueue.main.async {
if thumbnail == nil || error != nil {
// Handle the error case gracefully.
} else {
// return the thumbnail as bas64 string.
return ...
}
}
}
}
I don't know if it's an error or something like that, but I can't use my iPhone 12 camera as webcam with my Mac Studio in Facetime and Quicktime. I'm using a 27" LG screen without webcam. Is it necesary to get by?
What's the thing? Anybody with my issue?
thanks...
Post not yet marked as solved
Hello,
I would like to know how to modify the login and unlock screen of MacOS to add more options and functionality.
Thanks
Post not yet marked as solved
On two different Macs I get intermittent errors where SDK include files are not found.
The file that contains the include statement, and the included file not found are different most times. When I check for the file it exists.
A rebuild often works.
Xcode 13.1 with MacOSX12.0.sdk
and 13.3 with MacOSX12.3.sdk
I've looked in the system console for error around the failure time,
but cannot see anything.
AFAIK i do not have any automatic updates selected.
I checked timestamps of files/folders involved, and none are recent.
Example error:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/include/c++/v1/algorithm:653:10: 'memory' file not found
#include <memory>
Post not yet marked as solved
Our app will crash when launching on the M1 mac, and the same app on iPhone or iPad are normal. I can't figure out what's the problem with our code through the log file.
Here are the crash logs from two app versions:
crash.txt
crash2.txt
The similar information I can get is :
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
VM - pmap_enter failed with resource shortage
and in the main thread, the same call stack is:
7 libsystem_c.dylib 0x187d3eca4 raise + 32
8 libdispatch.dylib 0x187c7abac _dispatch_client_callout + 20
9 libdispatch.dylib 0x187c7e080 _dispatch_continuation_pop + 504
10 libdispatch.dylib 0x187c911a4 _dispatch_source_invoke + 1356
11 libdispatch.dylib 0x187c89000 _dispatch_main_queue_callback_4CF + 772
12 CoreFoundation 0x187f45e60 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
13 CoreFoundation 0x187f03820 __CFRunLoopRun + 2540
14 CoreFoundation 0x187f02694 CFRunLoopRunSpecific + 600
15 HIToolbox 0x190a78990 RunCurrentEventLoopInMode + 292
16 HIToolbox 0x190a78704 ReceiveNextEventCommon + 552
17 HIToolbox 0x190a784c4 _BlockUntilNextEventMatchingListInModeWithFilter + 72
18 AppKit 0x18aa57aec _DPSNextEvent + 844
19 AppKit 0x18aa56390 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1332
20 AppKit 0x18aa483b0 -[NSApplication run] + 596
21 AppKit 0x18aa19a84 NSApplicationMain + 1064
22 AppKit 0x18acefff0 _NSApplicationMainWithInfoDictionary + 24
23 UIKitMacHelper 0x19d3f0484 UINSApplicationMain + 1280
24 UIKitCore 0x1af23ece4 UIApplicationMain + 164
25 OKEx 0x1005b771c 0x1005b0000 + 30492
26 dyld 0x1068bd0f4 start + 520
Is there any suggestions?
Post not yet marked as solved
Scrolling is bugged on every mouse that I connect and it is even inverted.. And when I disable natural scroll in mouse section then my trackpad is inverted.. I tried connecting 3 mouses and neither of them worked properly.. I also tried playing with settings and MOS..