-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could not find module for target 'arm64-apple-ios-simulator' #5702
Comments
@felixkrautschuk It builds and runs for me on M1 - I'm guessing they are missing some x86 slices as you mentioned you're on an Intel. When the sample app runs here (thank you for included the sample!), I do see this crash though which appears normal:
Just need proper configuration there. We can look on an Intel next to confirm anything else, but for sure on M1, all is operational here. |
@NathanWalker thanks for your feedback. The native sample app is getting built on Xcode and even the NativeScript app is also getting built from Xcode on Intel. The problem seems to be somewhere in the NS CLI. And yes, you can ignore the crash, because at this point the project is already built and the app is already installed. |
@felixkrautschuk 8.4 release on wednesday will include the cli fix for you (from that linked pr) 👍 |
@felixkrautschuk should also be able to test via the npm i -g nativescript@8.3.3-next-11-29-2022-3577806449 |
@NathanWalker @rigor789 thank you very much, now I am able to build the sample app correctly! |
Issue Description
When I try to add the PrebidMobileAdMobAdapters pod to our NativeScript project and run
tns run ios
from cli, the build fails with the following error:Podfile:
build.xcconfig:
When opening the project from platforms/ios in xcode after that unsuccessful cli build, I am able to build and run the app there, on a physical device and even in Simulator.
When building the app using
tns build ios --for-device
, the build works as expected.When creating a native iOS project directly and add the pods there, there are no build errors, so the issue seems to be caused by NativeScript at some point.
See discussion in Prebid Mobile iOS repo: prebid/prebid-mobile-ios#723
I am working on Macbook Pro 2019 (Intel).
Reproduction
Newly created NativeScript app with the Podfile from description:
ns-ios-prebid.zip
ns run ios
-> will failns build ios --for-device
-> will succeedNative iOS project:
PrebidTest.zip
Relevant log output (if applicable)
Environment
Dependencies
Please accept these terms
The text was updated successfully, but these errors were encountered: