The error happens (and might be isolated) at a Mac with a Apple M1 Pro chip with XCode 15.x. When running ./bind_go.sh gomobile fails for the iOS build with the following error:
gomobile: xcodebuild -create-xcframework -framework /var/folders/wl/223633ds29gghp1zbmnp317m0000gp/T/gomobile-work-756136562/ios/iphoneos/Irmagobridge.framework -framework /var/folders/wl/223633ds29gghp1zbmnp317m0000gp/T/gomobile-work-756136562/iossimulator/iphonesimulator/Irmagobridge.framework -framework /var/folders/wl/223633ds29gghp1zbmnp317m0000gp/T/gomobile-work-756136562/iossimulator/iphonesimulator/Irmagobridge.framework -output ios/Runner/Irmagobridge.xcframework failed: exit status 70
error: cannot compute path of binary 'Path(str: "/private/var/folders/wl/223633ds29gghp1zbmnp317m0000gp/T/gomobile-work-756136562/ios/iphoneos/Irmagobridge.framework/Versions/A/Irmagobridge")' relative to that of '/var/folders/wl/223633ds29gghp1zbmnp317m0000gp/T/gomobile-work-756136562/ios/iphoneos/Irmagobridge.framework'
I suggest further testing/investigating to rule out a configuration issue on my local setup and to be sure this does not introduce issues with other, currently working, setups.
The error happens (and might be isolated) at a Mac with a Apple M1 Pro chip with XCode 15.x. When running
./bind_go.sh
gomobile fails for the iOS build with the following error:The error is fixed by transforming the symlink into it's real location before running xcodebuild. Source: https://developer.apple.com/forums/thread/738091
I suggest further testing/investigating to rule out a configuration issue on my local setup and to be sure this does not introduce issues with other, currently working, setups.