In the context of the issue, the functionality in the HTML file associated with ImageCacheIt is not functioning as expected, whereas the Image tag is operating correctly.
Currently, I am encountering challenges with the implementation of ImageCacheIt on iOS. Despite having attached a StackBlitz project for reference, there are persisting issues:
The tab functionality within the HTML file associated with ImageCacheIt is non-functional, whereas the standard tag operates correctly.
Upon attempting to launch the release version of the iOS application ns build ios --bundle --env.uglify --env.aot --release --forDevice, the application crashes
I'm also attaching Sample project to reproduce error : src.zip
possible error could be :
Xcode build...
/Users/pap/Documents/Temp Project /UploadTest/platforms/ios/Pods/SDWebImage/SDWebImage/Core/SDWebImageDefine.m:16:65: warning:
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
static inline NSArray<NSNumber *> * _Nonnull SDImageScaleFactors() {
^
void
1 warning generated.
/Users/pap/Documents/Temp Project /UploadTest/platforms/ios/Pods/SDWebImage/SDWebImage/Private/SDImageAssetManager.m:12:40: warning:
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
static NSArray *SDBundlePreferredScales() {
^
void
1 warning generated.
/Users/pap/Documents/Temp Project /UploadTest/node_modules/@triniwiz/nativescript-image-cache-it/platforms/ios/src/NSURLExt.swift:8:51: warning: forming 'UnsafeRawPointer' to a variable of type 'Optional<String>'; this is likely incorrect because 'Optional<String>' may contain an object reference.
return objc_getAssociatedObject(self, &NSURLProps.uuid) as? String
^
/Users/pap/Documents/Temp Project /UploadTest/node_modules/@triniwiz/nativescript-image-cache-it/platforms/ios/src/NSURLExt.swift:12:48: warning: forming 'UnsafeRawPointer' to a variable of type 'Optional<String>'; this is likely incorrect because 'Optional<String>' may contain an object reference.
objc_setAssociatedObject(self, &NSURLProps.uuid, unwrappedValue as NSString?, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
In the context of the issue, the functionality in the HTML file associated with ImageCacheIt is not functioning as expected, whereas the Image tag is operating correctly.
Currently, I am encountering challenges with the implementation of ImageCacheIt on iOS. Despite having attached a StackBlitz project for reference, there are persisting issues:
The tab functionality within the HTML file associated with ImageCacheIt is non-functional, whereas the standard tag operates correctly.
Upon attempting to launch the release version of the iOS application
ns build ios --bundle --env.uglify --env.aot --release --forDevice
, the application crasheshttps://stackblitz.com/edit/nativescript-stackblitz-templates-wcgdeq?file=src%2Fapp%2Fitem%2Fitems.component.html
NPM version 10.4.0 Nativescript version : 8.6.5 Node.js v20.11.0 Tried on Xcode version 15.1 & 15.2 Package.json :
I'm also attaching Sample project to reproduce error : src.zip
possible error could be :
any workaround to fix this error ASAP