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.

Create XCFramework for arm simulator

See original GitHub issue

Hi guys, your plugin is awesome! But I stuck with one problem. Here is my configuration :

multiplatformSwiftPackage {
    packageName("XXX")
    swiftToolsVersion("5.3")
    targetPlatforms {
        iOS { v("13") }
    }
}

createSwiftPackage task generates Swift package with two targets ios-arm64 and ios-x86_64-simulator, this works great on Intel Mac simulators and iPhones, but this not works on Apple silicone arm simulator.

So is it possible to generate target for Arm simulator ?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:23
  • Comments:9

github_iconTop GitHub Comments

10reactions
jizoquvalcommented, Sep 2, 2021

Anyway I submitted new pull request with new targets support.

3reactions
tibo9commented, Sep 22, 2021

Is this planned to be merged ? I need to run on arm simulator.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Both ios-arm64-simulator and ios-x… | Apple Developer Forums
An xcframework is for bundling multiple platforms together into a distributable binary package. You can put ios , ios-simulator , ios-macabi , darwin...
Read more >
How to build an XCFramework for Apple Silicon M1 and Intel ...
sim -x86_64/ABCFramework.framework/ABCFramework Building an XCFramework (Pass the path of the frameworks and output) xcodebuild ...
Read more >
Distributing Multi-arch SDKs for Apple silicon (M1) and Intel ...
Once the archives are created, use the xcodebuild command -create-xcframework followed by the frameworks you wish to be included in the binary.
Read more >
Hacking native ARM64 binaries to run on the iOS Simulator
Historically, the ARM/x86 bifurcation in the Apple product line meant ... We can make an educated guess that the Simulator information is ...
Read more >
How to build an xcframework for Apple Silicon arm64 simulator?
Try to separate your parameter to this: -arch arm64 -sdk iphonesimulator.
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