ClaySolutions / ClaySDK

This SDK for iOS contains the most up-to-date frameworks for integrating Mobile Key technology into your own iOS applications.
https://saltoks.com/developers/connect/mobile-sdk-introduction/
MIT License
1 stars 1 forks source link

Failed to archive on M1 mac with 1.10.0 #13

Closed AngeloMateus closed 2 years ago

AngeloMateus commented 2 years ago

Hardware: M1 Macbook Pro Can Build Simulator: Yes Can Archive: No

Hey guys just wondering if this is something on your end.

I can build the project fine on 1.8.2 on a non M1 mac, but on an M1 mac with ClaySDK 1.10.0 and Virgil 8.0.0 I get the following when archiving:

Pods/Target Support Files/Pods-Targets-Woods/Pods-Targets-MyTarget-frameworks.sh: line 42: source: unbound variable Command PhaseScriptExecution failed with a nonzero exit code

The script seems to look at this folder:

DerivedData/MyApp-Build/Build/Intermediates.noindex/ArchiveIntermediates/MyTarget/BuildProductsPath/Release-iphoneos/ClaySDK

And the archive fails, the folder is empty, not sure if that makes a difference.

I've downloaded the updated JustINMobile sdk from the Dropbox folder, not sure if there is anything else I'm missing?

jakov-clay commented 2 years ago

Hi @AngeloMateus we did not have those problems when archiving our application on mac m1. Did you try cleaning your Pods and DerivedData folders before archiving? Not sure what could be issue here.

AngeloMateus commented 2 years ago

Hey @jakov-clay I've tried the above but to no avail, I also get the following warning:

Screenshot 2022-03-28 at 17 15 41

I'm sure it is something I'm missing just wondered if you guys came across something similar.

AngeloMateus commented 2 years ago

Adding ClaySDK manually to Embed Frameworks seems to have fixed it!