Hello,
When building for iOS simulator using the Connect IQ Mobile SDK 1.4 on Xcode 12.5.1 on an M1 Mac running macOS 11.4, I am seeing build errors like this:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_IQApp", referenced from:
objc-class-ref in ClassA.o
"_OBJC_CLASS_$_ConnectIQ", referenced from:
objc-class-ref in ClassA.o
"_OBJC_CLASS_$_IQDevice", referenced from:
objc-class-ref in ClassB.o
objc-class-ref in ClassA.o
objc-class-ref in ClassC.o
objc-class-ref in ClassD.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am thinking it's because the SDK's XCFramework doesn't include the necessary files for the iOS simulators on M1 Macs. Has anyone else encountered this or have any workarounds? Thanks!
-
adoxner
-
Cancel
-
Vote Up
0
Vote Down
-
-
More
-
Cancel
Comment-
adoxner
-
Cancel
-
Vote Up
0
Vote Down
-
-
More
-
Cancel
Children