Post

Replies

Boosts

Views

Activity

SF Symbols 3 Bug
I am currently using the latest Mac OS beta, Xcode 13, and iOS 15. For some reason whenever I add an sf symbol into my app it puts the fill version of the symbol no matter what I do I can't change it. I've tried creating a custom icon that looks identical through the sf symbols app but nothing is being rendered.
2
0
1.1k
Sep ’21
Swift Package Manager MongoDB
I've been trying for hours just wanted some direction. I am trying to set up an app that uses a local mongo database. I've set up the IP address and everything, I'll be port forwarding for usage outside my local network. But I've been having some trouble importing mongbodb for my swift app. I keep getting this error with the package manager. If you have some tips please send them my way. So here is the code I'm supposed to use got this from the GitHub page: https://github.com/mongodb/mongo-swift-driver // swift-tools-version:5.1 import PackageDescription let package = Package( 		name: "MyPackage", 		dependencies: [ 				.package(url: "https://github.com/mongodb/mongo-swift-driver.git", from: "VERSION.STRING.HERE"), 		], 		targets: [ 				// Async module 				.target(name: "MyAsyncTarget", dependencies: ["MongoSwift"]), 				// Sync module 				.target(name: "MySyncTarget", dependencies: ["MongoSwiftSync"]) 		] ) So all I did was add the version I needed and I put the latest. // swift-tools-version:5.3 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( 		name: "MongoTools", 		dependencies: [ 				.package(url: "https://github.com/mongodb/mongo-swift-driver.git", from: "1.0.1"), 		], 		targets: [ 				// Async module 				.target( 						name: "MyAsyncTarget", 						dependencies: ["MongoSwift"] 				), 				// Sync module 				.target( 						name: "MySyncTarget", 						dependencies: ["MongoSwiftSync"] 				) 		] ) But now I'm getting some warnings and I can't import the library or use it. I also went into the sources folders and created appropriate folders for the modules but nothing yet. Sometimes it says I need to specify a path which I try to do but nothing's working. Image Link of Error - https://developer.apple.com/forums/content/attachment/6dcb88bf-071e-48df-bbe2-e4c2e1a64e3b
1
0
940
Jan ’21
SwiftUI MapKit Callouts
I think they are called callouts. I want to create custom map annotations using swiftUI Views in the map this is the code i'm using: Map(coordinateRegion: $coordinateStart, interactionModes: interactionMode, showsUserLocation: true, userTrackingMode: $trackingMode, annotationItems: locations, annotationContent:{(location)in                         MapAnnotation(coordinate: location.coordinate){ EventMapAnnotation()}                     }) The custom map Annotation uses the view "EventMapAnnotation" to show a yellow circle that I'm using to test as a button. Now I want this button or this Annotation to show me a window or a view with more details about the location. I've heard of something called a "Callout" But im not sure if the pure SwiftUI map supports it yet.
2
0
2.3k
Jan ’21
Big Sur beta 8
After downloading big sur beta 8 my screen flickers from time to time. And also when I go over to windows to play video games I'm getting 70 frames but it jitters every time I move the mouse lol it wasn't doing that before. I have a 27inch iMac 8core 5500xt 8gvram 40gb ram 500gb ssd.
1
0
605
Sep ’20
Xcode 12
Xcode will not let me run my apps externally on my phone. But the simulator works. I wonder if its because I have iOS 14 on my phone.I don't know if Xcode 12 works with iOS 14 I think somewhere it says it does but I think it might still be glitching. In the meantime I'll use the simulator. Anyone know any bypass yet or a fix I don't expect an answer this came out like 4 days ago lol. Error: Failed to prepare device for deployment. If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device. Specs: MacBook Pro 15" 2018 6 Core 16Gb Ram BigSur Beta Iphone 11 Pro Max 64gb iOS 14 Beta Xcode 12 Beta
2
0
2.4k
Jun ’20