Skip to content
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

Architecture x86_64-apple-ios-simulator #119

Open
acrabb opened this issue Dec 7, 2020 · 16 comments
Open

Architecture x86_64-apple-ios-simulator #119

acrabb opened this issue Dec 7, 2020 · 16 comments
Assignees

Comments

@acrabb
Copy link

acrabb commented Dec 7, 2020

Running our project that used to work in Xcode 11 gives the following error for Omise:

Could not find module 'OmiseSDK' for target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7

Does x86_64-apple-ios-simulator exist in any specific build version?
I've ran 3.8.0, 3.7.1, and 3.3.0

@truongvnse03130
Copy link

Any updates for it?

@dsasmita
Copy link

any update on this? having same issues

Swift Compiler Error (Xcode): Could not find module 'OmiseSDK' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator

@punyapat-s
Copy link

@vault087
Copy link

Hello @punyapat-s @dsasmita @acrabb, we were inspecting this issue but unfortunately couldn't reproduce it in various environments. Could you please provide us more information about which package manager do you use, Xcode and MacOS versions, is it Swift of Objective-C project, and any other related information that could help us to reproduce this issue.

@tpeodndyy
Copy link

@vault087
This issue is happening after installing Xcode 14.3. I was working fine on Xcode 14.2 and 14.1, believed to cause by the simulator Rosetta update.

my project is Swift project. I tried adding several workaround but it's not working. Just to point out, it's working fine with Real Device and for Appstore build since it's not for x86_64-apple-ios-simulator.

@ej-redplanet
Copy link

In my opinion, OmiseSDK must provide a file that will support x86_64 in OmiseSDK.swiftmodule folder since it only has arm64.

@vault087
Copy link

vault087 commented Dec 5, 2023

It seems to me you are using Carthage and we are no longer support it. Could you please switch to use Swift Package Manager for OmiseSDK and let me know if you still having any issues.

@tpeodndyy @ej-redplanet @punyapat-s

@aashishgurung
Copy link

We’re going to close this since there hasn’t been any activity for a while. If this issue is still relevant, please feel free to reopen it with more details and we’ll take another look.

@AgungLaksana
Copy link

It seems to me you are using Carthage and we are no longer support it. Could you please switch to use Swift Package Manager for OmiseSDK and let me know if you still having any issues.

@tpeodndyy @ej-redplanet @punyapat-s

I also have this error:
Swift Compiler Error (Xcode): Could not find module 'OmiseSDK' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator

I install the Omise ioS SDK using Swift Package Manager, not Carthage. could you please help?

I am using Macbook Pro 2021 (M1)

I install the SDK like this: https://i.stack.imgur.com/jecvW.jpg

@vault087
Copy link

vault087 commented Mar 6, 2024

@AgungLaksana please set Dependency Rule to be "Exact Version" or "Up to Next Major Version", the latest version at the moment is 4.27.1

image image

@AgungLaksana
Copy link

@vault087

Thanks for the response.

I have tried to use 4.27.1 like this https://i.stack.imgur.com/WrtOs.jpg
but I still have the same error message

Swift Compiler Error (Xcode): Could not find module 'OmiseSDK' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/xxx/Documents/mobile_app_project/build/ios/Debug-development-iphonesimulator/OmiseSDK.swiftmodule
/Users/xxxo/Documents/blueraycargo_mobile_app_project/ios/Runner/services/Omise.swift:8:7

@vault087
Copy link

vault087 commented Mar 6, 2024

@AgungLaksana based on this thread could you check that Embed settings for OmiseSDK is set to Embed & Sign:

image

@AgungLaksana
Copy link

@vault087

I think I have set the embed as well, but unfortunately I still get the same error

Screenshot 2024-03-06 at 16 09 06

@vault087
Copy link

vault087 commented Mar 7, 2024

@AgungLaksana It seems you're using Flutter, we will investigate this issue and get back to you!

@AgungLaksana
Copy link

@AgungLaksana It seems you're using Flutter, we will investigate this issue and get back to you!

yup thats right, I use Flutter, but I install Omise SDK natively using Swift and integrate it back to Flutter using Platform Channel

the SDK will have no issue if I run it on real device, the problem only occured on iOS simulator. I use

  • Xcode 15.0.1
  • MacBook Pro 13-inch, M1, 2020
  • Flutter 3.16.4

feel free to message me if you need more info :)

@Hiteshboricha-Pomelo
Copy link

Hiteshboricha-Pomelo commented May 8, 2024

@vault087
I removed Carthage and added OmiseSDK using Swift Package Manager but still I am getting the same issue.

This issue is happening after installing Xcode 15.3. I was working fine on Xcode 14.2 and 14.1, believed to cause by the simulator Rosetta update.

my project is Swift project. I tried adding several workaround but it's not working. Just to point out, it's working fine with Real Device and for Appstore build since it's not for x86_64-apple-ios-simulator.

Screenshot 2024-04-29 at 7 06 47 PM

Screenshot 2024-04-30 at 3 02 23 PM (1)

Screenshot 2024-04-30 at 3 01 15 PM

@aashishgurung aashishgurung reopened this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants