Error when building with objective-carm64 configuration changed.

Asked 2 years ago, Updated 2 years ago, 131 views

Currently, there is a program that reads barcodes and updates data in kinton.
Because the app is no longer running on iOS 11, Architectures was a 32-bit application of armv7, so when I changed Architectures to arm64 and built it, the following error occurred.Could you tell me the cause of this error?
I think the framework itself is configured correctly because it can be built successfully by returning Architectures to armv7.

ld:warning:ignoring file/(path omitted)/Framework/kintone.framework/kintone, missing required architecture arm 64 in file/(path omitted)/Framework/kintone.framework/kintone(3slices)
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_KintonSite", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_KintoneQuery", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_KintonField", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_KintonRecord", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_CBOperationQueue", referenced from:
      objc-class-ref in ViewController.o
  "_OBJC_CLASS_$_CBCredential", referenced from:
      objc-class-ref in ViewController.o
ld —symbol(s) not found for architecture arm 64
clang:error:linker command failed with exit code 1 (use-v to see invocation)
  • Target models
    • iPad mini4
    • on iOS 11
  • Development Language
    • Objective-C
  • Development Environment
    • MAC Xcode9
  • External Reference Program
  • iPad mini4
  • on iOS 11
  • Objective-C
  • MAC Xcode9

ios objective-c

2022-09-30 21:27

1 Answers

ld —symbol(s) not found for architecture arm64

As it says, the kintone.framework does not contain an arm64 object file.

Either wait for it to be updated or the source code seems to have been published, so you can rebuild the framework yourself.


2022-09-30 21:27

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.