Skip to content

Compiling on Xcode 15.4 fails #507

@hessu

Description

@hessu

First, had to bump IPHONEOS_DEPLOYMENT_TARGET to 12.0 in project.pbxproj. after which the following errors are seen. Didn't get around to fixing these yet myself.

Frameworks/Carthage/Checkouts/InAppSettingsKit/Sources/InAppSettingsKit/Views/IASKEmbeddedDatePickerViewCell.m:19:32: error: implicit conversion from nullable pointer 'UILabel * _Nullable' to non-nullable pointer type 'UIView * _Nonnull' [-Werror,Wnullable-to-nonnull-conversion]
                [self.contentView addSubview:self.textLabel];
                                             ^
Frameworks/Carthage/Checkouts/InAppSettingsKit/Sources/InAppSettingsKit/Views/IASKEmbeddedDatePickerViewCell.m:22:163: error: implicit conversion from nullable pointer 'UILabel * _Nullable' to non-nullable pointer type 'ObjectType _Nonnull' (aka 'id') [-Werror,-Wnullable-to-nonnull-conversion]
                [self.contentView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"|-[label]-(>=16)-[picker(50@100)]-|" options:0 metrics:nil views:@{@"label": self.textLabel, @"picker": self.datePicker}]];                                                                                                      
                            ^
Frameworks/Carthage/Checkouts/InAppSettingsKit/Sources/InAppSettingsKit/Views/IASKEmbeddedDatePickerViewCell.m:27:145: error: implicit conversion from nullable pointer 'UILabel * _Nullable' to non-nullable pointer type 'ObjectType _Nonnull' (aka 'id') [-Werror,-Wnullable-to-nonnull-conversion]
                [self.contentView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-4-[label]-4-|" options:0 metrics:nil views:@{
@"label": self.textLabel}]];                                                                                                                                                    
          ^
3 errors generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions