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.

Failed to build with real iOS device

See original GitHub issue

I got following error while building iOS app for real device.

w: skipping /Users/user/.gradle/caches/modules-2/files-2.1/com.github.aakira/napier-ios/0.0.4/aa6805b163ff862b63e862f4e63fa7852ca4d751/napier-ios-0.0.4.klib. The target doesn't match. Expected 'ios_arm64', found [ios_x64]

It looks like napier-ios artifact is for iOS simulator.

Please consider either of these;

  • mention other iOS artifacts(napier-iosArm34 and napier-iosArm64) in README and add how we should use these three
  • make napier-ios ios common module, and let Gradle choose appropriate module depending on target iOS cpu architecture.

https://repo.maven.apache.org/maven2/com/squareup/sqldelight/ios-driver/1.1.3/ this link is the example of iOS common artifact. As you can see, common module should include *.module file to choose appropriate artifact for different variants.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
AAkiracommented, Sep 18, 2019

@yshrsmz @JanStoltman @wuseal

Hi guys! I have good news. I just published Napier 1.0.0. It has the napier-ios artifact which includes Arm64, Arm32, and X64. Please check it.

1reaction
horita-yuyacommented, Sep 18, 2019

Amazing, thanks!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode fails to build on device | Apple Developer Forums
I'm just deploying a blank app from the single view application template (works fine on a simulator). I've tried on 3 different iPhones...
Read more >
Build Fail for iOS Device - Stack Overflow
I have seen this error before when trying to code sign. If your build succeeds when you set the destination to a simulator, ......
Read more >
Dealing with “Failed to prepare device for development” Error ...
You are getting the Failed to prepare device for development message because the device is running a newer version of iOS than Xcode...
Read more >
Steps to resolve failed to build iOS app error - YouTube
Steps to resolve failed to build iOS app error :1. rm ios /Podfile2. flutter pub upgrade3. flutter pub run4. flutter clean && flutter ......
Read more >
Build failed on iOS device · Issue #9823 - GitHub
When I'm trying to build project for real device or open xcode project I get error. Reproduction. ns create app --react; cd app;...
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