#Arvind-ios
1 messages · Page 1 of 1 (latest)
okay sure
Is that all of the output you get from the build failure? No other error messages?
yes this is the error output, that is showing up. I also created a test project which build fine until I added “arm64” to Excluded Architectures in Xcode.
Is there a reason you're excluding it in the first place?
yes, I have to include it to the project as we are using "react-native-maps" in our project. Which require a workaround as per the article below,
https://github.com/react-native-maps/react-native-maps/issues/3527#issuecomment-695074959.
I am using multiple library in my project and no other library other then Stripe is causing any conflict with this workaround.
What version of xcode are you using?
Version 13.3 (13E113)
Hello, looking in to this as well. Can you send us the errors you are getting for the (3 failures) that that build failure mentions?
This is it,
BUILD FAILED
The following build commands failed:
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'StripeCore' from project 'Pods')
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'StripeCore' from project 'Pods')
CompileC /Users/arvind/Library/Developer/Xcode/DerivedData/UsrAppMob-gezgvblxifsemoauwmnypepselgp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/i386/F14Table.o /Users/arvind/Projects/UsrAppMob/ios/Pods/RCT-Folly/folly/container/detail/F14Table.cpp normal i386 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
(3 failures)
Quick question: are you running this on an M1 Mac?
Thank you, making sure we have conditions right when trying to reproduce this.
Also, do you see this same error when trying to build for a real device or just on the simulator?
I am facing this when I am trying to run in simulator for now
give me few mins, I'll just try it for device
as well
No worries. Don't think it is entirely necessary to diagnose and it looks like my repro will take a bit to set up as well.
okay
Hey there 👋
I'm working on this issue with @rigid cloud
Can you verify a few things for me?
1/ Are you running Xcode with Rosetta when you add arm64 to exclude list?
2/ did you run pod install after adding following into your Podfile?
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end```
no I am not running my Xcode with rosetta, and yes I have done pod install as well
Can you try running Xcode with rosetta?
Also, it seems like a beta for react-native-maps was introduced for M1 support
https://github.com/react-native-maps/react-native-maps/issues/3527#issuecomment-1106599550
actually I have to do "arch -x86_64 pod install" as I am Excluded Architectures
right so the xcode would need to run with rosetta in that case
but that was not causing any issue before Stripe installation, and I am running my using terminal.
thanks, I'll try this as well
Right but on M1 macs, as far as I know the simulators don't run natively on arm64 architecture (as far as I can tell from the google maps issue linked above)
It isn't a Stripe library installation issue. It is related to how M1 macs handle binary translation when it comes to compiling apps for simulators vs real devices.
If you're able to, I'd recommend running the app on a real device to see if that works
okay got that, and actually I am setting up for running on device, I'll just need some time to complete set up
NP! 🙂
I am not even able to run in device as well, I also run my Xcode with rosetta, but it didn't run.
Gotcha. Since this will need a deeper investigation I'd recommend you write in to our support (support@stripe.com) about this with as much as details that you can provide (i.e. a sample test app that we can use to reproduce the issue). and make sure to mention that you spoke with Pompey and hanzo on discord. Our team will grab the ticket and start looking into why this is happening
okay sure I'll do that, thanks.
Let me know once you write in so I can make sure to pull it right away