This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NS_ASSUME_NONNULL_BEGIN | |
#define ResultSuccess(result) [Result<typeof(result)> succeededWithResult:result] | |
#define ResultFailure(error) [Result failedWithError:result] | |
typedef NS_ENUM(NSInteger, ResultType) { | |
ResultTypeSuccess, | |
ResultTypeFailure | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lane :put_upcoming_to_releases do | |
changelog_data = get_changelog_data | |
upcoming = changelog_data["upcoming"].clone | |
changelog_data["upcoming"]["version"] = nil | |
changelog_data["upcoming"]["notes"] = nil | |
if changelog_data["releases"].count > 0 | |
changelog_data["releases"].unshift(upcoming) | |
else | |
changelog_data["releases"].push(upcoming) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ fastlane run clear_derived_data | |
$ pod cache clean --all | |
$ rm -vfr Pods/ Podfile.lock | |
$ pod install |