Ticket Created
over 3 years ago

CIQQA-500

Connect IQ Mobile SDK build errors on M1 Mac

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!

Parents
  • +1 for this bug. Can't use the iOS simulator to test my iOS app if I want to integrate any Garmin Connect IQ functionality. arm64 Macs are only going to become more prevalent over time.

    Connect IQ Mobile SDK 1.4 on Xcode 13.0 on an M1 Mac (macOS 12.1)

Comment
  • +1 for this bug. Can't use the iOS simulator to test my iOS app if I want to integrate any Garmin Connect IQ functionality. arm64 Macs are only going to become more prevalent over time.

    Connect IQ Mobile SDK 1.4 on Xcode 13.0 on an M1 Mac (macOS 12.1)

Children
No Data