GithubHelp home page GithubHelp logo

Could not find module 'Solana' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator about solana.swift HOT 6 OPEN

metaplex-foundation avatar metaplex-foundation commented on June 15, 2024
Could not find module 'Solana' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

from solana.swift.

Comments (6)

ajamaica avatar ajamaica commented on June 15, 2024 1

This looks like an issue with your Xcode. Try running with roseta. I suspect you are using m1

Another hack is

s swiftSettings: [.unsafeFlags([
"--target x86_64-apple-ios11.0-simulator",
"--sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk"
], .when(configuration: .debug))]

from solana.swift.

ajamaica avatar ajamaica commented on June 15, 2024

This uses Swift package manager. So it should compile right away. Can you give us more information?

from solana.swift.

Perronef5 avatar Perronef5 commented on June 15, 2024

It compiles but not for x86.

Screen Shot 2022-09-18 at 4 15 18 PM

from solana.swift.

Perronef5 avatar Perronef5 commented on June 15, 2024

This looks like an issue with your Xcode. Try running with roseta. I suspect you are using m1

Another hack is

s swiftSettings: [.unsafeFlags([ "--target x86_64-apple-ios11.0-simulator", "--sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk" ], .when(configuration: .debug))]

Will try this thanks

from solana.swift.

ajamaica avatar ajamaica commented on June 15, 2024

I am still trying to reproduce this. @Perronef5 let me know if you found something

from solana.swift.

Perronef5 avatar Perronef5 commented on June 15, 2024

I am still trying to reproduce this. @Perronef5 let me know if you found something

Hey I ended up just going with @solana/web3. We can close this if you'd like

from solana.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.