You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected the command to create xcframework that can be used from iOS/macOS applications.
What did you see instead?
When trying to compile the iOS/macOS application that uses the resulting xcframework, following error occurs:
Undefined symbols for architecture arm64:
"_objc_msgSend$initWithObject:", referenced from:
-[RefTracker assignRefnumAndIncRefcount:] in Bindings(000007.o)
"_objc_msgSend$setObject:forKeyedSubscript:", referenced from:
-[RefTracker assignRefnumAndIncRefcount:] in Bindings(000007.o)
"_objc_msgSend$intValue", referenced from:
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I truncated the output because it just lists all functions and methods that gomobile exposes from go to Objective-C.
When creating the same xcframework with Xcode 13.4.1, everything works fine, without any issues.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
outputWhat did you do?
I tried to build xcframework for iOS/macOS using Xcode 14 (14A309) developer tools with the following command:
What did you expect to see?
I expected the command to create xcframework that can be used from iOS/macOS applications.
What did you see instead?
When trying to compile the iOS/macOS application that uses the resulting xcframework, following error occurs:
I truncated the output because it just lists all functions and methods that gomobile exposes from go to Objective-C.
When creating the same xcframework with Xcode 13.4.1, everything works fine, without any issues.
The text was updated successfully, but these errors were encountered: