Post

Replies

Boosts

Views

Activity

Reply to xcode14:Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib
I meet the problem too. I use xcode 14 and run to iphone 11.2 , and my app crashes when runs. The crash log is " dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib Referenced from: /var/containers/Bundle/Application/aaaaa/bbbb.app/bbbb Reason: image not found" And I resloved it by set weak link to "buildsettings- Other Linker Flags", like this:-Wl,-weak-lswiftCoreGraphics -Wl,-rpath,/usr/lib/swift
Sep ’22
Reply to XCode 13: iOS12.1 DYLD, Library not loaded: /usr/lib/swift/libswiftCoreData.dylib
I meet the problem too. I use xcode 14 and run to iphone 11.2 , and my app crashes when runs. The crash log is " dyld: Library not loaded: /usr/lib/swift/libswiftCoreGraphics.dylib Referenced from: /var/containers/Bundle/Application/aaaa/bbbb.app/bbbb Reason: image not found" It seems to a known issue with xcode 13.2 ,to view detail 13.2 release note . And I resloved it by set weak link to "other link flag", like this:-Wl,-weak-lswiftCoreGraphics -Wl,-rpath,/usr/lib/swift
Sep ’22
Reply to ATTrackingManager in SwiftUI
Traditional implementation: Demo-Bridging-Header.h #import <AppTrackingTransparency/AppTrackingTransparency.h> Model.h if ATTrackingManager.trackingAuthorizationStatus == .notDetermined ||   ATTrackingManager.trackingAuthorizationStatus == .denied {   ATTrackingManager.requestTrackingAuthorization { status in ....   } } How to implement the above mentioned in SwiftUI?
Feb ’22