Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Archive compile error #27

Description

@ysoftware

I get this error when trying to archive for App Store upload. Xcode 10

Transaction.swift
static func dataForSignature(chainId: String?, pkt: PackedTransaction) -> Data {
    ...
    writer.pushInt(value: Int(UInt32(pkt.transaction.expiration.timeIntervalSince1970) & 0xFFFFFFFF))
    writer.pushShort(value: pkt.transaction.refBlockNum & 0xFFFF)

    writer.pushInt(value: Int(pkt.transaction.refBlockPrefix & 0xFFFFFFFF))
    // ^ Integer literal '4294967295' overflows when stored into 'Int'
    ...
}

Any suggestions on how to fix this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions