-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build Swift Algorand SDK in apple M1 processer #31
Comments
hi @MadushanSenavirathna, while we double check this particular situation can you please try Cocoapods? We've added support to it in latest release. Asking this since I'm also using a M1 processor (with no need to exclude any architecture at all) and have zero issues compiling it. Also I'm not sure what you mean with this:
|
Also, please try these:
|
Hello,
Can I know the name of the pod?
Thanks,
Madushan
On Apr 27, 2022, at 1:35 PM, Stefano Mondino ***@***.******@***.***>> wrote:
Also, please try these:
1. download the SDK demo from here -> https://github.com/Jesulonimi21/swift-algorand-sdk-ios-showcase
2. try to compile it on your simulator (it's working on my M1).
3. update the SDK inside the demo (right click on swift-algorand-sdk on the package dependencies, update)
4. compile again (still working on my M1)
—
Reply to this email directly, view it on GitHub<#31 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVYF52CGE2GQEXTUPMBU5ZDVHDYN7ANCNFSM5UKZOAMQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@MadushanSenavirathna |
Version
Swift Algorand SDK Version - Latest 1.1.0
Xcode version - Version 13.2.1
iPhone simulator - iOS 15.2
Problem
When doing Xcode project build Algorand SDK showing missing import message. I have posted the error message billow.
This project run with apple M1 silicon processor default Xcode excluded architecture coming with
arm64
also addedx86_64
for project targets and the SDK targets but remaining the same issue.Change Build Settings > Excluded Architectures >
Also we Changed User-Defined from Targets > Build Settings
Targets > Build Settings > User-Defined added
Valid_ARCH
Finally we tried to build XCFramework combine with x86_64 and arm64 binaries but this
Swift Alfgorand SDK
only supportingSwift Package Manger
Please give us any suggestion to resolve this problem combine with two binaries by using XCFramworks in CoCoapods or if you can resolve this issue or update this library from your side let us know.
Thank you.
The text was updated successfully, but these errors were encountered: