BlockchainCommons / GordianCosigner-iOS

Offline PSBT signer for iOS or MacOS
Other
8 stars 5 forks source link

Errors for M1 Build & Universal Build #15

Closed ChristopherA closed 3 years ago

ChristopherA commented 3 years ago

Using PR #4:

I do seem to be able to successfully build for "My Mac"or "My Mac (Rosetta)" using my MacBook Air (M1, 2020), but when it starts I get:

image

In Xcode I see:

Get failed: The specified item could not be found in the keychain.
Set failed: A required entitlement isn't present.

I see a different error and the build is NOT successful when I selected to build for "Any Mac (Apple Silicon, Intel)". I get this error:

image
ChristopherA commented 3 years ago

My guess is that two different settings have to be fixed, one being the entitlement, and the other being some universal build setting that is not set properly.

ChristopherA commented 3 years ago

I'm now about to build for Simulator (iPod touch 7th & iPhone 12 max) and for "My Mac" (both m1 and rosetta), but I'm not able to build a "Universal" — I get the same "a build only device cannot be used to run this target".

I'll close this issue with the merge, but I'm not sure about the "build only device" so I'll do it as a separate issue.

ChristopherA commented 3 years ago

Addressed in PR #4.