-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Introduction
Motivated by tidev/titanium-cli#593 I took a closer look at the log messages during the build process (app build and SDK build).
Currently, almost all Xcode warnings end up at log level trace β there are quite a lot of them.β¨ I have marked the warnings in the SDK build, because they are (a little bit) less relevant. A normal user is more likely to use a compiled/published SDK version.
The following list is intended as an overview and will be continuously updated.
Not conform to protocol warnings (-Wprotocol)
May not respond to warnings
-
TiFiletoopen:iniphone/Classes/FilesystemModule.m -
TiUIClipboardProxytoinitWithProperties:iniphone/Classes/UIModule.m -
TiUIViewtosetBorderRadius_:iniphone/Classes/TiUIiOSBlurView.m
Class method not found warnings (-Wobjc-method-access)
-
+appIdentifieriniphone/Classes/AppModule.m -
+_startActivity:iniphone/Classes/TiAppiOSActivityAttributesProxy.m - fix(ios): reduced TitaniumKit build warnings & fixed TiBlob crashΒ #14298
- SDK build:
+resourceBasedURL:baseURL:iniphone/TitaniumKit/TitaniumKit/Sources/API/ScriptModule.m
- SDK build:
Instance method not found warnings (-Wobjc-method-access)
-
-fireEvent:withObject:iniphone/Classes/TiUIWebView.m -
-addEventListener:iniphone/Classes/TiUIWebView.m -
-removeEventListener:iniphone/Classes/TiUIWebView.m -
-isFunctioniniphone/Classes/TiNetworkBonjourServiceProxy.m - fix(ios): reduced TitaniumKit build warnings & fixed TiBlob crashΒ #14298
- SDK build:
-JSValueInContext:iniphone/TitaniumKit/TitaniumKit/Sources/API/KrollModule.m - SDK build:
-applyProperties:iniphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.h
- SDK build:
Incompatible pointer types warnings (-Wincompatible-pointer-types)
-
JSValue *vs.NSString *iniphone/Classes/TiUIClipboardProxy.m -
NSArray *vs.NSDictionary *iniphone/Classes/TiUIShortcutItemProxy.m -
PlatformModule *vs.TiProxy *iniphone/Classes/PlatformModule.m -
TiDatabaseProxy *vs.TiProxy *iniphone/Classes/TiDatabaseProxy.m -
TiProxy *vs.TiUIClipboardProxy *iniphone/Classes/UIModule.m - fix(ios): reduced TitaniumKit build warnings & fixed TiBlob crashΒ #14298
- SDK build:
JSValueRef *vs.JSValueRef _Null_unspecifiediniphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.m - SDK build:
CAShapeLayer *vs.CALayer *iniphone/TitaniumKit/TitaniumKit/Sources/API/TiUIView.m
- SDK build:
Missing selector name warnings (-Wmissing-selector-name)
-
newValueiniphone/Classes/TiUITextWidgetProxy
Multiple methods named found warnings (-Wobjc-multiple-method-names)
-
contentOffsetiniphone/Classes/TiUITextArea.m
Auto property synthesis will not synthesize warnings (-Wobjc-protocol-property-synthesis)
-
socketiniphone/Classes/TiNetworkBonjourServiceProxy.m
Receiver is a forward class and corresponding interface may not exist warnings (-Wreceiver-forward-class)
- fix(ios): reduced TitaniumKit build warnings & fixed TiBlob crashΒ #14298
- SDK build:
TiHostiniphone/TitaniumKit/TitaniumKit/Sources/API/ScriptModule.m
- SDK build:
Receiver type warnings (-Wreceiver-expr)
- fix(ios): reduced TitaniumKit build warnings & fixed TiBlob crashΒ #14298
- SDK build:
NSUncaughtExceptionHandler *iniphone/TitaniumKit/TitaniumKit/Sources/API/TiExceptionHandler.m
- SDK build:
Enumeration value not handled in switch warnings (-Wswitch)
- fix(ios): reduced TitaniumKit build warnings & fixed TiBlob crashΒ #14298
- SDK build:
TiBlobTypeSystemImageiniphone/TitaniumKit/TitaniumKit/Sources/API/TiBlob.m
- SDK build:
No assign, retain, or copy attribute warnings (-Wobjc-property-no-attribute)
- TBA...
Loosed integer precision warnings (-Wshorten-64-to-32)
- TBA...
Conditional compilation flags in Swift warnings
- TBA...
Deprecation warnings (-Wdeprecated-declarations & -Wdeprecated-implementations)
- TBA...
Linker warnings