Skip to content

Error (Xcode): Illegal text-relocation to '_type:.eq.main._Ctype_struct_nstring' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) from '_type:*' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) for architecture x86_64 #160

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

Open
1300995226 opened this issue May 26, 2025 · 5 comments

Comments

@1300995226
Copy link

OpenIM Server Version

3.8.3+3

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

Error (Xcode): Illegal text-relocation to '_type:.eq.main._Ctype_struct_nstring' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) from '_type:*' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) for architecture x86_64

环境flutter:3.29.1,flutter_openim_sdk: 3.8.3+3
IOS 现在用真机运行报错arm64,用模拟器运行报错x86_64, 怎么解决。

Screenshots Link

No response

@1300995226 1300995226 changed the title [BUG] Error (Xcode): Illegal text-relocation to '_type:.eq.main._Ctype_struct_nstring' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) from '_type:*' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphonesimulator/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) for architecture x86_64 May 26, 2025
@1300995226
Copy link
Author

联系方式:[email protected]

@1300995226
Copy link
Author

IOS 环境及配置
模拟器和真机版本均是18.x,xcode版本16.2,mac版本Pro 芯片 Apple M1
我的环境flutter:3.29.1,flutter_openim_sdk: 3.8.3+3
IOS 现在用真机运行报错arm64,用模拟器运行报错x86_64, 怎么解决

@std-s
Copy link
Member

std-s commented May 28, 2025

Check out the README and adjust your development environment.

@1300995226
Copy link
Author

Image
Could not build the precompiled application for the device.
Error (Xcode): Illegal text-relocation to '_type:.eq.main._Ctype_struct_nstring' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphoneos/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) from '_type:*' in /Users/mixi/Documents/mixi/medishare_flutter_new_3/medishare_flutter/apps/doctor_affairs/build/ios/Debug-iphoneos/XCFrameworkIntermediates/OpenIMSDKCore/OpenIMCore.framework/OpenIMCore(go.o) for architecture arm64

Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
IOS真机运行还是报错,着急请您回复

@skiffer-git
Copy link
Member

Check out your development environment.

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

3 participants