-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Xcode 14 beta fails when build a Realm v10.28.1 watchOS Target #7848
Comments
Hi, I'm getting the same error on Xcode 14 beta 2. Regards Rubén Build environment |
More info: In addition to the problems described above, although it's possible to correctly build the watchOS target on Xcode 14, when validating a podspec of a project that has a dependency on RealmSwift, the following error is returned:
Similarly, you also get the same error when validating the RealmSwift.podspec, with the following command:
It seems the same error described on CocoaPods/CocoaPods#11402 Build environment |
realm/realm-core#5577 adds a arm64 slice for watchOS to the prebuilt library. The workaround for using the current release is to remove the arm64 architecture from the supported architectures for your app. |
After getting the same error mentioned above, with RealmSwift 10.28.1: Rubén Build environment |
Hello, I have a similar problem, because when updating an existing application, which uses a watchOS target, to Xcode14 beta2 with RealmSwift 10.28.2, I cannot compile the application. @tgoyne Is it possible that version RealmSwift 10.28.2 does not have support for watchOS or tvOS? Are you working on solving the problem? Is there any workaround? Thanks. Build environment |
Hi @jordimele as mentioned on Xcode 14 Beta 2 release notes this is no longer supported. |
Closing this, as this is working in our latest RealmSwift release v10.28.2, which updates core to v12.3.0 which fix this issue. |
@dianaafanador3 I'm still seeing the "ld: symbol(s) not found for architecture arm64" error both with v10.28.2 and latest To reproduce: A) B)
|
This is fixed in core master, which has not made it into a release yet. |
@mr-v fix Closing this as the fix was released in |
How frequently does the bug occur?
All the time
Description
Hello,
When trying to build the Realm binary of a watchOS target, the build.sh script of the 10.28.1 version, returns the error described below:
ld: symbol(s) not found for architecture arm64
Is this error related to the Issue:
which is one of the Known Issues on Xcode 14 beta Release Notes?
This behaviour it seems related by gongzhang post too, on #7829 (comment)
Is this commit, #7829, confirming that?:
Has anyone successfully built the Realm watchOS target with Xcode 14 beta?
Please, we need this problem to be solved as soon as possible. Not being able to compile the watchOS target with Xcode 14 is being very blocking for our work team. Thanks in advance.
Regards
Stacktrace & log output
Can you reproduce the bug?
Yes, always
Reproduction Steps
Execute the script
build.sh xcframework watchos
on a Realm 10.28.1 version project
Version
10.28.1
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
watchOS 9
Build environment
Xcode version: 14 beta
Dependency manager and version: Cocoapods 1.10.2
macOS version: Monterey - 12.4
The text was updated successfully, but these errors were encountered: