Problems with current version of SDWebImage - objective-c

When I download the latest sourcecode of SDWebImage from the GitHub repo, I get compile errors in it.
For example in SDImageCache.m I have undeclared or unsynthesized properties. In initwithNameSpace: a variable named _ioQueue is used, but it is not declared anywhere and some others.
Same is in SDWebImageManager.m in its init method. It uses an undeclared variable named _imageCache. There is more of this.
Where can I download the latest working code of this project?

I was using iOS 5 for my project. It turned out that the new versions of the library are made for iOS 6. So I had to find a version which worked on iOS 5. I downloaded it, included it and it is working again.

Related

ITMS-90424: Invalid Swift Support

I am trying to upload my app to the app store. I can archive my app and successfully upload to App Store Connect, however, it keeps getting rejected with the following error message:
Dear Developer,
We identified one or more issues with a recent delivery for your app, "Retainer Tracker" 1.0 >>(8). Please correct the following issues, then upload again.
ITMS-90424: Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
Best regards,
The App Store Team
I've tried a bunch of diffrent fixes I've found online but still can't get it to work. Can anyone help?
The basic reason is your application using swift and your swiftsupport folder is empty. Let's move in detail
If your application using Xcode to make .ipa file and there is no third-party IDE involve to create Xcode project, you can fix this issue by upgrading your Xcode
If you are using some other IDE to make the Xcode project then please follow that link. I already give the answer to this question. Invalid Swift Support - The SwiftSupport folder is empty
The problem occurred right after I added a specific Swift Library
Doing the following fixed the issue in my case
Go to Targets > YourApp > Build Settings
Under Packaging:
Defines Module: Yes
Under Assets:
Always Embed Swift Standard Libraries: Yes
ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
For us, our CICD pipeline was using an Ad-Hoc Provisioning Profile to distribute the ipa build to Testflight/AppStore.
We fixed this by using an App-Store Provisioning Profile instead.

ObjC Category doesn't link to iOS7

I'm using SDWebImage with CocoaPods, and the app I'm working on must support iOS7.
After installing SDWebImage version 4.0.0 with CocoaPods, I import it into a class with #import <SDWebImage/UIImageView+WebCache.h>.
I use one of the category's methods, sd_setImageWithURL:, to asynchronously download an image.
This works fine on iOS8-10. But for some reason (only on iOS7), the app crashes saying that the sd_setImageWithURL: is an unrecognized selector.
Why would the category not load properly on only one OS? This doesn't make any sense to me at all. :/
Update:
I ran an analysis on the project, and I noticed this warning:
ld: warning: ignoring file <path/to/file>/libSDWebImage.a, file was built for archive which is not the architecture being linked (armv7): <path/to/file>/libSDWebImage.a
(The path was really long. I replaced it with <path/to/file>)
As I suspected, this warning does not show up when running on newer versions of iOS, which also use a different architecture, arm64.
So, it looks like the library libSDWebImage.a is being build for arm64. What can I do about this?
I set Build Active Architecture Only to NO in Build Settings, then did the "deep clean" as suggested by the answer here: Undefined symbols for architecture armv7: cocoaPods iPhone 5
That seemed to solve the issue for me.

Importing VLCKit (after c59cb1b) in a Swift based project

So I get the latest VLCKit to compile and I see in the xcode project it has it's Defines Module set to Yes in the project Build Settings, and it has the Product Module Name set to VLCKit.
I run make VLCKit to build the framework, everything builds and I get my VLCKit.framework file.
I embed that framework into my Swift based app.
If I use the bridging header, it complains that it can't find the VLCKit/VLCKit.h
from the swift side import VLCKit is also an error.
Anyone get this to work?
Well I managed to fix the issue by just creating a new project VLCKit won't play in my swift bridged project, which is another issue entirely. It will play in a purely obj-c project though.

Xcode was not found, Please specify it

I am new to Sencha and I am running KitchenSink in Sencha. But I am getting an error "Xcode was not found, Please specify it".
I have updated Sencha and installed everything but not able to get through this error. And I am not able to find to mention xcode path or else.
Actually I was having 3 Xcode of different version. Therefore I set the path for my usable Xcode in terminal. Thats all.

Failed to build ios project with CorePlot

I'm new to ios. I want to use CorePlot in my project.
I followed the steps in the instruction from CorePlot wiki and tried to build my project by Xcode 3.2.2. But i got some errors like
"'CALayer' may not respond to '-encodeWithCoder:' ",
"'NSMutableSet' may not respond to '-sortedArrayUsingDescriptors:'".
I tried to build the examples in the coreplot source code package and got the same errors.
Anyone knows the reason? How can i solve these problems? Any help would be appreciated.
The latest Core Plot projects are set up for Xcode 4.2. You may have to adjust some of the build settings to get them to work in older versions. I don't have that version of Xcode installed any more, but the first thing I would check is to make sure the Base SDK is set to one that you have instead of the generic "Latest iOS".