#Arvind-ios

1 messages · Page 1 of 1 (latest)

lost galleon
#

Hello! Give ma moment and I can help

arctic burrow
#

okay sure

lost galleon
#

Is that all of the output you get from the build failure? No other error messages?

arctic burrow
#

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.

lost galleon
#

Is there a reason you're excluding it in the first place?

arctic burrow
#

I am using multiple library in my project and no other library other then Stripe is causing any conflict with this workaround.

lost galleon
#

What version of xcode are you using?

arctic burrow
#

Version 13.3 (13E113)

rigid cloud
#

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?

barren gyro
arctic burrow
#

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)

rigid cloud
#

Quick question: are you running this on an M1 Mac?

arctic burrow
#

yes

#

it's Apple M1 Pro

rigid cloud
#

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?

arctic burrow
#

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

rigid cloud
#

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.

arctic burrow
#

okay

stark bone
#

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```
arctic burrow
#

no I am not running my Xcode with rosetta, and yes I have done pod install as well

stark bone
#

Can you try running Xcode with rosetta?

arctic burrow
#

actually I have to do "arch -x86_64 pod install" as I am Excluded Architectures

stark bone
#

right so the xcode would need to run with rosetta in that case

arctic burrow
#

but that was not causing any issue before Stripe installation, and I am running my using terminal.

arctic burrow
stark bone
#

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

arctic burrow
#

okay got that, and actually I am setting up for running on device, I'll just need some time to complete set up

stark bone
#

NP! 🙂

arctic burrow
#

I am not even able to run in device as well, I also run my Xcode with rosetta, but it didn't run.

stark bone
#

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

arctic burrow
#

okay sure I'll do that, thanks.

stark bone
#

Let me know once you write in so I can make sure to pull it right away