-
-
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:
Unused variable warning (-Wunused)
- chore(ios): removed APSAnalytics framework and analytics stuffย #14313
- SDK build:
sharedAnalyticsiniphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.m
- SDK build:
No assign, retain, or copy attribute warnings (-Wobjc-property-no-attribute)
- TBA...
Loosed integer precision warnings (-Wshorten-64-to-32)
- TBA...
Parameter not found in the function declaration warning (-Wdocumentation)
- chore(ios): removed APSAnalytics framework and analytics stuffย #14313
- SDK build:
{BOOL},{NSInteger}anddeployTimeiniphone/TitaniumKit/TitaniumKit/Libraries/APSAnalytics/APSAnalytics.h
- SDK build:
Marked with deprecated command but no deprecation attribute warning (-Wdocumentation-deprecated-sync)
- chore(ios): removed APSAnalytics framework and analytics stuffย #14313
- SDK build:
sendCrashReport()and others iniphone/TitaniumKit/TitaniumKit/Libraries/APSAnalytics/APSAnalytics.h
- SDK build:
Deprecation warnings (-Wdeprecated-declarations & -Wdeprecated-implementations)
- TBA...
Conditional compilation flags do not have values in Swift warnings
- fix(ios): fixed Swift compilation conditions and flagsย #14352
- SDK build:
SWIFT_ACTIVE_COMPILATION_CONDITIONSiniphone/iphone/Titanium.xcodeproj/project.pbxproj
- SDK build:
Linker warnings
Destination warnings Using the first of multiple matching destinations
- fix(ios): fixed multiple matching destinations warning for SDK build and clean app buildย #14349
- running
xcodebuild cleanfromiphone/cli/commands/_build.js - SDK build: running
xcodebuild archivefromiphone/TitaniumKit/TitaniumKit/Scripts/build-universal-framework.shandsupport/iphone/build_titaniumkit.sh
- running