question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not find module 'BigInt' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

See original GitHub issue

✅ PrerequisitesScreenshot 2021-12-29 at 12 28 04 PM

  • Did you perform a cursory search of open issues? Is this question already asked elsewhere?
  • Are you reporting to the correct repository (magic-sdk)?

❓ question

Frame Work react-native

  • Build fail in xcode 13 due to Could not find module ‘BigInt’ for target ‘x86_64-apple-ios-simulator’; found: arm64, arm64-apple-ios-simulator.

Added IN Podfile:

     pod 'MagicSDK'
     pod 'BigInt'

also tried to add ‘x86_64-apple-ios-simulator’/ ‘arm64’/ ‘arm64-apple-ios-simulator’ in EXCLUDED_ARCHS in Build Settings.

and also i have imported lib in build phases shown in image:

🌎 Environment

Software Version(s)
magic-sdk 2.4.0
BigInt 5.2.0
Browser
yarn
mac os

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
virendrasinh786commented, Jan 8, 2022

steps i have done :

step1: installed package “@magic-sdk/react-native

  • follow steps as per given in package.
  • work in android.

step2: For IOS:

  1. Added pod ‘MagicSDK’ in pod file. && link MagicSDK.xcframework in link binary with libraries.
  2. Getting Error:

MagicSDK-Web3 Group

Swift Compiler Error Group ios/Pods/MagicSDK-Web3/MagicSDK-Web3/Classes/ContractABI/ABI/ABI.swift:9:8: Could not find module ‘BigInt’ for target ‘x86_64-apple-ios-simulator’; found: arm64, arm64-apple-ios-simulator, at: /Build/Products/Debug-iphonesimulator/BigInt/BigInt.swiftmodule

Swift Compiler Warning Group /Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/MagicSDK-Web3.build/Objects-normal/x86_64/ABIConvertible.dia:1:1: Could not read serialized diagnostics file: error(“Invalid diagnostics signature”) Uncategorized Group

Command CompileSwift failed with a nonzero exit code

  1. Added pod ‘BigInt’

Screenshot 2022-01-08 at 3 48 47 PM

Even after adding Bigint pod, the error does not get resolved.

  1. Also try build active architectures only set as (true). And in Exclude architectures i have try to add ( ‘x86_64-apple-ios-simulator’, arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7)

Even after adding Bigint pod, the error does not get resolved.

image

0reactions
Ethellacommented, Jan 18, 2022

Closing this for now. Feel free to reopen this issue or start a new one when you encounter any issue during the development of our new SPM / Cocoapod / open-source package.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not find module for target 'x86_64-apple-ios-simulator'
Looks like your framework was built for arm64 and you want to use for X86. Try to check your project has x86 and...
Read more >
Could not find module for target 'x86_64-apple-ios-simulator'
To solve this issue I had to create a fat library of my custom framework again using xcode 11 tools. To do that...
Read more >
Could not find module 'Lottie' for target 'x86_64-apple-ios ...
It might be caused by other library something prebuilt. You probably need to investigate all of the dependencies that can be build as...
Read more >
iOS : could not find module 'Alamofire' for target 'arm64-apple ...
iOS : could not find module 'Alamofire' for target ' arm64-apple-ios-simulator '; found : x86_64-apple-ios-simulator, x86_64 [ Beautify Your ...
Read more >
iOS : Xcode 12 issue - Could not find module ... - YouTube
iOS : Xcode 12 issue - Could not find module 'FrameworkName' for target ' arm64-apple-ios-simulator '; found : x86_64-apple-ios-simulator, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found