Post

Replies

Boosts

Views

Activity

Reply to Cycle inside my app on XCode 15 beta
This is the rest of the error message: command: P0:target-Appname-e523191a5dddb74851b7e061f613cdd207daf3e2cc00aeba593ba12e8843cae3-:Debug:GenerateDSYMFile /Users/fon/Library/Developer/Xcode/DerivedData/Appname-aepljzymlxbnxmekkzdewisujhhh/Build/Products/Debug-iphoneos/Appname.app.dSYM /Users/fon/Library/Developer/Xcode/DerivedData/Appname-aepljzymlxbnxmekkzdewisujhhh/Build/Products/Debug-iphoneos/Appname.app/Appname -> node: /Users/fon/Library/Developer/Xcode/DerivedData/Appname-aepljzymlxbnxmekkzdewisujhhh/Build/Products/Debug-iphoneos/Appname.app/Info.plist -> command: P0:target-Appname-e523191a5dddb74851b7e061f613cdd207daf3e2cc00aeba593ba12e8843cae3-:Debug:ProcessInfoPlistFile /Users/fon/Library/Developer/Xcode/DerivedData/Appname-aepljzymlxbnxmekkzdewisujhhh/Build/Products/Debug-iphoneos/Appname.app/Info.plist /Users/fon/Downloads/Appname-ios/App/Resources/Appname/Supporting Files/Info.plist -> node: /Users/fon/Library/Developer/Xcode/DerivedData/Appname-aepljzymlxbnxmekkzdewisujhhh/Build/Products/Debug-iphoneos/Appname.app/Frameworks/APGconnect.framework -> command: P0:target-Appname-e523191a5dddb74851b7e061f613cdd207daf3e2cc00aeba593ba12e8843cae3-:Debug:Copy /Users/fon/Library/Developer/Xcode/DerivedData/Appname-aepljzymlxbnxmekkzdewisujhhh/Build/Products/Debug-iphoneos/Appname.app/Frameworks/APGconnect.framework /Users/fon/Library/Developer/Xcode/DerivedData/Appname-aepljzymlxbnxmekkzdewisujhhh/SourcePackages/artifacts/apgconnect-swiftpackagemanager/APGconnect/APGconnect.xcframework/ios-arm64/APGconnect.framework
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’23
Reply to ShareLink not reliable, entitlement errors
Also happening to me still in ios 17.1.2 Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false} elapsedCPUTimeForFrontBoard couldn't generate a task port
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Dec ’23
Reply to Generating Live Photo from JPG and MOV fails
Having similar problem here. When using front camera device and recording live photos final Live Photo is flipped horizontally. If i manually flip it I get error when saving to gallery. Error Domain=PHPhotosErrorDomain Code=-1 "(null)" I need to use UIImage or CIImage to flip it and then i use png, jpeg or heic data as stillImageData. Whatever data i use, unless it is photo.fileDataRepresentation, it won't work. If i use just photo.fileDataRepresentation() as imageStillData it works but image is flipped (orientation is wrong makes face look weird). How to fix this? Here is code. extension CameraInput: AVCapturePhotoCaptureDelegate { public func photoOutput(_: AVCapturePhotoOutput, didFinishProcessingPhoto photo: AVCapturePhoto, error: (any Error)?) { guard error == nil else { Log.error("Error capturing photo: \(error!)") return } guard let data = photo.fileDataRepresentation(), let sourceImage = UIImage(data: data) else { Log.error("Failed to capture photo data") return } if #available(iOS 17.0, *) { self.stillImageData = sourceImage.heicData() ?? sourceImage.pngData() ?? sourceImage.jpegData(compressionQuality: 1.0) } else { self.stillImageData = sourceImage.pngData() ?? sourceImage.jpegData(compressionQuality: 1.0) } // Flip Image Horizontally let flippedImage = UIImage( cgImage: sourceImage.cgImage!, scale: sourceImage.scale, orientation: .leftMirrored ) DispatchQueue.main.async { self.delegate?.didFinishCreating(image: flippedImage) } } public func photoOutput(_ output: AVCapturePhotoOutput, didFinishProcessingLivePhotoToMovieFileAt outputFileURL: URL, duration: CMTime, photoDisplayTime: CMTime, resolvedSettings: AVCaptureResolvedPhotoSettings, error: (any Error)?) { if let error { Log.info("THERE WAS AN ERROR CREATING A LIVE PHOTO TO MOVIE FILE: \(error)") } else { Log.info("Finished processing live photo to movie file") guard let stillImageData else { Log.error("There is no image data for live photo.") return } // Save to Gallery PHPhotoLibrary.shared().performChanges( { // Add the captured photo's file data as the main resource for the Photos asset. let creationRequest = PHAssetCreationRequest.forAsset() creationRequest.addResource(with: .photo, data: stillImageData, options: nil) // Add the movie file URL as the Live Photo's paired video resource. let options = PHAssetResourceCreationOptions() options.shouldMoveFile = true creationRequest.addResource(with: .pairedVideo, fileURL: outputFileURL, options: options) }) { _, error in if let error { Log.info("CANNOT SAVE LIVE PHOTO TO GALLERY, ERROR \(error)") } else { Log.info("SAVED LIVE PHOTO TO GALLERY") } } } } }
Mar ’25
Reply to SwiftUI Preview Runtime linking failure
Any Updates? I am getting similar error when using latest version of GoogleMaps and GooglePlacesSwift SDKs. I cannot run SwiftUI previews. [Remote] JITError: Runtime linking failure Additional Link Time Errors: Symbols not found: [ _$s17GooglePlacesSwift5PlaceVMa, _$s17GooglePlacesSwift9PlaceTypeVMa, _$s17GooglePlacesSwift9PlaceTypeV8rawValueSSvg, _$s17GooglePlacesSwift5PlaceV5typesShyAA0D4TypeVGvg, _$s17GooglePlacesSwift5PlaceV16formattedAddressSSSgvg, _$s17GooglePlacesSwift5PlaceV11displayNameSSSgvg, _$s17GooglePlacesSwift24AutocompleteSessionTokenVMa, _$s17GooglePlacesSwift9PlaceTypeVMn ] ================================== | [Remote] LLVMError | | LLVMError: LLVMError(description: "Failed to materialize symbols: { (static-Main, { __replacement_tag$1 }) }") Here is a whole diagnose summary if it helps. previews_diagnostics_summary.txt
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25