open-im-flutter-demo
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
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
联系方式:[email protected]
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, 怎么解决
Check out the README and adjust your development environment.
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真机运行还是报错,着急请您回复
Check out your development environment.
按照README 配置后还是报错
IOS 环境及配置 模拟器和真机版本均是18.x,xcode版本16.2,mac版本Pro 芯片 Apple M1 flutter:3.27.4,flutter_openim_sdk: 3.8.3+3 IOS 现在用真机运行报错arm64
Check whether the problem is caused by other environment settings.