Skip to content

Commit eafd873

Browse files
Kroach/fixdomwarning (#156)
* Fix 'distributed object modifiers' compiler warning * Fix 5 Xcode compiler warnings Summary: Fix 5 Xcode compiler warnings which have slipped into master branch Fix 'distributed object modifiers' compiler warning Fix 'directory not found ... Localytics-iOS-4.2.0' warning. Test Plan: Confirm the 5 Xcode compiler warnings go away. Build and run the demo app on iOS simulator. PASSED Reviewers: alda Differential Revision: https://phabricator.optimizely.com/D16790
1 parent 2c2b21b commit eafd873

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

OptimizelyDemoApp/OptimizelyDemoApp.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@
818818
"\"${PODS_ROOT}/FirebaseCore/Frameworks\"",
819819
"\"${PODS_ROOT}/FirebaseInstanceID/Frameworks\"",
820820
"\"${PODS_ROOT}/Google/Frameworks\"",
821-
"\"${PODS_ROOT}/Localytics/Localytics-iOS-4.2.0\"",
821+
"\"${PODS_ROOT}/Localytics/Localytics-iOS-4.3.2\"",
822822
);
823823
INFOPLIST_FILE = "$(SRCROOT)/OptimizelyiOSDemoApp/OptimizelyiOSDemoApp-Info.plist";
824824
IPHONEOS_DEPLOYMENT_TARGET = 9.0;

OptimizelySDKShared/OptimizelySDKShared/OPTLYClient.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ - (nullable NSString *)variableString:(nonnull NSString *)variableKey
198198
userId:(nonnull NSString *)userId
199199
attributes:(nullable NSDictionary *)attributes
200200
activateExperiment:(BOOL)activateExperiment
201-
error:(NSError * _Nullable * _Nullable)error {
201+
error:(out NSError * _Nullable * _Nullable)error {
202202
if (self.optimizely == nil) {
203203
[self.logger logMessage:OPTLYLoggerMessagesClientDummyOptimizelyError
204204
withLevel:OptimizelyLogLevelError];
@@ -254,7 +254,7 @@ - (BOOL)variableBoolean:(nonnull NSString *)variableKey
254254
userId:(nonnull NSString *)userId
255255
attributes:(nullable NSDictionary *)attributes
256256
activateExperiment:(BOOL)activateExperiment
257-
error:(NSError * _Nullable * _Nullable)error {
257+
error:(out NSError * _Nullable * _Nullable)error {
258258
if (self.optimizely == nil) {
259259
[self.logger logMessage:OPTLYLoggerMessagesClientDummyOptimizelyError
260260
withLevel:OptimizelyLogLevelError];
@@ -310,7 +310,7 @@ - (NSInteger)variableInteger:(nonnull NSString *)variableKey
310310
userId:(nonnull NSString *)userId
311311
attributes:(nullable NSDictionary *)attributes
312312
activateExperiment:(BOOL)activateExperiment
313-
error:(NSError * _Nullable * _Nullable)error {
313+
error:(out NSError * _Nullable * _Nullable)error {
314314
if (self.optimizely == nil) {
315315
[self.logger logMessage:OPTLYLoggerMessagesClientDummyOptimizelyError
316316
withLevel:OptimizelyLogLevelError];
@@ -366,7 +366,7 @@ - (double)variableDouble:(nonnull NSString *)variableKey
366366
userId:(nonnull NSString *)userId
367367
attributes:(nullable NSDictionary *)attributes
368368
activateExperiment:(BOOL)activateExperiment
369-
error:(NSError * _Nullable * _Nullable)error {
369+
error:(out NSError * _Nullable * _Nullable)error {
370370
if (self.optimizely == nil) {
371371
[self.logger logMessage:OPTLYLoggerMessagesClientDummyOptimizelyError
372372
withLevel:OptimizelyLogLevelError];

0 commit comments

Comments
 (0)