-
Notifications
You must be signed in to change notification settings - Fork 92
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
'Unsupported Swift architecture' error when compiling for simulator #978
Comments
@AlexIzh this seems to be a xCode related issue and not a Prebid one. |
I wouldn't close this issue. From time to time, we face requests that |
I'm not an expert with XCFrameworks, but I had the same issue and figured out how to build: At present, the script builds two directories within XCPrebidMobile.xcframework,
ios-arm64_x86_64-simulator , and the Info.plist lists both arm64 and x86_64 under SupportedArchitectures .
|
Describe the bug
I have build the framework by using
scripts/buildPrebidMobile.sh
script and now trying to integrate XCPrebidMobile.xcframework into current iOS application. When doing that I'm gettingUnsupported Swift architecture
for PrebidMobile-Swift.h file when trying to run an app in iOS simulator. It works fine for real device though.To Reproduce
Steps to reproduce the behavior:
scripts/buildPrebidMobile.sh
Expected behavior
The framework could be integrated and used as for real devices so and for simulators for testing purposes.
Desktop (please complete the following information):
Additional context
I'm running it on M1 laptop, if I change
scripts/buildPrebidMobile.sh
to-arch arm64
foriphonesimulator
then it works fine. But it's not going to work if a few developers work on the same project with different machines or if CI is running on Intel chipThe text was updated successfully, but these errors were encountered: