Post

Replies

Boosts

Views

Activity

Reply to Attempts to install Tensorflow on Mac Studio M1 fail
There is one way I seem to have gotten this to work ... brew install python@3.9 python3.9 -m venv venv-metal-39 source venv-metal-39/bin/activate pip install tensorflow-macos==2.12.0 tensorflow-metal==0.7.0 python -c "import tensorflow as tf; print(tf.__version__)" But why does macOS insist on using the x86 version of python? And Why can I not use python 3.13 for this ... and install an old version like 3.9? (also 3.10 fails) ... and an old version of tensorflow.
Topic: Machine Learning & AI SubTopic: General Tags:
Dec ’24
Reply to Subscribe to an existing JMS provider
Like I said: I need to setup a listener for this JMS and store the stuff I receive in a Postgres Database. So that would be on Mac. There I want to populate a database with the stuff I receive from the JMS. Then I will build a ServerSideSwift backend so that my iOS App can query what is in the database.
Oct ’24
Reply to Subscribe to an existing JMS provider
Hi Quinn, Yes, I need to listen to a Java Message Service. I want to receive NOTAMs from the FAA SWIM/SWIFT portal: https://portal.swim.faa.gov Don't be fooled by the name Swift, it has nothing to do with 'our' Swift. I need to setup a listener for this JMS and store the stuff I receive in a Postgres Database. I attempted to install RabbitMQ, but after 3 days I still could not get the configuration setup properly. Now attemptinmg ActiveMQ Classic, but that is not going well either. There has to be a simpler way. Thanks! Wouter
Oct ’24
Reply to In MKMapView, show (some) annotations only when zoomed in
Hi, Like I said, I did use the clustering. This works very simple: Just add the following line: annotationView?.clusteringIdentifier = "Shop" and all shops will be grouped together. However, when panning, now I often get: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MKPointAnnotation memberAnnotations]: unrecognized selector I tried many things, but in the stack trace, I get no functions that I built. I never (or rarely) see this haoppen when I have like 200 annotations that I need to group (with only one clustering identifier) But when I have a larger area, with say 2000 annotations (with only one clustering identifier) I do get the crash. Does anybody know what is happening? And how I can stop the app from crashing? I am writing this: In Swift Using xcode Version 15.4 (15F31d) On a Mac Studio On an iPhone 14, and when running on 'Mac (designed for iPad)" Crash log: -[MKPointAnnotation memberAnnotations]: unrecognized selector sent to instance 0x60000335f800 ( 0 CoreFoundation 0x000000019928e2ec __exceptionPreprocess + 176 1 libobjc.A.dylib 0x0000000198d72158 objc_exception_throw + 60 2 CoreFoundation 0x000000019934056c -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x00000001991f7f3c ___forwarding___ + 1580 4 CoreFoundation 0x00000001991f7850 _CF_forwarding_prep_0 + 96 5 MapKit 0x00000001dd39c268 -[MKMapView annotationContainer:requestAddingClusterForAnnotationViews:] + 120 6 MapKit 0x00000001dd4f916c -[MKAnnotationContainerView _updateClusterableAnnotationViews:withID:] + 284 7 CoreFoundation 0x00000001991db934 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ + 24 8 CoreFoundation 0x000000019921b2ec -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 288 9 MapKit 0x00000001dd4f6510 -[MKAnnotationContainerView _updateAnnotationViewsForReason:updatePositions:] + 552 10 MapKit 0x00000001dd4f7ec8 -[MKAnnotationContainerView finishAddingAndRemovingAnnotationViews] + 28 11 MapKit 0x00000001dd439f98 -[MKAnnotationManager updateVisibleAnnotations] + 888 12 MapKit 0x00000001dd39267c -[MKMapView _didChangeRegionMidstream:] + 220 13 MapKit 0x00000001dd39a8fc -[MKMapView mapLayerDidChangeRegionAnimated:] + 60 14 VectorKit 0x00000001ccd76b24 -[VKCameraDelegateMediator mapLayerDidChangeRegionAnimated:] + 132 15 VectorKit 0x00000001ccd76a6c -[VKCameraController endRegionChange] + 80 16 VectorKit 0x00000001cd42b528 -[VKScreenCameraController stopPinchingWithFocusPoint:] + 64 17 VectorKit 0x00000001cce142b8 -[VKMapView stopPinchingWithFocusPoint:] + 104 18 MapKit 0x00000001dd41082c -[MKMapGestureController _updateZoomGestureForState:focusPoint:scale:velocity:gestureType:configuration:] + 824 19 MapKit 0x00000001dd41028c -[MKMapGestureController handlePinch:] + 312 20 UIKitCore 0x00000001c88c7700 -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:] + 124 21 UIKitCore 0x00000001c88c7574 _UIGestureRecognizerSendTargetActions + 92 22 UIKitCore 0x00000001c88c7334 _UIGestureRecognizerSendActions + 264 23 UIKitCore 0x00000001c8fc2eec -[UIGestureRecognizer _updateGestureForActiveEvents] + 516 24 UIKitCore 0x00000001c86defdc _UIGestureEnvironmentUpdate + 2448 25 UIKitCore 0x00000001c88c23f0 -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 296 26 UIKitCore 0x00000001c88c1f00 -[UIGestureEnvironment _updateForEvent:window:] + 188 27 UIKitCore 0x00000001c88c1cf0 -[UIWindow sendEvent:] + 3448 28 UIKitCore 0x00000001c88c07ec -[UIApplication sendEvent:] + 564 29 UIKitCore 0x00000001c88be9bc __dispatchPreprocessedEventFromEventQueue + 6448 30 UIKitCore 0x00000001c9459a18 __processEventQueue + 5508 31 UIKitCore 0x00000001c9453dc4 __eventFetcherSourceCallback + 152 32 CoreFoundation 0x00000001992194d8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 33 CoreFoundation 0x000000019921946c __CFRunLoopDoSource0 + 176 34 CoreFoundation 0x00000001992191dc __CFRunLoopDoSources0 + 244 35 CoreFoundation 0x0000000199217dc8 __CFRunLoopRun + 828 36 CoreFoundation 0x0000000199217434 CFRunLoopRunSpecific + 608 37 HIToolbox 0x00000001a39c119c RunCurrentEventLoopInMode + 292 38 HIToolbox 0x00000001a39c0e2c ReceiveNextEventCommon + 220 39 HIToolbox 0x00000001a39c0d30 _BlockUntilNextEventMatchingListInModeWithFilter + 76 40 AppKit 0x000000019ca76cc8 _DPSNextEvent + 660 41 AppKit 0x000000019d26d4d0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 700 42 AppKit 0x000000019ca69ffc -[NSApplication run] + 476 43 AppKit 0x000000019ca41240 NSApplicationMain + 880 44 AppKit 0x000000019cc94654 +[NSWindow _savedFrameFromString:] + 0 45 UIKitMacHelper 0x00000001b24f5f50 UINSApplicationMain + 972 46 UIKitCore 0x00000001c86cd7bc UIApplicationMain + 148 47 UIKitCore 0x00000001c89a8de0 __swift_destroy_boxed_opaque_existential_1Tm + 12004 48 GeoPS2 0x00000001005dd788 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 120 49 GeoPS2 0x00000001005dd700 $s6GeoPS211AppDelegateC5$mainyyFZ + 44 50 GeoPS2 0x00000001005dd804 main + 28 51 dyld 0x0000000198daf154 start + 2476 )
Aug ’24
Reply to xcode cloud: distribute apps through Firebase
Additional information: I have tried to install the Firebase CLI in my Xcode CLoud environment, using the following command in my ci_post_xcodebuild.sh script curl -sL https://firebase.tools | bash However, then I get an error: sudo: a terminal is required to read the password I also found a doc about Use the CLI with CI systems, but that starts with: "On a machine with a browser, install the Firebase CLI." I have no browser on the Xcode Cloud machine ;-) Can somebody please give me some pointers how to deploy my IPA to Firebase from within my Xcode Cloud environment?
Dec ’22
Reply to Testflight issue: "The requested app is not available or doesn't exist"
I am having the exact same issue: a version of my app has been removed from sale. After that I have been able to upload many versions to TestFlight. All of those could be installed by TestFlight users. Until now. Today I uploaded a version and when I try to install using TestFlight, I get "The requested app is not available or doesn't exist" When looking in the console, I see: TestFlight Install Request Changed: { bundleID = (removed), version = (null), currentTaskStatus = 0, previousTaskStatus = 0, installStatus = 0, reachedTerminalStatus = 0, reachedFailureStatus = 0, reachedCancelledStatus = 0, percentComplete = 0.000000, userFailureReason = (null), serverFailureReason = (null), persistentIdentifier = 0, installID = (null) } TestFlight Install Request Completed (status = Failed): { bundleID = (removed), version = (null), currentTaskStatus = 22, previousTaskStatus = 0, installStatus = 0, reachedTerminalStatus = 1, reachedFailureStatus = 1, reachedCancelledStatus = 0, percentComplete = 0.000000, userFailureReason = (null), serverFailureReason = (null), persistentIdentifier = 0, installID = (null) } TestFlight Install Request Completed (status = Failed): { bundleID = (removed), version = (null), currentTaskStatus = 22, previousTaskStatus = 0, installStatus = 0, reachedTerminalStatus = 1, reachedFailureStatus = 1, reachedCancelledStatus = 0, percentComplete = 0.000000, userFailureReason = (null), serverFailureReason = (null), persistentIdentifier = 0, installID = (null) } TestFlight Install Request Changed: { bundleID = (removed), version = (null), currentTaskStatus = 22, previousTaskStatus = 0, installStatus = 0, reachedTerminalStatus = 1, reachedFailureStatus = 1, reachedCancelledStatus = 0, percentComplete = 0.000000, userFailureReason = (null), serverFailureReason = (null), persistentIdentifier = 0, installID = (null) } So something failed in the second log line! What is going on? Kind regards, Wouter
Mar ’21