Failed to build with real iOS device
See original GitHub issueIssue Description
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
andnapier-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:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.Amazing, thanks!!!