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
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
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 bought the new MacBook Air m1 and install Xcode 12 on that and I try to run my React Native project on that but I could run normally on intel base MacBook (my old macbook).
I face with some error in my new MacBook.
I see this errors:
1- building for iOS Simulator, but linking in object file built for iOS, file '/Users/hosein/Desktop/sporty-app/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64
I fixed this with adding the arm64 on Excluded Architectures
2- module map file '/Users/hosein/Library/Developer/Xcode/DerivedData/Sporty-ficshtjjzxcsgkaohfxowaxpyivr/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
I get number 2 when I want run app on simulator but when I run on real device I don't have any errors.
How can I fix this error (number 2)?
Note: I am running the xxxx.xcworkspace and my target iOS version in pod and general in Xcode is 10.0
I'm trying to run a shell script on Mac OS M1, but it keeps giving me the error:
ModuleNotFoundError: No module named 'tensorflow'
I followed the instructions from here: https://caffeinedev.medium.com/how-to-install-tensorflow-on-m1-mac-8e9b91d93706.
Although I now can import it manually in python:
(mlp) sarah@Air-Sarah AIR % python
Python 3.8.11 (default, Aug 16 2021, 12:04:33)
[Clang 12.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'2.8.0'
my error in shell remains the same.
I also tried to install it with https://github.com/apple/tensorflow_macos. Nothing changed.
How can I address this issue?
Post not yet marked as solved
(Submitted to Apple's Developer Feedback)
Randomly while I type (or don't), it will unfocus the main window and then refocus it.
I've tried closing nearly every app but one, and it still seems to happen, so doesn't seem to be an app I'm using that causes this.
It’s usually WHILE I’m typing, so it causes issues. Video explains.
View video: https://www.loom.com/share/ed5971a47c204c819a2370d7fe0c8411 happens at 40 seconds in
Has anyone else experienced this and or have a temp fix? It makes testing on this platform nearly impossible, I can't code on it, or use it for anything productive.
Seems to only happen in latest beta 3 for Ventura.
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.
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 ...
}
}
}
}
Post not yet marked as solved
I am trying to update XCode to 13.2 on Monterey.
It's stuck at "Installing 7.49GB of 7.49GB" (been for a while...).
I tried rebooting the mac and and the install is still stuck.
Reported issue on Feedback assistant (number FB9808696).
What can I do?
Previous version of XCode still runs ok.
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
Our application (sandboxed, on the mac) sends Apple Events to itself for being recordable in Script Editor.
Alas, I just noted that this feature stopped working, i.e. at least under macOS 12.4 Script Editor does not see what our application does. I am not sure when (i.e. under what macOS) recordability stopped working, but it is gone on 12.4.
We have tried, (for testing), to set the sandbox exception com.apple.security.temporary-exception.apple-events to true, but it makes no difference.
I know that Apple Script in general, and recordability in particular, are badly out of fashion these days, so we are considering dropping recordability anyway. But if there's an easy way to keep it working, I'd be interested.
Thanks for any advice in advance
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
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
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
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
Cannot boot in safe mode machine crashes no matter what I do, cannot back-up, cannot do anything - need to know how to re-install monterey
I have already re-installled twice, my time machine isn't solving the issue - no updates as it is the second beta - i have erased the disk completely and it simply will not boot up period.
I have zero interest in messing with ventura at this point i just want my 2000 dollar paperweight to be a computer again so I need an answer that tells me how to install monterey from command line
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
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.
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