open-im-flutter-demo icon indicating copy to clipboard operation
open-im-flutter-demo copied to clipboard

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

Open 1300995226 opened this issue 6 months ago • 7 comments

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 avatar May 26 '25 08:05 1300995226

联系方式:[email protected]

1300995226 avatar May 26 '25 08:05 1300995226

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, 怎么解决

1300995226 avatar May 28 '25 01:05 1300995226

Check out the README and adjust your development environment.

std-s avatar May 28 '25 08:05 std-s

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真机运行还是报错,着急请您回复

1300995226 avatar May 28 '25 09:05 1300995226

Check out your development environment.

skiffer-git avatar May 29 '25 00:05 skiffer-git

按照README 配置后还是报错 Image Image Image

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

1300995226 avatar Jun 01 '25 05:06 1300995226

Check whether the problem is caused by other environment settings.

std-s avatar Jun 24 '25 04:06 std-s