SwiftyJSON / SwiftyJSON/SwiftyJSON

Apple Silicon M1 Could not find module 'SwiftyJSON' for target 'x86_64-apple-ios-simulator'

Open
#1,095 5 comments 17 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
22.9k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

What did you do?

Compile on m1

What did you expect to happen?

Compiled

What actually happened instead?

APIModels/RecipeCooking.swift:10:8: Could not find module 'SwiftyJSON' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator

Environment

List the software versions you're using:

  • SwiftyJSON: 5.0.0
  • Xcode Version: 12.4
  • Swift Version: Xcode default
  • Swift Package Manager 5.3.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the import in APIModels/RecipeCooking.swift and reproduce the M1 build using Swift Package Manager 5.3.0, Xcode 12.4, and SwiftyJSON 5.0.0. Investigate why the x86_64-apple-ios-simulator target cannot use the available arm64 modules. Done means the project compiles successfully for the reported simulator target.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.