How to solve “Application failed codesign verification” when uploading to iTunes Connect?

I found the solution to this problem after deeply looking at the log file. Although I created my own Distribution Profile and assigned to the CODE SIGNING IDENTITY the correct value for the developer certificate, it didn’t work giving me an error: “Application failed codesign verification”. The problem is at the following line: Authority=iPhone Developer: … Read more

Invalid virtual filesystem overlay file

Encountered this issue randomly while re-running my app after making changes on Xcode 8.0. I tried Product > Clean, and even deleted the build folder cmd + option + shift + k and deleted the derived data folder entirely, but that didn’t end up working. Still got the same error. Restarting Xcode is what ended … Read more

MyClass is unavailable: cannot find Swift declaration for this class – Release Build Only

If MyClass is inside a dynamic framework (Cocoa Touch Framework), It is likely that you’re using a build with wrong architecture. To check, browse your MyClass.framework in finder, and check Modules/AirServiceKit.swiftmodule. There should be something like x86_64.swiftmodule or arm64.swiftmodule, if you’re using simulator there should be x86, or arm if you’re building for device.

I’m getting compiler warnings with AFNetworking, but shouldn’t be. How do I fix it?

I’m not sure if you’re using CocoaPods or not but this is a known issue being tracked on the AFNetworking Github page. I was able to fix this by adding the correct import statements directly to my `PROJECTNAME-Prefix.pch there I changed it to this. #ifdef __OBJC__ #import <UIKit/UIKit.h> #import <SystemConfiguration/SystemConfiguration.h> #import <MobileCoreServices/MobileCoreServices.h> #endif If you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)